Archive for the 'Zend Framework' Category

Gravatar Zend Framework View Helper

December 18th, 2009

I have worked on a Zend Framework these past couple of days and needed the ability to display a users avatar. This is easy by using Automattic’s gravatar project. The easiest way to add a users avatar is to use a (this) view helper. Basically in your view you just pass the [...]


Zend_Db Firebug Profiler via .ini File

August 3rd, 2009

So a couple of days ago I posted a way to get the DB profiler working via your bootstrap but an easier way to get things working is via your configuration .ini file.
Once again you need Firefox, FireBug, and FirePHP. Then in your .ini file add the following lines;

resources.db.isdefaulttableadapter = true
resources.db.params.profiler.enabled = true
resources.db.params.profiler.class = [...]


Getting Zend_Db Firebug Profiler Working with Zend_Application

July 31st, 2009

When developing web applications I normally run into some SQL problems and want to see what the SQL code is doing on the backend. To do this one would normally just print the SQL statement to the screen during execution. However, if you use Zend Framework you are in luck. You can [...]


Surviving The Deep End: Chapter 3 Models

January 25th, 2009

Just got down reading chapter 3 of the free Zend Framework book called “Surviving The Deep End.“  Chapter 3 was about models and was very informative.  Many developers have different views on what the model should do. I am in total agreement with this description of a model in the book.  I love the [...]