Hello fellow monks,
Thanks to a fundamental requirement change, I want to make an existing CGI Perl application do something it was never designed for. (Or throw it away and start over, but I'm hoping that won't be the best course of action!)
This application is a single CGI script, plus about a dozen internal modules (and a few more from CPAN). From a black box perspective, it's basically a web form which is used to generate a data file. Nothing special, by any means.
The original requirement was that this would be used internally only, so it's currently on an internal web server. Now, (you guessed it), management wants to give it to a customer as an easily installable closed-source desktop application (Windows primarily, but cross-platform support would be even better.)
I see my options basically as follows:
- Rewrite the whole thing in Java. (Lot of work, but will meet the new requirement.)
- Rewrite the interface component in Perl/Tk (Much less work, but not sure how successful I'll be at compiling it and putting it into an easily installable package. Having customers install ActiveState Perl would be a very, very tough sell. It needs to be one installer (or, better yet, a single executable).)
- Keep the application as-is, but somehow package that into a single executable. (Compiled separately for Win/Mac/Linux of course). This is potentially the least amount of work, but I'm not aware of any reasonable way to do this, without requiring customers run a web server(!) on their desktops.
Am I missing something? How would you go about this?
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.