Jeff Ratcliff
Posts: 10
Nickname: inhgtpoly1
Registered: Feb, 2006
|
|
Re: The Importance of Model-View Separation
|
Posted: Mar 21, 2008 6:46 PM
|
|
> The MV pattern is the most important programming pattern > in computer history. It's the only pattern that's > essential, i.e. if it's not there, then development and > maintenance becomes very difficult and eventually > impossible, in the long run.
I just can't let that go by. There's nothing "essential" in software development, not even MV. Design decisions have to be made in context.
There are a number of criteria used to decide what level of abstraction is appropriate for a given project. One of them is the probability of change and the difficulty of adjusting to change if it were to come. This has to be weighed against the extra time required to use an abstraction, the increased complexity and reduced performance (not all abstractions suffer from these issues).
I think the term "business logic" derives from a subset of the overall programming domain. Perhaps in a world that consists only of traditional database applications or web applications, the MV rule should be followed blindly, but there's a wider world out there.
"There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy." — William Shakespeare
|
|