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.

Category Archives: Uncategorized

WordPress: Get post thumbnail of Featured Image

Note: I’m posting this for myself so that I can refer to it in the future. $cat_id =get_cat_id(’Uncategorized’); $query = new WP_Query(’cat=’.$cat_id.’&year=’.$year.’&monthnum=’.$month.’&day=’.$day); $image = false; while ( $query->have_posts() ) { $query->the_post(); the_title(); $image = wp_get_attachment_image_src(get_post_thumbnail_id($query->ID)); echo ‘<a href="’.$image[0].’">’; } More … Continue reading

Posted in Uncategorized | Leave a comment

Responsive Barebones (Skeletal) WordPress Theme

Using Skeleton (http://www.getskeleton.com), I managed to come up with a “minimized” WordPress theme. What is Skeleton? Skeleton is a small collection of CSS & JS files that can help you rapidly develop sites that look beautiful at any size, be … Continue reading

Posted in Uncategorized | Leave a comment

PHP Statistics for September 2007

I don’t usually post news that are already posted from other sites unless the news is useful to me (I post it here so that I can search for later on – sort of like a bookmark) or it interests … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Using E_ALL|E_STRICT a good practice?

I have been using Zend Framework for a few months now, and I really find the E_ALL|E_STRICT set in the bootstrap file really neat. See sample code below: error_reporting(E_ALL|E_STRICT);echo $var; //display an unset variable. A notice will appear.   //using … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Wasa! New Version of Zend Framework Released!

Lately, I have not been keeping track of Zend Framework due to my busy schedule. But today, I was surfing their site and found out that the guys from Zend has released a new version of the Zend Framework. The … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Die iTunes! Die!

Haha! Steve Jobs, in your face! Finally, DRM-free legal music downloads – by Amazon. This is certainly better than waiting for someone to seed in Bittorrent downloads *cough* (fucking leechers!)… Can’t wait to buy old tracks – these things are … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Free Icons for Web Developers

A nice set of free (as in free beer) icons. Click here.

Posted in Uncategorized | Tagged , | Leave a comment

Sending POST with Streams – PHP

A very interesting blog post from khankennels.com … sending a POST message and getting its results. We could do it using cURL or sockets – but why work that hard. Being lazy does have its advantages after all. I found … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Zend Framework Tutorial and Notes: Zend_view

The page deals with the following: How to suppress auto-rendering: This is useful when you have an action that handles AJAX Requests. Helper Paths: When you want to specify different helper found in different modules/controllers. Sample Custom View Helper: Where … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Zend Framework Book

I have been waiting for this. I’m sure that I will be buying a copy as soon as it is released. Written by Rob Allen and Nick Lo, the book will deal more on “real-world” applications. Manning – the publisher … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment