Wednesday, December 17th, 2008
You sometimes see people asking why the Zend Framework (or some others) don't provide a library for the Model part in MVC.
While ZF provides data access classes in the form of Zend_Db and related components, it doesn't provide any concrete examples of how you would implement a model class. ...
Posted in Programming | 11 Comments »
Saturday, December 6th, 2008
"What is a model" and "Is Zend_Db_Table a model" seem to be asked once in a while on #zftalk. Frameworks say they have a full model available, thus they are MVC frameworks
ORM libraries say they generate models. It seems the ActiveRecord pattern has become somewhat synonymous with model.
Pádraic Brady ...
Posted in Programming | 5 Comments »
Wednesday, December 3rd, 2008
I've worked on quite many widget projects, and very often they have certain patterns that keep appearing.
I'm calling these "widget design patterns" - let's take a look at a few.
Posted in Programming | 6 Comments »
Thursday, August 21st, 2008
I've mentioned a CMS I'm working on in a couple of occaions. Lately, I've been tinkering with the user authentication part of it, and stumbled upon a small obstacle: How to make it easy to change authentication methods?
Most of the time you probably would like to use a database to ...
Posted in Programming | 1 Comment »
Monday, November 26th, 2007
A lot of people seem to be slightly confused about what the M and C, Model and Controller, of MVC are, in regards to web applications.
What does the Model do?
What does the Controller do?
View is what everyone seems to know, though... I wonder why is that so? What is so ...
Posted in Programming | No Comments »