The DUDE pattern vs MVC pattern

Everyone was all like, “MVC” this, “MVC” that. The problem with trying to fit every program into an MVC pattern is that not every program fits into the MVC pattern. Not everything is going to have a view. Not everything is going to have a separate controller. Sometimes there are multiple controllers on the server and the client.

That is where I propose a new pattern. The DUDE pattern. DUDE stands for:

Each part of the DUDE pattern is on an as needed basis. So you go into your application without any preconceived notions of how it should be built. Use your thorough knowledge, experience and design patterns to fit what you need without a term my friend Chuck Hoffman calls “overfactoring”. The only separation is between the data and the UI. Never hardcode a value(s) that can change.

This is advice for advanced programmers who have done this for years. All the newbies must follow the rules until they become familiar with the pros and cons of each approach.

Syntax Highlighter

This site supports SyntaxHighlighter. It can highlight your code. How to highlight your code: Paste your code in the comment form, select it and then click a language link. This will wrap your code in a pre tag and format it when submitted.