Site Archives design patterns

PHP, Query Object Pattern


This continues the discussion of Martin Fowler’s Object Query pattern from the book Patterns of Enterprise Application Architecture. The previous discussion about the Metadata mapper pattern talked about how to map domain objects to database results.
These discussion are really a brief overview of Microsoft’s Repository Factory and how they use Fowler’s patterns with [...]

Share on Facebook Share on Facebook

PHP, Data Access Metadata Mapper


In thinking about the post I made a couple of days ago about PHP and the idea of using a Data Access Layer it had inspired me to do some reading. So I have been digging through Martain Fowler’s book Patterns of Enterprise Application Architecture (pictured to the left). Three patterns I have been [...]

Share on Facebook Share on Facebook

Why object oriented?


I just read an article from ‘Communications of the ACM’ Magazine. The article discusses the relationship between symmetry in geometry and that of the object oriented paradigm. The articles main point was that when symmetry breaks patterns emerge. It put forward that object oriented design patterns are the breaking of symmetry in object “class based” [...]

Share on Facebook Share on Facebook