Re: dbs in globals or site folder

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61881
interpreted = N
texte = Mark Derrick wrote: > I've always stored all .db files (and .inc files) in the globals > folder, giving the extra security of the files being unabled to be > called directly, as well as keeping the sites root folder tidier. you can set it up easily enough so the .db's and .inc's could not be called in the site roots as well... So I don't think that is a benefit of storing them in the globals. I think the Pro's and Con's have to do with: First Pro) You can access a database or .inc from any site within that sandbox if it is stored within the globals directory. Perhaps a con?) You can access a database or .inc from any site within that sandbox if it is stored within the globals directory. I think it comes down to what your individual use is. If you are god of the server, you may want to store commonly used .inc's in the globals directory so they don't have to be copied in each site. You may want to do a single payment gateway for several sites within a sandbox?... globals could be a good solution there. These are some reasons to use the globals directory... However, you probably don't want a products database called from the globals directory if there is a bunch of stores (sites) within your sandbox. Its all individual purpose my man. Donovan > Mark. -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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:

    
  1. Re: dbs in globals or site folder ( Donovan Brooke 2005)
  2. Re: dbs in globals or site folder ( Lester 2005)
  3. Re: dbs in globals or site folder ( "Christian F. Gurney" 2005)
  4. Re: dbs in globals or site folder ( Donovan Brooke 2005)
  5. Re: dbs in globals or site folder ( Mark Derrick 2005)
  6. dbs in globals or site folder ( Lester 2005)
Mark Derrick wrote: > I've always stored all .db files (and .inc files) in the globals > folder, giving the extra security of the files being unabled to be > called directly, as well as keeping the sites root folder tidier. you can set it up easily enough so the .db's and .inc's could not be called in the site roots as well... So I don't think that is a benefit of storing them in the globals. I think the Pro's and Con's have to do with: First Pro) You can access a database or .inc from any site within that sandbox if it is stored within the globals directory. Perhaps a con?) You can access a database or .inc from any site within that sandbox if it is stored within the globals directory. I think it comes down to what your individual use is. If you are god of the server, you may want to store commonly used .inc's in the globals directory so they don't have to be copied in each site. You may want to do a single payment gateway for several sites within a sandbox?... globals could be a good solution there. These are some reasons to use the globals directory... However, you probably don't want a products database called from the globals directory if there is a bunch of stores (sites) within your sandbox. Its all individual purpose my man. Donovan > Mark. -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

WebCat2 beta FTP site (1997) (more) TCPConnect / Current Temperature (2004) Zipcodes (1998) suffix mapping, use of cache, etc. (1997) Bug Report, maybe (1997) ssl and invoic.tpl and back bttn (2002) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) [OT] Who's got a cool link (2002) Bug or syntax error on my part? (1997) How many Databases can I open? (2003) PSC recommends what date format yr 2000??? (1997) random sorting broken (was Re[2]: php vs WebCatalog) (2000) Summing Fields (1998) F3 crashing server (1997) accessing Webcat from another server (2000) Commas in search (1998) Extended [ConvertChars] (1997) Snake Bites (1997) Emailer setup (1997) [WebDNA] Secure Cookies (2020)