Re: [WebDNA] WebDNA 7 and Deprecated command
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107832
interpreted = N
texte = Isn't it safe to say that WEBDna 7 is comparable to WebDNA Partner =Edition tag wise? Cart, is there, but the other shopping cart commands, =addtocart, showcart are not included. =20FrankOn Dec 16, 2011, at 11:07 AM, christophe.billiottet@webdna.us wrote:> Hi Walt!>=20>> 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?>=20> exact>=20>> 2) Are there any additional changes that would make an existing 6 =site not run on the new version out of the box?>=20> 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)>=20>=20>> 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.>=20> WebDNA 7.0 is designed to work with .dna, but if you want to add =.html, this is easy to do.>=20>=20>> 4) Anything else existing users should know about version 7?>=20>=20> Here the history:>=20>=20> 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]>=20> so the [thisurl] tag will produce this:> /x/y/z/index.dna>=20> 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>=20> [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]>=20> 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)>=20>=20>=20>=20> - chris>=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:
Isn't it safe to say that WEBDna 7 is comparable to WebDNA Partner =Edition tag wise? Cart, is there, but the other shopping cart commands, =addtocart, showcart are not included. =20FrankOn Dec 16, 2011, at 11:07 AM, christophe.billiottet@webdna.us wrote:> Hi Walt!>=20>> 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?>=20> exact>=20>> 2) Are there any additional changes that would make an existing 6 =site not run on the new version out of the box?>=20> 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)>=20>=20>> 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.>=20> WebDNA 7.0 is designed to work with .dna, but if you want to add =.html, this is easy to do.>=20>=20>> 4) Anything else existing users should know about version 7?>=20>=20> Here the history:>=20>=20> 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]>=20> so the [thisurl] tag will produce this:> /x/y/z/index.dna>=20> 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>=20> [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]>=20> 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)>=20>=20>=20>=20> - chris>=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
frank@cwolfe.com
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:
[writefile] (1997)
test mail (2004)
[WebDNA] WebDNA 8.6 announced - New features (2018)
Help with database strategy (1998)
Variables (1999)
Bug? (1997)
Next X hits (1996)
GuestBook example (1997)
Automatic POST arg sending? (1998)
adding time (2003)
[sendmail] questions... (1997)
selectively replacing records within a [founditems] (2000)
Summary layout (1997)
update on wn searching (1997)
WebCat for Unix?? (1997)
Entry point? Security w/ dbase helper? (1997)
Country & Ship-to address & other fields ? (1997)
Case statement (2003)
WebCatalog dying in WebTen Revisited (1998)
Nested tags count question (1997)