Re: WebDNA Build Area (linux)
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58521
interpreted = N
texte = >I was thinking about just referencing them across domains i.e.>>../../site/html/etc/database.db>>that way I can use a sitewide search replace before going live to >remove the ../../site/html/I sometimes set a text variable called [dbpath] in the header file that's included in all my templates, then all I have to do is change the value in the header file when I want to move or reference my db's elsewhere:db=[dbpath]/database.dbThis eliminates the need to do a site-wide search and replace. It also happens to be a good technique if your hosting service doesn't give you access to the globals folder.I often to the same thing with the path to my images files, because I like to serve my images from a non-webdna server to keep the load lighter on my webdna server.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------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:
>I was thinking about just referencing them across domains i.e.>>../../site/html/etc/database.db>>that way I can use a sitewide search replace before going live to >remove the ../../site/html/I sometimes set a text variable called [dbpath] in the header file that's included in all my templates, then all I have to do is change the value in the header file when I want to move or reference my db's elsewhere:db=[dbpath]/database.dbThis eliminates the need to do a site-wide search and replace. It also happens to be a good technique if your hosting service doesn't give you access to the globals folder.I often to the same thing with the path to my images files, because I like to serve my images from a non-webdna server to keep the load lighter on my webdna server.-- Kenneth GromeWebDNA ProgrammerOutsource Service ProviderPhone: +6332 255-6591-------------------------------------------------------------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/
Kenneth Grome
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:
Dark Horse Comics success story (1997)
emailer (1997)
Web Catalog 2 demo (1997)
WC TableGrinder (1997)
Search for 20 finds ... Eureka! (1997)
Searching multiple Databases (1997)
Re:Comments Convertion (1998)
There's a bug in the math context ... (1997)
Access Denied! But why? (1997)
show all problem (1997)
Help name our technology! (1997)
[WebDNA] mydatabase.db-oRiGiNaL- (2016)
Using WC for Bulk Emailings (1997)
forming a SKU (1999)
IP address & domain name problem (2003)
listword db bolding {correction} (2002)
Help name our technology! (1997)
Erotic Sites (1997)
[Sum] function? (1997)
Too Much Rootbeer Free Offer (1997)