Hello, don't mind me. I'm just going through a few MVC frameworks to see how they differ and how they're alike. I need the knowhow to create an MVC for Web.pm. Right now, my plan is to examine Rails, Catalyst, Django and Jifty. I'll write down my impressions of each of the in some kind of list, for future reference. Basically the only way you'd want to read this is if you want to laugh at how little I know about MVC frameworks.
Here's the list I got from watching this screencast:
Um. Well, in summary, that cool-aid sure seems to have an effect on me. I'll leave the comments open so that you people can tell me how Rails, despite all appearances, is really bad for your teeth and leaves skid marks on your puppy.
Next up: Catalyst.
Re:Also...
sri on 2009-06-26T23:31:39
Thats correct, we have a full featured HTTP 1.1 stack ready to be ported to Perl6. (also including a Rack layer on the server side)
Re:Don't forget Rack based frameworks
sri on 2009-06-26T23:40:34
I don't think you can compare mod_perl and Rack (both Rails and Merb are based on Rack these days btw.). Rack is all about running your code on different HTTP servers using a unified api, while mod_perl gives you the power to hook into the guts of Apache and change low level logic.Re:Don't forget Rack based frameworks
draegtun on 2009-06-27T08:42:03
Well if you like Rack then you should be looking at HTTP::Engine or Mojo for Perl equivalents.Re:Don't forget Rack based frameworks
masak on 2009-06-29T12:20:23
It might please you to learn that Web.pm aims to have a full port of Rack at its core. The idea is that people should be able to choose the level of abstraction they want to build their web app on. The levels are something along the lines of:
- A minimal setup. (Rack.)
- Templating.
- MVC.
That last level is the reason I'm investigating MVC frameworks at present.
Re:Don't forget Rack based frameworks
sri on 2009-06-29T13:04:26
If your aim is to have a full Rack port maybe you should call it Rack or Web::Rack? Web.pm seems a bit too generic, after all there will be alternatives and they'll need a namespace too.Re:Don't forget Rack based frameworks
masak on 2009-06-29T14:50:08
Noted.
For various reasons I'm not inclined to discuss the naming of Web.pm via a blog commenting system. I'll happily move the discussion to IRC or email, though.
Re:Don't forget Rack based frameworks
yft on 2009-06-29T15:16:07
That, my dear friend, will be awesome. Mod_perl is great but a web server agonstic and low level web framework like Rack or Servlets will make Perl shine again (and a bit of slick marketing!).
Re:Scaffolding...
masak on 2009-06-29T12:25:23
I know nothing about Merb, except that it was merged with Rails. In particular, from your comment I still am no wiser as to why scaffolding is bad, or why Merb was successful due to its lack of scaffolding.
Guess I'll have to read up a bit on Merb. Or what's left of it.
:)