Re: [WebDNA] WebDNA 7 and Deprecated command

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107828
interpreted = N
texte = Hi Walt! > 1) Now I can't find where I saw it, but in some documentation that I = read, I saw a mention that >=20 > Commands were Deprecated in this version. >=20 > Does that mean any sites that use for example the following in the = cart URLs: >=20 > cart.html?command=3Dshowcart&cart=3D1234567890&db=3Ddb/products.db >=20 > would not work on the new 7 platform and would need to be rewritten? exact > 2) Are there any additional changes that would make an existing 6 site = not run on the new version out of the box? Sandboxes, global are related to a centralized version of WebDNA. Since = WebDNA 7.0 runs at site level, this will not be needed anymore, though = it has not been deprecated (yet) > 3) Are there any special additional configuration changes needed, if = you want WebDNA to also handle .HTML files as well (lets say on a Linux = box)? I know changes were required in 6. WebDNA 7.0 is designed to work with .dna, but if you want to add .html, = this is easy to do. > 4) Anything else existing users should know about version 7? Here the history: Fixed: The serial number validation routine fails out with a wrong = number, and causes the page not reloading. ----- The libmysqlclient.so.15/libmysqlclient.so.16 problem for the glibcv3 = version: Ubuntu 10.xx comes with libmysqlclient.so.16, and webdna.fcgi requests = libmysqlclient.so.15 The two versions of libmysqlclient aren't binary compatible, which is = why the soname was changed from 15 to 16. There is no way to build a = single binary that works with both libraries. We built two binaries. ----- Changed: The 6.2 code always reloaded the db after 100 lines. We changed = this for 1,000 lines on 7.0 code. ----- Fixed: the [append] tag was writing to DISK instead or writing to RAM. = It now depends on the AutoCommit value in prefs. If true, it will append each line as before. If false, it will buffer in memory. ----- Fixed: the [formvariables] context bug when using = ENCTYPE=3D"multipart/form-data": issue with the processing of multipart = post. ----- Fixed: [sendmail] problem with the FreeBSD version beacuse of a = threading problem. Fixed by forcing it to use libpthread instead of = libc_r ----- Fixed: bug when the [math] variable name includes a number like in = [math]thetest3=3D43[/math] --- New: added the new tag [thirurlplusget] so the [thisurl] tag will produce this: /x/y/z/index.dna and the [thirurlplusget] tag will produce this: /x/y/z/index.dna?a=3Db&c=3Dd --- New: /WebCatalog folder eliminated --- New: config file is now webdna.ini --- New: [isaccelerated] tag returns "T" or "F" --- Fixed: a local copy runs as "licensed" when called through 127.0.0.1 or = "localhost" --- Fixed: triggers now work with unlicensed version --- Fixed: the triggers are not properly working --- New: added a solid blowfish code to [encrypt] --- Fixed: [returnraw] - http status codes was not working on all platforms = due of Apache 2.0 changes in the API and also the WebDNA module was not = accommodating all status codes. --- Fixed: [createdate] and [moddate] were being confused on unix machines = in both the [listfiles] context and [fileinfo] context. --- Fixed: [date format=3D] was not working on all platforms --- Fixed: mysql Windows bug --- New: xalan and xerces are now integrated into the binary --- New: [thishost] shows the server name WebDNA is running on --- New: [listallcontexts] shows a list of all reserved context names --- New: [thisport] shows the port number of the server WebDNA is running = on. --- Bug: xerces has some flaws under OSX. See below [xmlparse = var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/v= olleyball[/url]][/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:feed] [name]=3D[value]
[xmlnodes]  - [name]=3D[value]
[xmlnodes]    - [name]=3D[value]
[/xmlnodes] [/xmlnodes] [/xmlnode] A workaround is to write the WEBDNA to download the XML file, and then = include it in the XMLParse Pseudo code: [DOWNLOAD FILE source=3Dhttp://.....] [XMLParse vars=3Dblah][include target file.xml][/XMLParse] --- Fixed: [setmimeheader] is now working as expected example: [setmimeheader name=3DContent-Type&value=3Dtext/xml] --- Fixed: [shownext] was not properly working under OSX with apache --- Fixed: PATH_TRANSLATED under OSX and Solaris --- New: [islicensed] with two values: "T" or "F". If the License number = matches the domain, we will get a "T", otherwise, we get a "F" and = WebDNA will run as freeware. --- Fixed: was not working --- Fixed: [decrypt] could not decrypt the seed "TEMPLATE", for use with = encrypted templates=20 --- New: SMTP auth enable with [sendmail].. both a global setting and a = over-riding local setting option (ie. within the [sendmail] context) --- Fixed: [setcookie] was not writing anymore to the browser. --- Fixed: [redirect] was not working anymore. --- Fixed: Passing a value to a page using GET like = test.dna?thetest=3Dthisisasmalltest was just passing "[thetest]" in the = browser: it was not interpreted and showed up. --- Fixed: Introducing an URL variable name using a context name was = producing strange results. The ?text=3D bug is now checking for known = contexts, and if it is not a known context, it does the appropriate = thing. For example, the variable setting via GET is working, but the = ?text=3D is blocked --- Fixed: [appendfile file=3Dtest.html]More text[/appendfile] was creating = an empty file when it should have written "More text" in it. File = permission of index.html was 644 --- Fixed: [writefile file=3Dtest.html]Some text[/writefile] was creating an = empty file when it should have written "Some text" in it. File = permission of index.html was 660 --- Fixed: [ipaddress] was not working anymore under OSX --- Fixed: [referrer] was showing "FastCGI" instead of the real refering = page under OSX. --- Fixed: the delete command could delete items in a database, even when it = is not allowed as a (URL) command. --- Deprecated: XML-like syntax Deprecated: [applescript] Deprecated: phone home system Deprecated: the URL command system Deprecated: sandboxes and "global" Deprecated: old licensing system (domain limits, versions=85) - chris Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  2. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  3. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  4. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  5. Re: [WebDNA] WebDNA 7 and Deprecated command (frank@cwolfe.com 2011)
  6. Re: [WebDNA] WebDNA 7 and Deprecated command (christophe.billiottet@webdna.us 2011)
  7. Re: [WebDNA] WebDNA 7 and Deprecated command (Govinda 2011)
  8. [WebDNA] WebDNA 7 and Deprecated command (Walt N 2011)
Hi Walt! > 1) Now I can't find where I saw it, but in some documentation that I = read, I saw a mention that >=20 > Commands were Deprecated in this version. >=20 > Does that mean any sites that use for example the following in the = cart URLs: >=20 > cart.html?command=3Dshowcart&cart=3D1234567890&db=3Ddb/products.db >=20 > would not work on the new 7 platform and would need to be rewritten? exact > 2) Are there any additional changes that would make an existing 6 site = not run on the new version out of the box? Sandboxes, global are related to a centralized version of WebDNA. Since = WebDNA 7.0 runs at site level, this will not be needed anymore, though = it has not been deprecated (yet) > 3) Are there any special additional configuration changes needed, if = you want WebDNA to also handle .HTML files as well (lets say on a Linux = box)? I know changes were required in 6. WebDNA 7.0 is designed to work with .dna, but if you want to add .html, = this is easy to do. > 4) Anything else existing users should know about version 7? Here the history: Fixed: The serial number validation routine fails out with a wrong = number, and causes the page not reloading. ----- The libmysqlclient.so.15/libmysqlclient.so.16 problem for the glibcv3 = version: Ubuntu 10.xx comes with libmysqlclient.so.16, and webdna.fcgi requests = libmysqlclient.so.15 The two versions of libmysqlclient aren't binary compatible, which is = why the soname was changed from 15 to 16. There is no way to build a = single binary that works with both libraries. We built two binaries. ----- Changed: The 6.2 code always reloaded the db after 100 lines. We changed = this for 1,000 lines on 7.0 code. ----- Fixed: the [append] tag was writing to DISK instead or writing to RAM. = It now depends on the AutoCommit value in prefs. If true, it will append each line as before. If false, it will buffer in memory. ----- Fixed: the [formvariables] context bug when using = ENCTYPE=3D"multipart/form-data": issue with the processing of multipart = post. ----- Fixed: [sendmail] problem with the FreeBSD version beacuse of a = threading problem. Fixed by forcing it to use libpthread instead of = libc_r ----- Fixed: bug when the [math] variable name includes a number like in = [math]thetest3=3D43[/math] --- New: added the new tag [thirurlplusget] so the [thisurl] tag will produce this: /x/y/z/index.dna and the [thirurlplusget] tag will produce this: /x/y/z/index.dna?a=3Db&c=3Dd --- New: /WebCatalog folder eliminated --- New: config file is now webdna.ini --- New: [isaccelerated] tag returns "T" or "F" --- Fixed: a local copy runs as "licensed" when called through 127.0.0.1 or = "localhost" --- Fixed: triggers now work with unlicensed version --- Fixed: the triggers are not properly working --- New: added a solid blowfish code to [encrypt] --- Fixed: [returnraw] - http status codes was not working on all platforms = due of Apache 2.0 changes in the API and also the WebDNA module was not = accommodating all status codes. --- Fixed: [createdate] and [moddate] were being confused on unix machines = in both the [listfiles] context and [fileinfo] context. --- Fixed: [date format=3D] was not working on all platforms --- Fixed: mysql Windows bug --- New: xalan and xerces are now integrated into the binary --- New: [thishost] shows the server name WebDNA is running on --- New: [listallcontexts] shows a list of all reserved context names --- New: [thisport] shows the port number of the server WebDNA is running = on. --- Bug: xerces has some flaws under OSX. See below [xmlparse = var=3Dxml_var1&source=3D[url]http://gdata.youtube.com/feeds/api/videos/-/v= olleyball[/url]][/xmlparse] [xmlnode ref=3Dxml_var1&path=3Dnamed:feed] [name]=3D[value]
[xmlnodes]  - [name]=3D[value]
[xmlnodes]    - [name]=3D[value]
[/xmlnodes] [/xmlnodes] [/xmlnode] A workaround is to write the WEBDNA to download the XML file, and then = include it in the XMLParse Pseudo code: [DOWNLOAD FILE source=3Dhttp://.....] [XMLParse vars=3Dblah][include target file.xml][/XMLParse] --- Fixed: [setmimeheader] is now working as expected example: [setmimeheader name=3DContent-Type&value=3Dtext/xml] --- Fixed: [shownext] was not properly working under OSX with apache --- Fixed: PATH_TRANSLATED under OSX and Solaris --- New: [islicensed] with two values: "T" or "F". If the License number = matches the domain, we will get a "T", otherwise, we get a "F" and = WebDNA will run as freeware. --- Fixed: was not working --- Fixed: [decrypt] could not decrypt the seed "TEMPLATE", for use with = encrypted templates=20 --- New: SMTP auth enable with [sendmail].. both a global setting and a = over-riding local setting option (ie. within the [sendmail] context) --- Fixed: [setcookie] was not writing anymore to the browser. --- Fixed: [redirect] was not working anymore. --- Fixed: Passing a value to a page using GET like = test.dna?thetest=3Dthisisasmalltest was just passing "[thetest]" in the = browser: it was not interpreted and showed up. --- Fixed: Introducing an URL variable name using a context name was = producing strange results. The ?text=3D bug is now checking for known = contexts, and if it is not a known context, it does the appropriate = thing. For example, the variable setting via GET is working, but the = ?text=3D is blocked --- Fixed: [appendfile file=3Dtest.html]More text[/appendfile] was creating = an empty file when it should have written "More text" in it. File = permission of index.html was 644 --- Fixed: [writefile file=3Dtest.html]Some text[/writefile] was creating an = empty file when it should have written "Some text" in it. File = permission of index.html was 660 --- Fixed: [ipaddress] was not working anymore under OSX --- Fixed: [referrer] was showing "FastCGI" instead of the real refering = page under OSX. --- Fixed: the delete command could delete items in a database, even when it = is not allowed as a (URL) command. --- Deprecated: XML-like syntax Deprecated: [applescript] Deprecated: phone home system Deprecated: the URL command system Deprecated: sandboxes and "global" Deprecated: old licensing system (domain limits, versions=85) - chris 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:

RH 8.0 (2002) Multiple Selections in Pull-Down Menu (2000) WCS Newbie question (1997) cart info (1998) Probably a very simple question? (1997) WebCatalog 4.0.2b5 available (2000) Authorize.Net stopped working for me (2003) Re[2]: Weird [blank] interpretation (1999) Need help with emailer- 2 issues (1997) Sku numbers (1997) WebDNS and RSS (2003) Setting up shop (1997) [carts] and databases (1997) Re:listfiles-looking for slick solution (1997) Testing (2003) Redirect frame targets (1998) textarea inputs and returns (1999) Re2: AAgghh!! Help, please. SSL strikes again. (1997) Summing fields (1997) Almost a there but..bye bye NetCloak (1997)