Re:Ask HN: Web Frameworks for Perl
by aneesh on Sunday November 23, 2008 @09:13PM
(#374358)
I'm developing a data analysis & visualization tool. I'm starting to really wish there was a nice way to separate out the math/statistical logic that I'm using on the backend from the logic I use to display the results in a pretty way.
[ Parent
| on HN ]
Re:Ask HN: Web Frameworks for Perl
by singingfish on Monday November 24, 2008 @05:08AM
(#374645)
Catalyst is an ideal candidate for you for this. The Controller and View code is very much separated from the Model code that you want, and agnostic to the framework code. I'm writing some text mining stuff at the moment, and Catalyst is what I'm using to keep web application logic and problem-domain logic well separated from each other. This (hopefully) makes everything much more maintainable.
Why don't you either a) put all the math stuff in its own set of modules and/or b) have your backend do all the analysis and store it in a middle layer (e.g. DB) for the front end visualization?