Relative Content

Tag Archive for design-patterns

Using PDO with MVC

I asked this question at stackoverflow and received no response (closed as duplicate with no answer). I’m experimenting with OOP and I have the following basic MVC layout:

Am I missing a pattern?

I have a class that is a singleton and off of the singleton are properties that hold the instances of all the performance counters in my application.

What patterns book for iOS development contains this specific information? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]

IoC containers and service locator pattern

I am trying to get an understanding of Inversion of Control and the dos and donts of this. Of all the articles I read, there is one by Mark Seemann (which is widely linked to in SO) which strongly asks folks not to use the service locator pattern.

Design pattern for isomorphic trees

I want to create a data structure to work with isomorphic tree. I don’t search for a “algorithms” or methods to check if two or more trees are isomorphic each other. Just to create various trees with the same structure.

What’s the point of the Prototype design pattern?

So I’m learning about design patterns in school. Many of them are silly little ideas, but nevertheless solve some recurring problems(singleton, adapters, asynchronous polling, ect). But today I was told about the so called ‘Prototype’ design pattern.