How useful is a 'pure' MVC implementation?

Posted by Matt1776 on Stack Overflow See other posts from Stack Overflow or by Matt1776
Published on 2010-03-19T05:23:34Z Indexed on 2010/03/19 5:31 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

I work at a company that provides custom made 'CRM'-like software. We are currently redesigning/redeveloping the software with the hopes that it will look more modern and be easier to develop and customize for future clients. Currently it takes a long time to customize each new application.

There is a presumption that the reason it takes so long is because of the amount of business logic that is present in the 'view' layer. To some extent I can vouch for this being true, but symptoms don't always reliably point out a cause. There was a suggestion that if we just move the business logic to the controller layer and use pure view (we use java J2EE and struts) as in implementing struts tags instead of calling the bean layer and iterating objects right on the jsp - etc etc.

Before I start advocating we go forward with this, I wanted to get a feeling for what other people thought. Does a "pure" implementation of the MVC (especially emphasis on decoupling the controller and the view) provide a cleaner, easier to develop and change code base?

© Stack Overflow or respective owner

Related posts about mvc

Related posts about java