You may want to take a look at
Catalyst,
CGI::Application, or
Bricolage (listed in order of my familiarity and personal recommendation). If you're willing to look at other languages, Rails (for Ruby) and Seaside (for Smalltalk) are both also very good solutions to the problem of generating Yet Another Web Platform.
As for driving your webapp using configuration files (which is, essentially, what you're talking about), you might want to look at the MVC and REST architectures (not mutually exclusive). There are a number of good articles on Perlmonks, but wikipedia, perl.com, onlamp.com, and dozens of other sites are great resources, too.
Please remember that you're working in a problemspace that has been very well explored for over a decade by some of the brightest minds of our time. This doesn't mean you cannot find a new solution. It just means that it's very unlikely that you will do so. Because of the low probability, you have a higher burden of proof. That includes having learned the current methods so that you know what they are first. If you don't know the current state, how can you improve on it?
As for it working - I don't doubt that. But, please bear in mind my signature. And, the second criterion isn't just for the code - it's also for the people using the application. How easy would it be for them to make changes assuming they don't want to know XML?
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.