You proud stray dog, do you still remember? That summer of love in which you ran and danced and fought in the purple smoke. ...Just kidding. (ROFL Samurai Champloo Ep. 9)

Forms in CodeIgniter Views

Friday, November 23rd, 2007

When you hand code your (x)HTML and, in addition, your CSS, Javascript, and PHP code; things start to look boring. Very Boring! Repetition is FTL. So we, coders, are always on the look for items, techniques, paradigms, frameworks, etc. that reduce the water in our systems. In other words, make us DRY.

From the perspective of an XHTML hand-coder and CodeIgniter user, a form generator *could* be useful in the sense of doing more in less time. This is a simple passive code generator. It takes into account what you would usually put in an “Add”, or “Edit” form. The point here is to write a bit of information, and then, modify the result.

Continue reading »

WordPress Plugin: Recent Posts grouped by year, month, and day

Friday, October 26th, 2007

Since a simple list of the recent blog posts looks really boring (ok, maybe the content is the origin of boredom), I wanted to group those posts by year, month and day.

The nearest match to what I wanted was A plugin for adding the post date to wp_get_archives. I based my plugin on Oliver Baty’s plugin. Thanks for putting up the code to download, it was really helpful. (^_^)

However, before the coding started, there was a need to conduct a more aggressive search; just in case there was already a Plugin that did the same thing I wished.

Continue reading »

NetpbmResize yet another Image manipulation class for PHP

Monday, August 13th, 2007

This is a shameless plug, if you are in need of an image resizing solution in PHP, you could try NetpbmResize. It uses NetPBM for resizing images. And since binaries for windows and linux are available it’s just a matter of uploading them and start resizing. (^-^)y

Continue reading »