[WebDNA] Is this safe?

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110403
interpreted = N
texte = Based on conflicting statements, just looking for some clarification of = the issue of the "globals" directory for the FastCGI version of WebDNA. Background: I have one site moving from an ancient WebSTAR/WebDNA5 box = to a dedicated VPS on Ubuntu 12.04 using the FCGI version of WebDNA7. = It's a complicated site. The directory structure looks like: /var/www/ /code /data /virtualsite1 (ie. this.domain.com) /virtualsite2 (ie. that.domain.com) /virtualsite3 (i.e. other.domain.com) and other stuff that it takes to run the sites, but you get the idea. = All of the data (and some of the code) is common to all of the front end = websites for this one organization. Additionally, in trying to DRY = (Don't Repeat Yourself) up my code, I've move a substantial amount to = include files and functions. All that being said, I'm not 100% certain = of the exact path to the databases when I write the code, because of how = abstracted it gets. (the virtual sites themselves have levels of = directories.)=20 I tried a cheat by aliasing (ln -s) the data directory into each virtual = site, so that I could reference the data as /data/database.db but then = when i look at my open databases, I have=20 /var/www/data/inventory.db /var/www/virtualsite1/data/inventory.db /var/www/virtualsite2/data/inventory.db this is all the same data BTW, and of course appends and updates aren't = working correctly. Ah, such fun. Anyway, the globals directory would fix = this instantly, but I noticed that it isn't included now in the WebDNA = folder. As a test I made a "Globals" directory in the webdna folder, and = dropped a text file in there, and was able to retrieve it via the ever = popular 'include file=3D^test.txt'=20 So back to my question=85 is it safe to pursue porting all of my data = into the globals directory and rewriting all of my code, or will that = functionality be removed? Or is there an alternate way to solve this = perplexing problem?=20 Brian B. Burton= Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Is this safe? (Donovan Brooke 2013)
  2. Re: [WebDNA] Is this safe? (Donovan Brooke 2013)
  3. Re: [WebDNA] Is this safe? ("Brian B. Burton" 2013)
  4. [WebDNA] Is this safe? ("Brian B. Burton" 2013)
Based on conflicting statements, just looking for some clarification of = the issue of the "globals" directory for the FastCGI version of WebDNA. Background: I have one site moving from an ancient WebSTAR/WebDNA5 box = to a dedicated VPS on Ubuntu 12.04 using the FCGI version of WebDNA7. = It's a complicated site. The directory structure looks like: /var/www/ /code /data /virtualsite1 (ie. this.domain.com) /virtualsite2 (ie. that.domain.com) /virtualsite3 (i.e. other.domain.com) and other stuff that it takes to run the sites, but you get the idea. = All of the data (and some of the code) is common to all of the front end = websites for this one organization. Additionally, in trying to DRY = (Don't Repeat Yourself) up my code, I've move a substantial amount to = include files and functions. All that being said, I'm not 100% certain = of the exact path to the databases when I write the code, because of how = abstracted it gets. (the virtual sites themselves have levels of = directories.)=20 I tried a cheat by aliasing (ln -s) the data directory into each virtual = site, so that I could reference the data as /data/database.db but then = when i look at my open databases, I have=20 /var/www/data/inventory.db /var/www/virtualsite1/data/inventory.db /var/www/virtualsite2/data/inventory.db this is all the same data BTW, and of course appends and updates aren't = working correctly. Ah, such fun. Anyway, the globals directory would fix = this instantly, but I noticed that it isn't included now in the WebDNA = folder. As a test I made a "Globals" directory in the webdna folder, and = dropped a text file in there, and was able to retrieve it via the ever = popular 'include file=3D^test.txt'=20 So back to my question=85 is it safe to pursue porting all of my data = into the globals directory and rewriting all of my code, or will that = functionality be removed? Or is there an alternate way to solve this = perplexing problem?=20 Brian B. Burton= "Brian B. Burton"

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:

[addlineitems] (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) possible, WebCat2.0 and checkboxes-restated (1997) Performance tuning WebCat on NT (2000) Spiders (1998) suffix mapping, use of cache, etc. (1997) Merging databases (1997) Extended [ConvertChars] (1997) WebCat2.0 [format thousands .0f] no go (1997) Credit Card Number checking (1997) date display (1999) errors 550, and 108 (1998) Emailer setup (1997) Force a search at the default.tmpl page? (1997) Time Display from Database (1997) customizing the color of user's pages (1997) Re:2nd WebCatalog2 Feature Request (1996) Weird error/limit - something amiss? (1997) no global [username] or [password] displayed ... (1997) BBEdit and WebCatalog 2.0? (1997)