Top "Design-patterns" questions

A design pattern is a general reusable solution to a commonly occurring problem in software design.

Handling Dialogs in WPF with MVVM

In the MVVM pattern for WPF, handling dialogs is one of the more complex operations. As your view model does …

.net wpf design-patterns mvvm dialog
What is the facade design pattern?

Is facade a class which contains a lot of other classes? What makes it a design pattern? To me, it …

design-patterns facade
Is there a Java equivalent or methodology for the typedef keyword in C++?

Coming from a C and C++ background, I found judicious use of typedef to be incredibly helpful. Do you know …

java c++ c design-patterns typedef
Builder Pattern in Effective Java

I have recently started to read Effective Java by Joshua Bloch. I found the idea of the Builder pattern [Item 2 …

java design-patterns builder-pattern
Relational Database Design Patterns?

Design patterns are usually related to object oriented design. Are there design patterns for creating and programming relational databases? Many …

design-patterns database-design rdbms
Is it possible to create static classes in PHP (like in C#)?

I want to create a static class in PHP and have it behave like it does in C#, so Constructor …

php design-patterns oop static
Best Practices for mapping one object to another

My question is, what is the best way I can map one object to another in the most maintainable manner. …

c# design-patterns mapping
Why is IoC / DI not common in Python?

In Java IoC / DI is a very common practice which is extensively used in web applications, nearly all available frameworks …

python design-patterns dependency-injection inversion-of-control architecture
Does functional programming replace GoF design patterns?

Since I started learning F# and OCaml last year, I've read a huge number of articles which insist that design …

oop design-patterns functional-programming
Design Patterns web based applications

I am designing a simple web-based application. I am new to this web-based domain.I needed your advice regarding the …

java design-patterns jsp servlets