Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Which framework I should use to my project.

by Your Mother (Bishop)
on Mar 24, 2013 at 20:27 UTC ( #1025186=note: print w/replies, xml ) Need Help??

in reply to Which framework I should use to my project.


  • Mojolicious. Catalyst is great but probably wonít buy you anything over Mojolicious for this project and Mojolicious has a more agile, responsive, and modern code base at this point; including many stand alone tools and one-liner utilities. Dancer is fine but there is no reason to prefer it over the others or even something like Amon2.
  • Lucy, Googlish search indexing.
  • Plack/PSGI, server/code glue. All modern Perl code for the web speaks PSGI.
  • Prefer PostgreSQL to MySQL. DBIx::Class is quite complicated with a steep learning curve but it can repay you tremendously over the life of a project. NB: search indexing does not match well with relational databases and Lucy has its own index/DB. Your DB will not be used directly in searches.

Of further interest

Iím a few years out of the loop regarding these so Iíll just list everything that jumps out as interestingĖ

Beware of any solutions that perform live queries. They range from inefficient to likely violating terms of service. Also, let users choose which they want. No IP->Geo lookups are completely bomb-proof. Accept headers can be as good or better for determining preference automatically anyway and there should always be a way for the user to choose (language, results groups, location) manually.

Last notes: you will have to make up your own mind and if you are like most Perl webdevs unfamiliar with this stuff, you will also probably need to modernize your practices and thinking or suffer for it. In that regard, please see Modern Perl. Things like unit tests are ultimately *much* more important than the framework you pick. Examine the unit tests of various distributions to see what flavor seems the most fun/easy to you. That might help you off the fence if youíre having a hard time deciding.

  • Comment on Re: Which framework I should use to my project.

Replies are listed 'Best First'.
Re^2: Which framework I should use to my project.
by programmer.perl (Beadle) on Mar 25, 2013 at 05:10 UTC

    Thanks, I'll look in detail these points. Especially thanks for Lucy -- it make me more interested in this project. I'll obtain ModernPerl Book, for now I have a "Perl by Example 4th edit." (almost I read/practiced 70% of it), "Learning Perl" (finished), Definitive Guide to Catalyst (not started yet)... Before starting project, when tools are chosen, I will show all these tools for 'scanning' by perlmonks, and I'm sure they point/show best/needed ones...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025186]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-06-24 10:18 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.