October 15th, 2011 |
Facebook
| 3 Comments »
Overview of the Like button Plugin
Like button is everywhere. From small to large web sites, it gives the Facebook user the ability to publish a content from a web site to a user’s wall as well as in a user’s friends’ newsfeed by just clicking a button. The content that was published has a link back to theĀ web site.
According to Facebook, the reason why they deprecated the old share button is that…
“The Like button improves clickthrough rates by allowing users to connect with one click, and by allowing them to see which of their friends have already connected”
Implementation of Like Button is available in HTML5, XFBML and Iframe. HTML5 and XFBML requires the Javascript SDK.
An example of Facebook Like button
Read more…
July 4th, 2011 |
Css
Spambots, spambots, spambots! Hope I can fry them ha! How to avoid them? use UNICODE-BIDI. But this is one of the many other methods around but I wanna talk about it in this post.
Lets use janedoe@example.com as the example. In order for an e-mail to avoid being harvested, dissect it by getting the first part which is the username, the @ symbol and transform it to [at], and lastly the domain and transform the dot/s to [dot]. As for Jane Doe’s email, it will be formatted as janedoe [at] example [dot] com. Not pretty at all.
In UNICODE-BIDI, text flow changes depending on how it will be used.
The Syntax
unicode-bidi: normal | embed | bid-override
Read more…
June 25th, 2011 |
Kohana
| 4 Comments »
ORM allows pushing and pulling of data from the database without the need of typing long sql statements. It turns database queries into objects.
How do you implement it in Kohana?
To get started, enable the module in bootstrap. Open bootstap.php and uncomment database and orm.
Kohana::modules(array(
'database' => MODPATH.'database',
'orm' => MODPATH.'orm',
));
Read more…
March 26th, 2011 |
Html5

Above is the logo of HTML5. It is available under Creative Commons 3.0 and was developed by Ocupop.
Read more…
March 26th, 2011 |
Html5
As a web developer, I dealt with web forms in HTML 4 most of the time. These are the plain text fields that you fill up whenever a site requires for your information. Examples are sign up and login forms. In order to give users the smooth experience as possible, like form validation, you will end up having to use Javascript. But that was in HTML 4. In HTML5, this was changed.
Read more…