NYCPHP Meetup

NYPHP.org

[nycphp-talk] Local File versus DB-based configuration setting strategy

Daniel Convissor danielc at analysisandsolutions.com
Sat Jul 8 12:16:33 EDT 2006


Hi Cliff:

On Fri, Jul 07, 2006 at 11:52:27AM -0400, Cliff Hirsch wrote:

> if I migrate beyond one server, it would be very difficult
> to keep the config information in synch using local files.

It's not hard.  You can use CVS, SVN or rsync to do this.


> Obviously the database info can't be kept in the database, but beyond
> that, most everything can.

This adds an extra database hit for every request for no good reason.  
Bad idea.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list