Best practice to convert a local script into a (Catalyst) web app

59 views Asked by At

I've developed a bioinformatics tool in Perl which runs fine locally. Basically it reads in a text file and some user-defined parameters from CLI. It calculates some values and generates bar graphs. The final report is an HTML file.

To share this functionality with others, I'd like to convert it into a web app. Instead of working with output files, the data will be stored in a MySQL database.
I tinkered with the Catalyst framework to manage things like user registration/login, input forms and database interaction.

Now what is the best pratice to get the actual business logic (approx. 1,000 lines of code) into the web app? Putting the code in a Catalyst model? Or calling the script out of Catalyst? How would you do it?

0

There are 0 answers