Quantcast
Channel: PHPDeveloper.org
Browsing all 36 articles
Browse latest View live
↧

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


MaltBlue.com: Are TableGateways Worth it in Zend Framework 2?

On his MaltBlue.com blog Matthew Setter shares his opinion on TableGateways in Zend Framework v2 and wonders if they're "worth it" (as they're not the easiest thing to implement). Are TableGateways...

View Article


NetTuts.com: Design Patterns: The Adapter Pattern

In the latest post in their series looking at common programming design patterns, NetTuts.com talks about the Adapter pattern. This pattern makes it easier to swap out different connection types via...

View Article

Anthony Ferrara: A Beginner's Guide To MVC For The Web

Anthony Ferrara has posted what he calls a beginners guide to MVC for the web, a tutorial that introduces to you the basic concepts behind the Model-View-Controller design pattern and how it should...

View Article

Anthony Ferrara: Alternatives To MVC

Following up on his previous article talking about the MVC design pattern (and the idea of "MVC"), Anthony Ferrara has posted some alternatives to MVC for your consideration. These other options are...

View Article


NetTuts.com: Design Patterns: The Decorator Pattern

The NetTuts.com site has continued their series looking at design patterns and how they can be used in PHP. In this new post they focus in on the Decorator pattern, most commonly used to add...

View Article

Coder on Code: Design Patterns in PHP: Adapters

The Coder on Code site has posted a new tutorial covering the Adapter design pattern in detail. They talk about what the pattern is, what it can be useful for and include some code to illustrate. The...

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


Bosnadev.com: Using Repository Pattern in Laravel 5

Mirza Pasic has posted a tutorial to the Bosnadev.com site introducing you to the repository design pattern and how to use it in a Laravel 5-based application. These days there is a lot of buzz about...

View Article


NetTuts.com: Design Patterns: The Command Pattern

NetTuts.com continues their series covering the basics of design patterns (in PHP) with a new article about the Command design pattern. This pattern is particularly useful for executing self-contained...

View Article

NetTuts.com: Design Patterns: The Singleton Pattern

On the NetTuts.com site today they've posted another in their series introducing the various design patterns that have been established in software development. In this new post they talk about the...

View Article

David Lundgren: When does Dependency Injection become an anti-pattern?

In a new post to his site David Lundgren wonders when dependency injection becomes an anti-pattern when used in PHP applications. The idea of dependency injection is to provide objects with instances...

View Article

Reddit.com: I feel like events are an anti-pattern

On the /r/php subreddit frm Reddit.com, phpdevster proposes an interesting opinion - that an event system, set up with a listener and defined events, has become more of an anti-pattern in its most...

View Article


Marc Aube: Design Pattern: Specification

Marc Aube has a new post to his site that introduces you to the specification design pattern, a technique that's useful for ensuing the current state of an object is valid. The specification pattern...

View Article

Ed Zynda: Aspect Oriented PHP And The Interceptor Pattern

Ed Zynda has a recent post to his site looking at the use of the Interceptor design pattern with the aspect oriented methodology in PHP. He doesn't get into the basic concepts of AOP, so you might...

View Article


SitePoint PHP Blog: Introduction to Chain of Responsibility

The SitePoint PHP blog has a recent post where they dig into the details of the Chain of Responsibility design pattern, a commonly used structure that makes for easier workflow handling and...

View Article
Browsing all 36 articles
Browse latest View live