Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 ( #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
Node Status?
node history
Node Type: note [id://11129019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-06-16 11:18 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?