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: February 2010

Zend Framework: Using Command Line Scripts

Thanks to David Caunt for this very useful article. The article shows us how to create command line scripts using Zend Framework components. This is very useful especially with the database stuff. <?php   // Define path to application directory … Continue reading

Posted in General | Tagged , , , | 1 Comment

How to Unit Test your Zend Framework Application

I am trying to learn Unit Testing using Zend Framework. I have set up a test application called LyZend in Github. Supposedly, the application should be able to display artists, albums, and tracks. The tests are found in: http://github.com/wenbert/lyzend/tree/master/tests/ I … Continue reading

Posted in General | Tagged , , | 5 Comments

Akra’s Zend Framework 1.10 Tutorial

From Akrabat’s blog: As a result, I have updated my Zend Framework tutorial so that it is completely current. The main change I made was to remove the _init methods in the Bootstrap as they are no longer needed. I … Continue reading

Posted in General | Tagged , , | Leave a comment

HTML5 Canvas Tutorial

The Paint Application from Mugtug.com is very impressive. It uses HTML5. Very responsive. I found it in HN and the hackers seemed to be impressed as well. Around the web, people are already talking about HTML5 and Canvas as a … Continue reading

Posted in General | Tagged , , | Leave a comment

An example of an Object-relational Mapper in PHP

Dennis Hotson posted in his blog a brief and good example of an ORM for PHP. What is an Object-relational Mapper? Data management tasks in object-oriented (OO) programming are typically implemented by manipulating objects that are almost always non-scalar values. … Continue reading

Posted in General | 3 Comments