Re: [WebDNA] WebDNA 7

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107523
interpreted = N
texte = > I've recently started > moving and recoding all of my pages to use the globals > folder to hold include files and db files. This greatly > simplifies my coding because I no longer have to keep > track of the my page (nested in directories) in > relationship to the database files. There are other ways to "greatly simplify your coding" without using the Globals folder. Why don't you just put an include file into the document root folder of each website then include it at the top of every webdna page? Look, here's how it works: Contents of /paths.inc [text]dbPath=/path/to/your/db/folder/[/text] [text]incPath=/path/to/your/includes/folder/[/text] [text]imgPath=/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=[dbPath]xxx.db Use 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:
    
  1. Re: [WebDNA] WebDNA 7 on 8GB RAM server (Daniel Meola 2013)
  2. Re: [WebDNA] WebDNA 7 on 8GB RAM server (Palle Bo Nielsen 2013)
  3. Re: [WebDNA] WebDNA 7 on 8GB RAM server (Govinda 2013)
  4. [WebDNA] WebDNA 7 on 8GB RAM server (Daniel Meola 2013)
  5. [WebDNA] WebDNA 7.x on Red Hat Enterprise Linux 5 and Apache 2.2 (WebDNA Solutions 2013)
  6. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  7. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  8. Re: [WebDNA] WebDNA 7 multiple fcgid processes (WebDNA Solutions 2012)
  9. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  10. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  11. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  12. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  13. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  14. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  15. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  16. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  17. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  18. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  19. Re: [WebDNA] WebDNA 7 multiple fcgid processes (christophe.billiottet@webdna.us 2012)
  20. Re: [WebDNA] WebDNA 7 multiple fcgid processes (Govinda 2012)
  21. Re: [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  22. Re: [WebDNA] WebDNA 7 multiple fcgid processes (Govinda 2012)
  23. [WebDNA] WebDNA 7 multiple fcgid processes (aaronmichaelmusic@gmail.com 2012)
  24. Re: [WebDNA] WebDNA 7.1 (Rich Kwas 2012)
  25. Re: [WebDNA] WebDNA 7.1 (christophe.billiottet@webdna.us 2012)
  26. Re: [WebDNA] WebDNA 7.1 (Rich Kwas 2012)
  27. [WebDNA] WebDNA 7.1 (christophe.billiottet@webdna.us 2012)
  28. Re: [WebDNA] WebDNA 7 64bits for OSX (christophe.billiottet@webdna.us 2012)
  29. [WebDNA] WebDNA 7 64bits for OSX (christophe.billiottet@webdna.us 2012)
  30. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  31. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  32. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  33. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  34. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  35. RE: [WebDNA] WebDNA 7 - Windows Version ("Terry Nair" 2011)
  36. Re: [WebDNA] WebDNA 7 - Windows Version (christophe.billiottet@webdna.us 2011)
  37. [WebDNA] WebDNA 7 - Windows Version ("Terry Nair" 2011)
  38. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  39. Re: [WebDNA] WebDNA 7 and Deprecated command (Govinda 2011)
  40. [WebDNA] WebDNA 7 and Deprecated command (Walt N 2011)
  41. Re: [WebDNA] WebDNA 7.0 release for the talk-list users (Robert Minor 2011)
  42. [WebDNA] WebDNA 7.0 release for the talk-list users (christophe.billiottet@webdna.us 2011)
  43. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  44. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  45. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  46. Re: [WebDNA] WebDNA 7 (aaronmichaelmusic@gmail.com 2011)
  47. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  48. Re: [WebDNA] WebDNA 7 ("Brian B. Burton" 2011)
  49. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  50. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  51. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  52. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  53. RE: [WebDNA] WebDNA 7 ( 2011)
  54. RE: [WebDNA] WebDNA 7 ("Lori Palmquist" 2011)
  55. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  56. Re: [WebDNA] WebDNA 7 (aaronmichaelmusic@gmail.com 2011)
  57. Re: [WebDNA] WebDNA 7 (Dan Strong 2011)
  58. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  59. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  60. Re: [WebDNA] WebDNA 7 (Govinda 2011)
  61. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  62. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  63. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  64. Re: [WebDNA] WebDNA 7 ("Vijay-Kumar Solanki" 2011)
  65. Re: [WebDNA] WebDNA 7 (Adam OConnor 2011)
  66. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  67. Re: [WebDNA] WebDNA 7 (Dan Strong 2011)
  68. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  69. Re: [WebDNA] WebDNA 7 (Brian Fries 2011)
  70. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  71. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  72. Re: [WebDNA] WebDNA 7 (Tom Duke 2011)
  73. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  74. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  75. Re: [WebDNA] WebDNA 7 (Aaron Michael 2011)
  76. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  77. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  78. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  79. Re: [WebDNA] WebDNA 7 (World Wide Art 2011)
  80. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  81. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  82. Re: [WebDNA] WebDNA 7 (World Wide Art 2011)
  83. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  84. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  85. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  86. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  87. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  88. Re: [WebDNA] WebDNA 7 (Stuart Tremain 2011)
  89. Re: [WebDNA] WebDNA 7 ("lists@almy.ch" 2011)
  90. Re: [WebDNA] WebDNA 7 ("lists@almy.ch" 2011)
  91. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  92. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  93. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  94. Re: [WebDNA] WebDNA 7 ("Brian B. Burton" 2011)
  95. Re: [WebDNA] WebDNA 7 (Kenneth Grome 2011)
  96. Re: [WebDNA] WebDNA 7 (Govinda 2011)
  97. Re: [WebDNA] WebDNA 7 ("Brian B. Burton" 2011)
  98. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  99. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  100. [WebDNA] WebDNA 7 (aaronmichaelmusic@gmail.com 2011)
  101. Re: [WebDNA] WebDNA 7 running on new 32-bit Debian 6 server (christophe.billiottet@webdna.us 2011)
  102. Re: [WebDNA] WebDNA 7 running on new 32-bit Debian 6 server (Kenneth Grome 2011)
  103. Re: [WebDNA] WebDNA 7 running on new 32-bit Debian 6 server (christophe.billiottet@webdna.us 2011)
  104. [WebDNA] WebDNA 7 running on new 32-bit Debian 6 server (Kenneth Grome 2011)
  105. [WebDNA] WebDNA 7 fastcgi fails to start (Kenneth Grome 2011)
  106. Re: [WebDNA] WebDNA 7 (christophe.billiottet@webdna.us 2011)
  107. Re: [WebDNA] WebDNA 7 (frank@cwolfe.com 2011)
  108. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  109. Re: [WebDNA] WebDNA 7 (frank@cwolfe.com 2011)
  110. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  111. Re: [WebDNA] WebDNA 7 (frank@cwolfe.com 2011)
  112. Re: [WebDNA] WebDNA 7 (Donovan Brooke 2011)
  113. Re: [WebDNA] WebDNA 7 (Ronald Kirkland 2011)
  114. [WebDNA] WebDNA 7 (frank@cwolfe.com 2011)
  115. Re: [WebDNA] WebDNA 7.0 (christophe.billiottet@webdna.us 2011)
  116. [WebDNA] WebDNA 7.0 (frank@cwolfe.com 2011)
> I've recently started > moving and recoding all of my pages to use the globals > folder to hold include files and db files. This greatly > simplifies my coding because I no longer have to keep > track of the my page (nested in directories) in > relationship to the database files. There are other ways to "greatly simplify your coding" without using the Globals folder. Why don't you just put an include file into the document root folder of each website then include it at the top of every webdna page? Look, here's how it works: Contents of /paths.inc [text]dbPath=/path/to/your/db/folder/[/text] [text]incPath=/path/to/your/includes/folder/[/text] [text]imgPath=/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=[dbPath]xxx.db Use 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: 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:

Date Formats (1997) WebCat2_Mac RETURNs in .db (1997) b12 cannot limit records returned and more. (1997) Doing VALIDCARD right? (1998) [WebDNA] CSS Advice (2008) OK, here's a new one (2002) Sorry - the list went haywire... (1998) Search Engine questions ... (2002) Can't load tmpl files (1997) Error cart approval pending (2005) RE: [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) Search in 2 or more catalogs (1997) File Upload and Platform (2001) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Artwork (1997) Table code broken? (2004) Web Catalog 2 demo (1997) [getchars] questions (1997) hierarchy question... (2000) WebCatalog [FoundItems] Problem - AGAIN - (1997)