A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Monthly Archives: March 2010

Beginner’s Guide to OpenX Ad Server

I got an email from Packt Publishing to review a book that they will be releasing very soon (March 2010?). The book is about OpenX. In all honesty, I have not even tried to use OpenX Ad Server yet. Still, … Continue reading

Posted in General | Tagged , , , | Leave a comment

WordPress: How to create a breadcrumb without using any plugins

A quick post for WordPress users. Go to your functions.php file. If it doesn’t exist, then create it. wp-content/themes/theme_name/functions.php Then add this inside the functions.php file. function the_breadcrumb($post_ancestors) { if (!is_home()) { echo ‘<a href="’; echo get_option(’home’); echo ‘">’; echo … Continue reading

Posted in General | Tagged , | Leave a comment

A CSV File and SQL Dump for all the zip codes in Philippines

I spent a few hours yesterday gathering all the zip codes for the Philippines. This is public data, so I am sharing it with everyone. If you use it, I’d appreciate it if you credit me (It is not required … Continue reading

Posted in General | Tagged , , | 4 Comments

CSS: Creating a horizontal menu/navigation bar

I always forget how to do this. Every time I forget, it takes me about 10minutes searching for the right one. So I am posting it here for my reference. My HTML would look something like this: <div id="navbar"> <ul> … Continue reading

Posted in General | Tagged , , | 3 Comments

Zend Framework: How to use nested transactions with Zend_Db and MySQL

Steve Hollis first blog post about practical nested database transactions using Zend_Db. He writes really well and his blog is very readable. I love reading long text in Serif Thanks Steve! His solution: The Solution Disclaimer: This solution is adapted … Continue reading

Posted in General | Tagged , , , , | 4 Comments