4 ms·
It is interesting that there are no models. This seems to be a glorified front controller integrated with a templating engine. It is really cool that they did
by jaxn 15y ago
It is interesting that there are no models.
This seems to be a glorified front controller integrated with a templating engine.
It is really cool that they did this as a PECL extension. I had a PHP framework many years ago that we considered converting to a PECL extension (http://sourceforge.net/projects/cep/ http://sourceforge.net/projects/cep/).
- jonstjohn 15y agoGenerally, models can be left up to the developer to create based on business logic. Take for example, Zend Framework. It provides an active record like pattern in its Zend_Db_Table but expects the individual application to create the models that use (not inherit) Zend_Db_Table.
- jaxn 15y agoSeems like a missed opportunity to me. Lots can be done with "magic methods" for models. Not sure how hard that is in a PECL extension.