Hacker News new | past | comments | ask | show | jobs | submit login

If you like Django/Rails I'd suggest you check out Perl's Mojolicious - very modern Perl web framework. There's also Dancer - both seem much easier to use & set up than Catalyst



Dancer or Mojolicious are more like Sinatra or Flask, not like Rails or Django


Indeed. Perl does have Jifty and Gantry which do have out of the box support for the M part of MVC, but for whatever reasons they never became as popular as Django/Rails.


With perl I always include the M inside my application class/module.

And I use only VC from the web framework.

That way, i get thin controllers only for url mapping which in that case will access my application class/module instance.

Thats where the real code will be, in my application and not-in-the-web-framework.

With this environment its easy to switch and test other web frameworks avaliable because i will only need to create the thin controllers and re-use my templates. Plus, when i need a cronjob, i use my application without the VC.

In the end the real deal is: dont tie your application with webframeworks. Always use the M inside the application and from the web framework use VC only with thin controllers.

Put the real code inside the aplication. Make the framework use the application. Dont make the framework your application.

follow me @ https://github.com/hernan604


I tried Jifty, but Django documentation is way better for a beginner to web frameworks.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: