Re:Maria: An MVC framework for JS
by jamesladd on Saturday July 07, 2012 @08:15PM
(#4213123)
I have been using Maria on my production App for many months and it has made life easier. It is simple, tight and well written.
I use controllers to implement the strategy to be applied to user events, and this keeps my code focused (SRP/DRY).
I think removing the controller is a bad choice as it would require the view to know too much, and besides having the controller in the mix is made easy by Maria. Any time I have diverged from using the Controller the code started to deteriorate with views having to handle increasing responsibility.
Yes - MVC is part of a larger set of patterns and the thing I like most about Maria is that it focuses on being just MVC. Now I'm free to look for implementations of other patterns as I need them. Hopefully from Peter as well, as he really understands a pattern before he implements it.
I use controllers to implement the strategy to be applied to user events, and this keeps my code focused (SRP/DRY).
I think removing the controller is a bad choice as it would require the view to know too much, and besides having the controller in the mix is made easy by Maria. Any time I have diverged from using the Controller the code started to deteriorate with views having to handle increasing responsibility.
Yes - MVC is part of a larger set of patterns and the thing I like most about Maria is that it focuses on being just MVC. Now I'm free to look for implementations of other patterns as I need them. Hopefully from Peter as well, as he really understands a pattern before he implements it.
- James.