Registry Pattern in Zend Framework
The registry has provided a mechanism which help you to store and maintain your objects within the application. It's aim at preventing improperly using the global objects by users. The registry usuall… Continue reading
Singleton Pattern in Zend Framework
The singleton provides a very good solution to the problem when you need an object to be handled as always single and global. Singleton, which may usually merge up with other patterns (e.g. registry, … Continue reading
Factory Pattern in Zend Framework
The factory pattern is a simple but powerful design pattern which makes it very easy to manage and maintain plenty of classes. The factory pattern, as it means, is using some material to provide produ… Continue reading
Builder Pattern in Zend Framework
When we want to implement one thing in different ways, we think of builder design pattern. It's like a building, when, design has been done, though handled by different engineers directing different c… Continue reading
Iterator Pattern in Zend Framework
The Iterator design pattern has provided a common mechanism for accessing collections. It allow user to traversal, access, and manipulate data sets, such as array, files, RSS feeds and database result… Continue reading
Strategy Pattern in Zend Framework
In the traditional process-oriented languages are often filled with a lot of if/else statements. This situation has easily made the logic of chaos and trouble to amend. The strategy design pattern was… Continue reading