Quantcast
Channel: PHPDeveloper.org
Browsing index pages (22 articles)
↧

Rob Allen: Custom OAuth2 authentication in Apiiglity

In an article posted to his site Rob Allen shows you how to hook in the OAuth2 authentication for an Apigility-based application with a pre-existing database table structure that may not match the...

View Article


Paul Jones: A Factory Should Create, Not Retain

Paul Jones has posted his thoughts about factory behavior in PHP applications (well, really any kind of application as it's a pan-language concept). He suggests that factories should only create the...

View Article


Stephan 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

Marc 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 Article

NetTuts.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 Article


Master 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 Article

PHPBuilder.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 Article

Mathias 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 Article


Rob 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 Article


Allan 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 Article

Paul 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 Article

NetTuts.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 Article

DZone.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 Article


PHPMaster.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 Article

PHP-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 Article


Charles 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 Article

PHPMaster.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 Article


Play 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 Article

Zend 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 Article

PHPBuilder.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 Article
Browsing index pages (22 articles)


Latest Images