Mojolicious is a good choice. I haven't used Dancer2, so if that style is more to your liking, either one would work.

Deployment with a modern PSGI-style framework like either one will be more interesting. You'll probably end up running a Perl webserver in its own process and configuring Apache/IIS/Nginx to proxy to the backend. This isn't as exciting as it sounds once you get it up and running, but it's a different execution model from the CGI fork-process-per-request model you were probably using.

The other interesting part is that both Dancer and Mojolicious (and most other modern web frameworks) separate "generate HTML/CSS/JS" from "handle incoming query and post data" from "look up data in the database". Back in the day we didn't do that much with CGI and it made a mess for larger applications. The framework will help you keep these concerns separate, manage sessions and login, and maintain persistent database connections. Your job is to manage the logical separation and connections between these various Model, View, and Controller layers. Essentially that means that the first thing you have to figure out is what these frameworks will call "routing", or mapping the URLs exposed in the web app to functions/methods in the Controller layers.

There's a little bit of stuff to learn, but that should give you a few hints in the right direction.


In reply to Re: Old guy...Looking for advise on web platform selection. by chromatic
in thread Old guy...Looking for advise on web platform selection. by RedJeep

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.