Posts Tagged Zend Framework

Why the Zend Framework Actionstack is Evil

The action stack seems to be a useful component to some people when starting out with the Zend Framework. This component is a seemingly un-needed part of the framework, as there really is no use-case for it which cannot be simplified with the use of a partial view, which reads data directly from the model, possibly with a view helper alongside to provide some additional logic function, such as deciding on which view partial to use.

This part of the Framework causes the dispatch to loop. This is a costly process, as it involves quite alot. It also adds some further issues to your application design, such as where you should put code. for example if you have some code in your predispatch, and your looping through two actions in that controller, that code will be run twice. This is obviously, not good, and quite un-needed. Further complications can be added when it comes time to add ACL or authentication.

Read the rest of this entry »

, , , , ,

28 Comments

My first Zend Framework proposal is now in incubator!

My previous post was all about my proposal for a database lookup validator for Zend Framework.

Read the rest of this entry »

, , , , ,

4 Comments

Zend Framework component proposal – Zend_Validate_DbMatch

After seeing validators for checking if a value exists in a database table for about the tenth time on IRC, i have decided to put up a proposal for Zend_Validate_DbMatch.

Read the rest of this entry »

, ,

No Comments