I've worked with the Yii[1] framework for php. This "view first" approach seems to me like the Widgets[2] of the Yii. The widget keeps the logic of the view. The Yii uses a Rails like MVC with a better template using this widgets. []s Victor [1] http://www.yiiframework.com/ [2] http://www.yiiframework.com/doc/guide/basics.view On Sat, Apr 3, 2010 at 3:36 PM, Simon Hengel <simon.hengel@wiktory.org> wrote:
My point is: we should not try to build one big framework. Instead, I propose that we build a set of smaller libraries that each do one thing very well. Some of these libraries might be designed to work together.
I absolutely agree with that.
I personally think MVC is a perfect fit for the web: model code handles data storage, view code handles HTML/JSON/XML and the controller coordinates between these.
Have you read about the "View First" approach of Lift[1]? While I do not like the monolithic approach of Lift, I really like that specific aspect. I'd not narrow my view on "Rails-Style MVC" right now.
Cheers, Simon
[1] http://wiki.liftweb.net/index.php?title=Lift_View_First _______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
-- GNU/Linux user #446397 - http://counter.li.org