Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I have a twelve year old cross platform CGI application that I produce for 20-30 new clients every year. It uses a good amount of CPAN from a big rewrite in 2002-2003, DBI, CGI, Text::Template, etc. and a bunch of my code that does what it does. My parts of it are around 7,000 lines of code. In the next few months, I am going to internationalize the application and do my standard round of improvements and tweaks that I do every year.

That being said, is it time to look at moving to a standard framework, such as CGI::Application, Catalyst or one of the other pieces of work? If I were starting from scratch, I would certainly be looking at one of these, but I'm not starting from scratch. None of the frameworks seem to support Text::Template and I have about 300 templates done in a Text::Template format. Would adding a plugin/hook to this be terribly complicated or defeating the whole purpose of a standardized framework? I am trying to decide if the reason to move is just being a cool kid that uses a spiffy framework, or could this actually make my life easier if I continue to produce this app for another 12 years.

I still write about 30-40% of the code, but use contractors to do the rest and they have to "learn" how the whole thing goes together each time I bring a new one into the loop. Even with moving to a framework I am not sure that this won't still be the case.

Can anyone tell me about their experience porting a big CGI app to a framework? was it worth it? is there anything in this ramble that makes it obvious I should go one way or the other?

g_White

In reply to When is it worth it to move to a Framework? by gwhite

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found