Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by Anonymous Monk
on Mar 02, 2021 at 16:03 UTC ( [id://11129019]=note: print w/replies, xml ) Need Help??


in reply to Re: 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

how do you consistently manage to give the worst advice? smh.

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

Replies are listed 'Best First'.
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

    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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found