Top "Design-patterns" questions

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

Android MVVM Design Pattern Examples

I currently do a lot of WPF development and have started creating some basic Android apps. When creating WPF apps …

java android design-patterns mvvm dependency-injection
Implementing a callback in Python - passing a callable reference to the current function

I want to implement the Observable pattern in Python for a couple of workers, and came across this helpful snippet: …

python design-patterns functional-programming callback observer-pattern
What is the difference between the template method and the strategy patterns?

Can someone please explain to me what is the difference between the template method pattern and the strategy pattern is? …

design-patterns strategy-pattern template-method-pattern
Cross cutting concern example

What is a good example of a cross-cutting concern? The medical record example on the wikipedia page seems incomplete to …

design-patterns aop cross-cutting-concerns
What's the difference between design patterns and architectural patterns?

When we read about design patterns on the internet we note that there are 3 categories: Creational Structural Behavioral But when …

design-patterns architecture
Comet and jQuery

I've done some research into server push with javascript and have found the general consensus to be that what I'm …

javascript jquery design-patterns comet server-push
Design Pattern to implement Business Rules with hundreds of if else in java

I have to implement certain business rules with hundreds of lines of below code if this then this else if …

java if-statement design-patterns specification-pattern
What is Proxy Class in C++

What is a Proxy Class in C++? Why it is created and where it is useful?

c++ design-patterns proxy
Examples of practical javascript object oriented design patterns

What object oriented design patterns do you use in your application's javascript, and why? Feel free to post code, even …

javascript jquery design-patterns oop
Best Practices For Mapping DTO to Domain Object?

I've seen a lot of questions related to mapping DTOs to Domain Objects, but I didn't feel they answered my …

.net asp.net design-patterns dto