[web-devel] A separation of concerns
Michael Snoyman
michael at snoyman.com
Mon Mar 15 12:54:19 EDT 2010
+1. I wrote another e-mail just a bit ago listing some library projects that
I thought should be attacked. Perhaps we should start a Wiki page with a
"web programming wishlist", rank it by difficulty and priority, and try to
encourage collaboration that way?
On Mon, Mar 15, 2010 at 9:33 AM, Chris Eidhof <chris at eidhof.nl> wrote:
> Hi everyone,
>
> I don't believe that there could be one big framework for everybody. Some
> people want good HTML abstractions, others only think of the server as data
> storage. Some people want RESTful URLs, other people don't care about
> RESTfulness but would benefit heavily from controller abstractions. For
> certain applications SQL might be perfect and for others the Happstack-State
> works great.
>
> 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 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. Instead of building packages that do all of these things, I
> would like to see model packages, view packages and controller packages.
> That way we can achieve maximum reusability and a good separation of
> concerns.
>
> What do you think of this?
>
> -chris
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/web-devel/attachments/20100315/cc25c0dc/attachment-0001.html
More information about the web-devel
mailing list