Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Adding to legacy application: does it make sense to use PSGI in CGI mode

by jcb (Parson)
on Mar 03, 2021 at 03:47 UTC ( #11129059=note: print w/replies, xml ) Need Help??


in reply to Re^2: Adding to legacy application: does it make sense to use PSGI in CGI mode
in thread Adding to legacy application: does it make sense to use PSGI in CGI mode

For once the questionable anonymonk is actually right: the problems do not start immediately, but over time you can accumulate multiple different frameworks into the larger application. Unless you have full management buy-in that all future work on the application is to use framework X, do not think that you are starting an "incremental" conversion to move the application to framework X. That way lies the madness of an application with parts in framework A, parts in framework C, parts in framework X, parts in framework R, and an unmaintainable mess on the whole.

You can still use newer modules like Template for newer features, especially if you can rally support for refactoring the existing code to also use Template, which will help set you up for a later move all-at-once to a more modern framework, after a destination framework is chosen. Right now, your application uses the (very minimalist) "CGI" framework and you should not take changing that lightly unless you know that you will be able to change the entire application to a new framework. Multi-framework applications are maintainability nightmares.

  • Comment on Re^3: Adding to legacy application: does it make sense to use PSGI in CGI mode

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11129059]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2021-06-16 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (74 votes). Check out past polls.

    Notices?