Quantcast
Browsing all 36 articles
Browse latest View live

PHPMaster.com: Patterns for Flexible View Handling, Part 1 - Working with...

PHPMaster.com has started up a new series today with the first part of a set of tutorials looking at design patterns that can be used in the handling of your views to make them more effective and...

View Article


PHPMaster.com: Patterns for Flexible View Handling, Part 2 - Using Decorators

PHPMaster.com has posted the second part in their series looking at design patterns in handling views in your framework of choice. In this new article they focus on the decorator pattern, using...

View Article


Gonzalo Ayuso: The reason why singleton is a "problem" with PHPUnit

Gonzalo Ayuso has a new post that responds to the idea that "singletons are a problem when testing" your applications with something like PHPUnit. Maybe this pattern is not as useful as it is in J2EE...

View Article

PHPMaster.com: Overriding Strategy Logic - The Template Method Pattern

On PHPMaster.com there's a new tutorial posted talking about the Template Method Pattern to help make some sense (and make easier to use) your implementation of the Strategy pattern. This bring us...

View Article

Reese Wilson: Using the ServiceManager as an Inversion of Control Container...

The this recent post to his blog Reese Wilson looks at using one of the modules of the Zend Framework v2, the ServiceManager, as an inversion of control container in your app. In Zend Framework 1, it...

View Article


Constantin Bosneaga: Using layout pattern with CodeIgniter

Constantin Bosneaga has a recent post to his site that the CodeIgniter users out there could find helpful. It's an example of using the Layout pattern in a CI app to make a more flexible layout thanks...

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

Anthony Ferrara: Mediators - Programming With Anthony

Anthony Ferrara has posted his latest "Programming with Anthony" video episode today pattern is more of a behavioral structure, defining how objects interact with each other. The Mediator Pattern is...

View Article


PHPMaster.com: Logging with PSR-3 to Improve Reusability

On PHPMaster.com Patrick Mulvey has written up a new tutorial looking at using the PSR-3 logging structure to make a basic logger for your application. Logging is one of the most ubiquitous tasks...

View Article


Anthony Ferrara: Design Patterns - Programming With Anthony

On his site today Anthony Ferrara has posted the latest video in his "Programming with Anthony" series. This time, it covers the basics of design patterns with guest host Larry Garfield. Today we are...

View Article

PHPMaster.com: The MVC Pattern and PHP, Part 1

If you're new to the world of PHP frameworks, there's one acronym that might confuse you if you don't understand the structure - MVC. In this new tutorial on PHPMaster.com today introduces you to the...

View Article

PHPMaster.com: The MVC Pattern and PHP, Part 2

PHPMaster.com has posted the second part of their MVC series, introducing you to the Model/View/Controller design pattern. If you want to catch up, part one is here. Welcome to part 2 of this two-part...

View Article

PHPMaster.com: Practical Aspects of the Adapter Pattern

On PHPMaster.com today there's a new post about using a design pattern in your application, specifically the usefulness of the Adapter pattern. This pattern makes it simpler to work with existing...

View Article


PHPMaster.com: Manage Complexity with the Facade Pattern

On PHPMaster.com today a new tutorial has been posted about using the Facade design pattern to help reduce the complexity of your application. It can help interface between other pieces of code an...

View Article

Inviqa techPortal: PHP Test Doubles Patterns with Prophecy

The Inviqa techPortal has a new post today from Marcello Duarte about using Prophecy in unit testing to work with mocks and doubles. Test doubles are a way of replacing all classes in our tests other...

View Article


Anthony Ferrara: Beyond Design Patterns

Anthony Ferrara has written up a new post that looks beyond design patterns. He suggests that more emphasis should be put on learning proper methods for abstraction and communication between objects...

View Article

Brandon Savage: The myth of the untestable controller

In this new post to his site Brandon Savage looks at the "myth of the untestable controller" and gives some tips to help resolve it. It's a persistent statement: controllers should have as little code...

View Article


Russell Walker: Active Record vs Data Mapper for Persistence

Russell Walker has a new post today comparing two popular methods for abstracting out database access and working with your data - the Active Record and Data Mapper patterns for data persistence....

View Article

Brandon Savage: The value of design patterns

Brandon Savage has a new post today talking about the value of design patterns with his response to another post. He tries to put the emphasis back on making good OOP code instead of worrying too much...

View Article

David Adams: Is ORM abstraction a pipe dream?

David Adams has published a recent post that wonders if ORM abstraction is a "pipe dream" when it comes to abstraction. ORM stands for "object relational mapper" and is commonly used as a layer...

View Article
Browsing all 36 articles
Browse latest View live