[snip]Look, here's how =it works: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]Put this tag at the top of every webdna =template:[include =/paths.inc]Use this =convention every time you reference a WebDNA =db:db=3D[dbPath]xxx.dbUse this tag =every time you need to include a file:[include =[incPath]filename.inc]Use this method =every time you need to display an image:<img =src=3D[imgPath]imageFile.gif]Easy =enough?Sincerely,Kenneth= Grome
Those are fine conventions Ken, and =people should use them...
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.
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.
That's going to be my vote anyway!
Also, =if we are splitting hairs....
[search db=3D^xxx.db
[include =file=3D^xxx.inc]
is still the cleanest/shortest =syntax!
Donovan
--
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 =<talk@webdna.us>.
To unsubscribe, E-mail to: =<talk-leave@webdna.us>
archives: =http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: =support@webdna.us
[snip]Look, here's how =it works: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]Put this tag at the top of every webdna =template:[include =/paths.inc]Use this =convention every time you reference a WebDNA =db:db=3D[dbPath]xxx.dbUse this tag =every time you need to include a file:[include =[incPath]filename.inc]Use this method =every time you need to display an image:<img =src=3D[imgPath]imageFile.gif]Easy =enough?Sincerely,Kenneth= Grome
Those are fine conventions Ken, and =people should use them...
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.
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.
That's going to be my vote anyway!
Also, =if we are splitting hairs....
[search db=3D^xxx.db
[include =file=3D^xxx.inc]
is still the cleanest/shortest =syntax!
Donovan
--
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 =<talk@webdna.us>.
To unsubscribe, E-mail to: =<talk-leave@webdna.us>
archives: =http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: =support@webdna.us
DOWNLOAD WEBDNA NOW!
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...