NETTUTS.com: A Beginner's Guide to Design Patterns
On NETTUTS.com today there's a new tutorial that introduces a bit more advanced concept in the development process - design patterns. Design patterns are optimized, reusable solutions to the...
View ArticleLabel Media Blog: Design Patterns in PHP - Factory method
On the Label Media blog today there's a new post from Tom Rawcliffe (the first part of a series) about a common design pattern you can use in your applications - the factory pattern. A design pattern...
View ArticlePHPBuilder.com: Using the Factory Pattern in PHP Applications
On PHPBuilder.com today, there's a new tutorial posted about using one of the more well-known design patterns in your PHP applications - the Factory Pattern. Design patterns are repeatable methods for...
View ArticleZend Developer Zone: Design Patterns I Hate
On the Zend Developer Zone today there's a new post from Keith Casey about some of the design patterns he hates - ones that are misused too often and have become more of a "worst practice" at times...
View ArticlePlay nice when extending Exception
Lukas Smith has a suggestion for developers out there who get the idea to start messing with the order of the parameters of PHP objects/methods - play nice. His example is specifically with...
View ArticlePHPMaster.com: Understanding the Factory Method Design Pattern
On PHPMaster.com today there's a new design pattern-focused that introduces you to using the Factory method to create new objects on the fly. The Factory Method pattern is a design pattern used to...
View ArticleCharles Sprayberry's Blog: DI and global state
In response to some of the comments made on his previous post about why you should use dependency injection in your applications, Charles Sprayberry is back with some more concrete examples showing...
View ArticlePHP-Tip-a-Day: PHP Tutorial: The Allegory of The Factory Pattern
On the PHP-Tip-a-Day site there's a new post from Greg Bulmash with an allegory about the Factory pattern (design pattern) to relate it to something a bit more practical and introduce some of its core...
View ArticlePHPMaster.com: An Introduction to Dependency Injection, Service Locators &...
On PHPMaster.com they've posted the first part of a series looking at something that's become a hot topic in the PHP community over the last months - dependency management and service locators. From a...
View ArticleDZone.com: Factory patterns: Collaborators Map
On DZone.com Giorgio Sironi has a new tutorial looking at the Factory design pattern, specifically the use of a "collaborators map" to create them inside of a dependency injection container. Like for...
View ArticleNetTuts.com: The Repository Design Pattern
While design patterns are a wider topic than just PHP, the NetTuts.com site has posted a new tutorial looking at the Repository Pattern and uses PHP and PHPUnit to illustrate how the pattern works....
View ArticlePaul Jones: The Difference Between Factories, Registries, and Service Locators
In his past few posts Paul Jones has been looking at dependency injection versus service locators. In this new post he continues on the topic comparing three methods for working with objects -...
View ArticleAllan MacGregor: Design Patterns in PHP: Using Factories
Allan MacGregor has a recent post to his site looking at another design pattern (previously he discussed dependency injection), this time it's the use of factories. The factory pattern is one of the...
View ArticleRob Allen: Injecting dependencies into your ZF2 controllers
Rob Allen has a quick new post to his site showing you how to inject dependencies into controllers in a Zend Framework v2 based application. When starting working with Zend Framework 2, it's common to...
View ArticleMathias Verraes: Named Constructors in PHP
Mathias Verras has a new post to his site about an idea he calls "named constructors". This method uses static factory methods to simulate the idea of a constructor and initialize the object. PHP...
View ArticlePHPBuilder.com: Exploring PHP Design Patterns
For those that might be new to development, the concept of "design patterns" could be one you're just approaching. These common practices define some "patterns" of development that have been proven to...
View ArticleMaster Zend Framework: Configuring the ServiceManager with Abstract Factories
On the Master Zend Framework site today Matthew Setter has a new post covering the configuring of the service manager using abstract factories. One of the best features about Zend Framework 2 is...
View ArticleNetTuts.com: Design Patterns: The Simple Factory Pattern
NetTuts.com has posted the next part of their series focusing on design patterns (and more specifically implementing them in PHP). In this latest post they look at a simple version of the Factory...
View ArticleMarc Morera: Defeating Expression Language
Marc Morera has a new post to his site wanting to help you defeat Symfony's expression language and perform the same functionality, just more on the code side (another option). How beautiful...
View ArticleStephan Hochdörfer: Simple Logging Facade for PSR-3 loggers
In his latest post Stephan Hochdörfer shares a library he's created to hopefully make it easier for developers to integrate PSR-3 compatible logging libraries into their code, a "logging facade" based...
View Article