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.15The 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.dnaand 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 XMLParsePseudo code:[DOWNLOAD FILE source=3Dhttp://.....][XMLParse vars=3Dblah][include target file.xml][/XMLParse]---Fixed: [setmimeheader] is now working as expectedexample: [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 syntaxDeprecated: [applescript]Deprecated: phone home systemDeprecated: the URL command systemDeprecated: sandboxes and "global"Deprecated: old licensing system (domain limits, versions=85)- chris
Associated Messages, from the most recent to the oldest:
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.15The 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.dnaand 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 XMLParsePseudo code:[DOWNLOAD FILE source=3Dhttp://.....][XMLParse vars=3Dblah][include target file.xml][/XMLParse]---Fixed:
[setmimeheader] is now working as expectedexample: [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 syntaxDeprecated: [applescript]Deprecated: phone home systemDeprecated: the URL command systemDeprecated: 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:
greater than or equal to (1997)
Special delete ... (1997)
WCS Newbie question (1997)
WebCat2 beta 11 - new prefs ... (1997)
Message Boards (2003)
Buying sans cart (1997)
[WebDNA] Virtual server (2011)
service stop and restart (1997)
quantity limit (1998)
WC2f3 (1997)
Generating Report Totals (1997)
problems with dos and tracert + webDNA (1998)
Prevent multiple appends with Reload Button (1997)
(2000)
Weird Math (2000)
t or f (1997)
Does anyone have a solution to make carts smaller? (1998)
Emailer help....! (1997)
OFF Topic - Web-Stat App (2003)
9 digit zip (2002)