Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fastcgi and persistence in sub modules

by MidLifeXis (Monsignor)
on Nov 28, 2012 at 15:17 UTC ( [id://1006045]=note: print w/replies, xml ) Need Help??


in reply to Fastcgi and persistence in sub modules

IMO, if your script only depends on the functionality provided by module A, then only load module A. If your script peeks behind the covers of Module A and loads Module B and Module C from within the script, you have now made your script dependent on modules A, B, and C, and not just A. If you change the implementation of module A to use modules D and E instead, you now have to maintain the script as well.

Only load what you explicitly depend on.

From a persistence standpoint, fastcgi will have the dependencies also loaded.

--MidLifeXis

  • Comment on Re: Fastcgi and persistence in sub modules

Log In?
Username:
Password:

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

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

    No recent polls found