architectural-patterns

What Alternatives Are There to Model-View-Controller?

While going through university and from following the development of SO, I've heard a lot about the Model-View-Controller architectural design pattern. I inadvertently used the MVC pattern even before I knew what it was, and still use it in my everyday job. From what I've seen, it's probably the most popular pattern used today. What I ha...

Transactions in the Repository Pattern

How do I encapsulate the saving of more than one entity in a transactional manner using the repository pattern? For example, what if I wanted to add an order and update the customer status based on that order creation, but only do so if the order completed successfully? Keep in mind that for this example, orders are not a collection in...

Is MVC a Design Pattern or Architectural pattern

According to Sun and Msdn it is a design pattern. According to Wikipedia it is an architectural pattern In comparison to design patterns, architectural patterns are larger in scale. (Wikipedia - Architectural pattern) Or it is an architectural pattern that also has a design pattern ? Which one is true ? ...

Query object implementation examples

Can anyone recommend good tutorial, implementation or sample code on Query object pattern usage, in C#(Java...)? I haven't found much with google. ...

What is the difference between an Abstraction and a Facade?

What is the difference between an 'Abstraction' and a 'Facade'? Is there a difference at all? Or are the terms interchangeable? ...

OOPS (Design Patterns)

hey, hi i want put limit on object creation means a class can have at most suppose 4 objects not more than that how to achieve this? ...

Time delays and Model View Controller

I am implementing a turn based game, there are two sides and each side has several units, at each specific moment only one unit can move across the board. Since only one unit can move at a time, after i figure out where it should go, as far as the simulation is concerned it Can instantly be teleported there, but playing the game you wou...