Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I read up about what an MVC is at Perl Catalyst's site. It was a fairly good read but the code was not to impressive. Basically you come up with a default home page, make a method or subroutine that runs codes before any header prints, then your 2nt method/subroutine determines what location to send the user. If any none die errors or no location is requested it defaults to the default home page.
    • just to be clear, I stated on the VC part of the MVC. the M is your backend/database.
    • Oh, I'm familiar with the concept MVC. Basically, it's just a standardized subdivision of concerns within an application. It's a bit more general than web apps, and has its roots in Smalltalk and early GUIs.

      What I need to read up on is the actual MVC frameworks out there: Catalyst, Rails, Jifty... I'll probably do this by downloading them and trying them out, writing the same application over and over in each of them. I think it'll be interesting.

  • As for the template-like view of Web.pm, if I may suggest you to take a look at Embperl: http://perl.apache.org/embperl/pod/doc/Embperl.htm [apache.org] Which is quite "end-programmer" friendly and goes beyond the scope of mere templating, allowing for quick small site devs without the full (and sometimes cumbersome) MVC requirements.
  • Hi, Coming from ASP/PHP background and being a CGI newbie, sorry if my question is a little silly: are Web.pm web applications designed to work as CGI scripts? I asked that because web frameworks like Catalyst, RoR or Django does not work or work unusably slow when run as CGI scripts (and also require a lot of configuration I guess) so most of the time you cannot use them on shared hosting solutions which is bad for amateur web programmers. In short, who are the target audience of Web.pm?