Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: (Software Engr) Encapsulate! No,no,no! Decouple!

by John M. Dlugosz (Monsignor)
on Jun 01, 2001 at 18:47 UTC ( #84942=note: print w/replies, xml ) Need Help??

in reply to (Software Engr) Encapsulate! No,no,no! Decouple!

The central config file can contain an entry naming the hello file. That way someone reading the one file can know that this other file is involved, rather than it having a magic name that is known implicitly.
  • Comment on Re: (Software Engr) Encapsulate! No,no,no! Decouple!

Replies are listed 'Best First'.
Re: Re: (Software Engr) Encapsulate! No,no,no! Decouple!
by simon.proctor (Vicar) on Jun 03, 2001 at 00:43 UTC
    My two penneths worth would be that the location of the welcome text should be in the configuration file but the text itself be in a separate file. When the server starts, it knows where to grab the text from and does so as required. Assuming, for a minute, that the welcome text is loaded from disk as required, the server need not be manipulated in any way to change the text, only the file contents need changing. The alternative would be a quick HUP.
      My thoughts exactly.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2022-08-10 23:39 GMT
Find Nodes?
    Voting Booth?

    No recent polls found