Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: mod_perl website structureby Anonymous Monk |
on Oct 14, 2011 at 01:35 UTC ( [id://931409]=note: print w/replies, xml ) | Need Help?? |
Nothing wrong really , but a common strategy is to seperate concerns, which you've done by using functions , but you could seperate them out a bit further, by means of model view controller pattern, which becomes more important the bigger your project becomes More things to read (start with the pm links)
If your application isn't tied to a particular implementation (mod_perl), if you target PSGI/Plack, you can run on mod_perl or practically any webserver
In Section
Seekers of Perl Wisdom
|
|