Re: Variables in a Prefernce File
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62146
interpreted = N
texte = Lester wrote:> If I set up a preference file for each site, and place> the unique db names and whatever else is needed for> each sites individuality, am I asking for trouble> doing this on 4-5 sites on one server???We have several sites (used to be three or four, but I think it is down to two now) which share exactly the same templates. All site specific information is processed with include files. It works great (but the other sites wanted more customization, which is why we are slowly splitting them apart).If your design is robust, you should be able to have a single include file determine all of the variable information (the actual included template will be cached so performance isn't an issue). We actually have the sites share a single directory tree with subdirectories for eash subsite's custom features. We also store the databases in the Globals folder, so any shared databases can be unique (loaded only once).HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Lester wrote:> If I set up a preference file for each site, and place> the unique db names and whatever else is needed for> each sites individuality, am I asking for trouble> doing this on 4-5 sites on one server???We have several sites (used to be three or four, but I think it is down to two now) which share exactly the same templates. All site specific information is processed with include files. It works great (but the other sites wanted more customization, which is why we are slowly splitting them apart).If your design is robust, you should be able to have a single include file determine all of the variable information (the actual included template will be cached so performance isn't an issue). We actually have the sites share a single directory tree with subdirectories for eash subsite's custom features. We also store the databases in the Globals folder, so any shared databases can be unique (loaded only once).HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
NewCart+Search with one click ? (1997)
E-Mail Preferences in Admin Folder (1997)
[delete] problem (1997)
Cold Fusion Buster (1997)
b12 cannot limit records returned and more. (1997)
Setting up the server (1997)
webcat, osx, and includes (2001)
Reversed words (1997)
formatting dates from a field ... (1997)
WebCat2b13MacPlugIn - more [date] problems (1997)
Listfiles (2004)
Itools, WEBCAT OSX (2003)
Quick Question About Sorting (1997)
Interactive Docs (2007)
GuestBook example (1997)
Wrapping text (1998)
Kudos (1998)
popups, netscape vs explorer (1997)
WebCatalog NT beta 18 now available (1997)
Exclamation point (1997)