Tutorials »

In this two-part tutorial, I show why the use of static helper classes can be detrimental to building robust and scalable object-oriented applications in PHP (though you should take into account that the concept is language agnostic). I also implement a set of instantiable, fine-grained validators, which can be easily tested in isolation, injected into the internals of other objects, and so forth.
Posted by girish.r 513 days ago (http://www.devshed.com)
Discuss  | Bury | Tweet This | Tagged: php building concrete validators
Add To 

Who Voted for this Story

Comments

No one has commented on this article yet.

Log in to comment or register here.