Site Archives design

Sad because it is true!


Share on Facebook

Share on Facebook Share on Facebook

The object in question


For all the talk of object oriented design and patterns on this blog I sometimes question my own take on objects. What are objects? What are their roles? 
Most of my experience in the professional realm has been in ‘enterprise architecture’ (until recently) where layered approaches are king. Most the systems I have worked on and [...]

Share on Facebook Share on Facebook

Model View Controller Explained


According to Wikipedia’s entry on Model View Controller:
Model-view-controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other.
MVC [...]

Share on Facebook Share on Facebook

REST Client : Approaches to Implementation


I have covered a couple of REST topics previously, Who Needs REST? and Now for the REST of the Story. I started playing around with a client library used to consume rest services and discuss the experience below.
The approaches
My first approach was to create a version of the client using a strategy pattern. By using [...]

Share on Facebook Share on Facebook

Now for the REST of the story


What is REST?
When boiled down, REST is an architectural style that defines a set of constraints. These constrains describe what HTTP and the World Wide Web are based on. These constraints can be defined as follows (list and image below used from A Brief Introduction to REST):

Give every “thing” (resources) an ID
Link things together
Use [...]

Share on Facebook Share on Facebook

What is a mashup?


I have recently have been hearing the term mashup thrown around a lot. To not be left behind, I looked up the Wikipedia entry on mashups. According to the article a mashup is a web application hybrid. By including content or functionality offered through third party services (typically through web services), making a new application [...]

Share on Facebook Share on Facebook

Developers Plight


Refactoring in older systems is rarely just a technical issue. Most of the time a developer has to navigate organization and political issues as well.
Let’s say you are given small project that is low priority project to fix a bug in an existing application. The project is expected to have a quick turn around and [...]

Share on Facebook Share on Facebook

Who needs REST?


I have been reading a bunch of online articles about REST (REpresentational State Transfer) which was first discussed in Roy Thomas Fielding’s Dissertation ‘Architectural Styles and the Design of Network-based Software Architecture’. Though in this body of work Fielding never argues that either REST or HTTP constituted a sufficient basis for a web services architecture, [...]

Share on Facebook Share on Facebook

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