Re: [WebDNA] WebDNA 7
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107538
interpreted = N
texte = On the graphiteforums, from IDFK (Stuart), i moved the databases from =the global folder to the local folder and fixed all the references in 3 =minutes with a "BBEdit search and replace" among the whole program... i =do not think it would be big trouble to get rid of the global =directory...Also, this global directory design comes from the programmer hosting his =customers on his own server: i undestand it allows him to keep customers =under control by not providing them with databases or scripts, but if =you give each customer his own copy, the "centralized" design becomes =obsolete...- chrisOn Oct 25, 2011, at 21:30, World Wide Art wrote:>=20>> [snip]>>> Look, here's how it works:>>>=20>>> Contents of /paths.inc>>> [text]dbPath=3D/path/to/your/db/folder/[/text]>>> [text]incPath=3D/path/to/your/includes/folder/[/text]>>> [text]imgPath=3D/path/to/your/images/folder/[/text]>>>=20>>> Put this tag at the top of every webdna template:>>> [include /paths.inc]>>>=20>>> Use this convention every time you reference a WebDNA db:>>> db=3D[dbPath]xxx.db>>>=20>>> Use this tag every time you need to include a file:>>> [include [incPath]filename.inc]>>>=20>>> Use this method every time you need to display an image:>>>

>>=20>>> Easy enough?>>>=20>>> Sincerely,>>> Kenneth Grome>>=20>>=20>> Those are fine conventions Ken, and people should use them...>>=20>> But, have you considered the rewriting of 10's or 100's of =sites/apps..>> (possibly 100's of '^' references in each of those apps)>> to use those new conventions? If you are fancy at find/replace>> tools, you can probably get'er done.. but it's not how I'd want to =spend my Sunday/s.>>=20>> It would be easier for everyone if WSC made some simple changes to =the WebDNA engine that changed the function of the carrot symbol =slightly so>> that it looks for a 'Globals' (or 'globals') directory within a =specified path located in the new webdna.ini file.>=20> I think we need to realize that there are only 20 (probably less) of =us left still using v6 or earlier. And that the new company wants to =make a language that is appealing (secure/easy/cheap) to the masses. If =the 20 of us have to do a lot of programming to use v7, then so be it. =(I am close, not that anyone cares).>=20> As usual, just my 2 cents. I could be totally wrong.> d.>=20>>=20>> That's going to be my vote anyway!>>=20>> Also, if we are splitting hairs....>>=20>> [search db=3D^xxx.db>> [include file=3D^xxx.inc]>>=20>> is still the cleanest/shortest syntax!>>=20>>=20>> Donovan>>=20>>=20>>=20>> --=20>> Donovan Brooke>> Euca Design Center>> www.euca.us>> www.keepitturning.co>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list
.>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> World Wide Art, Art Gallery and Custom Framing> questions@world-wide-art.com> Disney Preferred Animation Art Gallery> Specializing in Limited Editions by Today's Top Artists and Custom> Conservation Framing.> http://www.world-wide-art.com> 1-800-518-8453 or 1-510-538-8453>=20>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>=20
Associated Messages, from the most recent to the oldest:
On the graphiteforums, from IDFK (Stuart), i moved the databases from =the global folder to the local folder and fixed all the references in 3 =minutes with a "BBEdit search and replace" among the whole program... i =do not think it would be big trouble to get rid of the global =directory...Also, this global directory design comes from the programmer hosting his =customers on his own server: i undestand it allows him to keep customers =under control by not providing them with databases or scripts, but if =you give each customer his own copy, the "centralized" design becomes =obsolete...- chrisOn Oct 25, 2011, at 21:30, World Wide Art wrote:>=20>> [snip]>>> Look, here's how it works:>>>=20>>> Contents of /paths.inc>>> [text]dbPath=3D/path/to/your/db/folder/[/text]>>> [text]incPath=3D/path/to/your/includes/folder/[/text]>>> [text]imgPath=3D/path/to/your/images/folder/[/text]>>>=20>>> Put this tag at the top of every webdna template:>>> [include /paths.inc]>>>=20>>> Use this convention every time you reference a WebDNA db:>>> db=3D[dbPath]xxx.db>>>=20>>> Use this tag every time you need to include a file:>>> [include [incPath]filename.inc]>>>=20>>> Use this method every time you need to display an image:>>>
>>=20>>> Easy enough?>>>=20>>> Sincerely,>>> Kenneth Grome>>=20>>=20>> Those are fine conventions Ken, and people should use them...>>=20>> But, have you considered the rewriting of 10's or 100's of =sites/apps..>> (possibly 100's of '^' references in each of those apps)>> to use those new conventions? If you are fancy at find/replace>> tools, you can probably get'er done.. but it's not how I'd want to =spend my Sunday/s.>>=20>> It would be easier for everyone if WSC made some simple changes to =the WebDNA engine that changed the function of the carrot symbol =slightly so>> that it looks for a 'Globals' (or 'globals') directory within a =specified path located in the new webdna.ini file.>=20> I think we need to realize that there are only 20 (probably less) of =us left still using v6 or earlier. And that the new company wants to =make a language that is appealing (secure/easy/cheap) to the masses. If =the 20 of us have to do a lot of programming to use v7, then so be it. =(I am close, not that anyone cares).>=20> As usual, just my 2 cents. I could be totally wrong.> d.>=20>>=20>> That's going to be my vote anyway!>>=20>> Also, if we are splitting hairs....>>=20>> [search db=3D^xxx.db>> [include file=3D^xxx.inc]>>=20>> is still the cleanest/shortest syntax!>>=20>>=20>> Donovan>>=20>>=20>>=20>> --=20>> Donovan Brooke>> Euca Design Center>> www.euca.us>> www.keepitturning.co>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> World Wide Art, Art Gallery and Custom Framing> questions@world-wide-art.com> Disney Preferred Animation Art Gallery> Specializing in Limited Editions by Today's Top Artists and Custom> Conservation Framing.> http://www.world-wide-art.com> 1-800-518-8453 or 1-510-538-8453>=20>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>=20
christophe.billiottet@webdna.us
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:
show all problem (1997)
spaces in db (2001)
There is a bug in 3.0.1 mac plug-in (1998)
[WebDNA] Cookie behavior (2010)
WebCatalog stalls (1998)
Problem with [CART] number (1998)
[OT] Security in general [Was] WebDNA security (2004)
Search all Fields in a db (1997)
searching problem (1998)
HTML text cannot be copied to clipboard? (1999)
OT: Poll Please (2002)
Running _every_ page through WebCat ? (1997)
form variables (2000)
[WebDNA] 6.2 Monitor (2012)
WebCatalog can't find database (1997)
Nesting format tags (1997)
PCS Frames (1997)
Lookup within a Search (2005)
includes and cart numbers (1997)
WebStar and CopyFile (2000)