Re: [WebDNA] improvements
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 111957
interpreted = N
texte = Got my vote.Kind regardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au> On 17 Jan 2015, at 1:00 am, christophe.billiottet@webdna.us wrote:>=20> If we work on the [switch] cell to introduce the full set of =comparisons available with [showif], will you all still need the =[elseif] ?> I ask because if seems to me this is something missing with [switch] =that should have been there in the first place, but the [elseif] concept =could show a little bit heavy and less elegant=E2=80=A6>=20> - chris>=20>=20>> On 15 Jan 2015, at 20:58, iPhonzie@G
wrote:>>=20>> The do/while and repeat/until scenarios can be easily enough managed =with [loop], so that doesn=E2=80=99t bother me enough to need the =additional tags, but I would love to see [break] available in EVERY =looping context - founditems, listwords, formvariables, etc.>>=20>>=20>> [elseif] would be a great addition for situations where you have a =number of mutually exclusive conditions that are to complex for =[switch]. I have lots of code that looks like this:>>=20>> [if (condition1)]>> [then]>> do stuff 1>> [/then]>> [else]>> [if (condition2)]>> [then]>> do stuff 2>> [/then]>> [else]>> [if (condition3)]>> [then]>> do stuff 3>> [/then]>> [else]>> do default stuff>> [/else]>> [/if]>> [/else]>> [/if]>> [/else]>> [/if]>>=20>> This would be much nicer if I could write:>>=20>> [if (condition1)]>> [then]>> do stuff 1>> [/then]>> [elseif (condition2)]>> do stuff 2>> [/elseif]>> [elseif (condition3)]>> do stuff 3>> [/elseif]>> [else]>> do default stuff>> [/else]>> [/if]>>=20>>=20>> This could similarly be addressed with an alternative form of =switch/case. One possibility would be if no parameters are in the =[switch] tag, then [if]-style comparisons could be put into each [case] =tag:>>=20>> [switch]>> [case (condition1)]>> do stuff 1>> [/case]>> [case (condition2)]>> do stuff 2>> [/case]>> [case (condition3)]>> do stuff 3>> [/case]>> [default]>> do default stuff>> [/default]>> [/switch]>>=20>>=20>> =E2=80=94 Brian Fries>>=20>> On January 15, 2015 at 9:34:47 AM, Psi Prime Inc, Matthew A Perosi =(matt@psiprime.com) wrote:>>=20>>> There have been plenty of time when I needed a [do]/[while] or a=20>>> [repeat]/[until] statement.=20>>>=20>>> The [removehtml] needs to be improved to recognize the new format =for=20>>> HTML. Instead of removing HTML tags formatted like this:=20>>> =20>>> it needs to also recognize this new format like this:=20>>> =20>>>=20>>> Secure cookies are a good idea and I could use those too.=20>>>=20>>> -Matt=20>>>=20>>>=20>>> On 1/15/2015 11:23 AM, christophe.billiottet@webdna.us wrote:=20>>>> Some possible ideas; please explain specifically what you want with ="[elseif] to [if] context" and the [switch]=20>>>>=20>>>> The "commerce tags" are not supported anymore. Also, PostGres is =not on the roadmap at this time.=20>>>>=20>>>> You have had an opportunity earlier.=20>>>>=20>>>> - chris=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 15 Jan 2015, at 18:56, Donovan Brooke wrote:=20=>>>>>=20>>>>> If resources are going to be put into development rather than =marketing, why not make some *standardized* improvements that will =attract new users.=20>>>>> I=E2=80=99m talking about things that programmers look for in a =language.=20>>>>>=20>>>>> Off the top of my head:=20>>>>> [elseif] to [if] context.=20>>>>>=20>>>>> Database support, starting with PostGres=20>>>>> ie. [SQLConnect dbtype=3DPostGres]=20>>>>>=20>>>>> [sendmail] (local) override (instead of global server setting) of =things like smtp port/auth, TLS settings, etc.. We already have the =roadmap to make that local.=20>>>>>=20>>>>> [switch..] context with more comparison options.=20>>>>>=20>>>>> Add Md5 (and other newer encryption, digest, etc.) to encrypt..=20>>>>> for md5, just copy APOP. APOP is not very descriptive.=20>>>>> [encrypt method=3Dmd5][/encrypt]=20>>>>>=20>>>>> secure param for setcookie=20>>>>>=20>>>>> Some other improvements off the top of my head:=20>>>>>=20>>>>> For the commerce tags (which, yes, they are still very =useful):=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6..=20>>>>> [listHeaders][/listHeaders]=20>>>>> ie.:=20>>>>> [orderfile cart=3D[cart]]=20>>>>> [listHeaders name=3DAccountnum]=20>>>>> [name]=3D[value]
=20>>>>> [/listheaders]=20>>>>> [/orderfile]=20>>>>>=20>>>>> would produce:=20>>>>> accountnum=3D=20>>>>>=20>>>>> =3D=3D=20>>>>> Ability to set a flag to use a WebDNA Database with [orderfile] =instead of the=20>>>>> order files that are created.=20>>>>>=20>>>>> =3D=3D=20>>>>> Ability to specify a unique ID within [addlineitems..], instead of =sku=20>>>>> [addlineitems uniqueID=3Dp_id&p_id=3DX&cart=3D[cart]][/addlineitems]==20>>>>> ==E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2==80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80==A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6==E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6...=20>>>>>=20>>>>>=20>>>>> "Best Match" used in WebDNA Search system is munged when using the =Summ=3DT param. <=E2=80=94 I don=E2=80=99t think that ever got fixed.=20>>>>>=20>>>>> Improvements to [removehtml]:=20>>>>> specify only parts of the html syntax... such as:=20>>>>> [removehtml comments]=20>>>>>=20>>>>> New SiteBuilder?=20>>>>>=20>>>>> code for Payment and Shipping Gateway API=E2=80=99s.=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>> ---------------------------------------------------------=20>>>>> This message is sent to you because you are subscribed to=20>>>>> the mailing list .=20>>>>> To unsubscribe, E-mail to: =20>>>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>>>> Bug Reporting: support@webdna.us=20>>>> ---------------------------------------------------------=20>>>> This message is sent to you because you are subscribed to=20>>>> the mailing list .=20>>>> To unsubscribe, E-mail to: =20>>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>>> Bug Reporting: support@webdna.us=20>>>>=20>>>>=20>>>>=20>>>> --=20>>>> Matthew A Perosi=20>>>> Corporate Consultant=20>>>> Mobile Marketing Expert=20>>>> Senior Web Developer=20>>>> SEO Analyst & Educator=20>>>> matt@psiprime.com=20>>>>=20>>>> Psi Prime, Inc.=20>>>> 323 Union Blvd.=20>>>> Totowa, NJ 07512=20>>>>=20>>>> Direct: 888.872.0274=20>>>> Fax: 888.488.5924=20>>>>=20>>>> http://www.perosi.com=20>>> ---------------------------------------------------------=20>>> This message is sent to you because you are subscribed to=20>>> the mailing list .=20>>> To unsubscribe, E-mail to: =20>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>> Bug Reporting: support@webdna.us=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> ---------------------------------------------------------> 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
Associated Messages, from the most recent to the oldest:
Got my vote.Kind regardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.au> On 17 Jan 2015, at 1:00 am, christophe.billiottet@webdna.us wrote:>=20> If we work on the [switch] cell to introduce the full set of =comparisons available with [showif], will you all still need the =[elseif] ?> I ask because if seems to me this is something missing with [switch] =that should have been there in the first place, but the [elseif] concept =could show a little bit heavy and less elegant=E2=80=A6>=20> - chris>=20>=20>> On 15 Jan 2015, at 20:58, iPhonzie@G wrote:>>=20>> The do/while and repeat/until scenarios can be easily enough managed =with [loop], so that doesn=E2=80=99t bother me enough to need the =additional tags, but I would love to see [break] available in EVERY =looping context - founditems, listwords, formvariables, etc.>>=20>>=20>> [elseif] would be a great addition for situations where you have a =number of mutually exclusive conditions that are to complex for =[switch]. I have lots of code that looks like this:>>=20>> [if (condition1)]>> [then]>> do stuff 1>> [/then]>> [else]>> [if (condition2)]>> [then]>> do stuff 2>> [/then]>> [else]>> [if (condition3)]>> [then]>> do stuff 3>> [/then]>> [else]>> do default stuff>> [/else]>> [/if]>> [/else]>> [/if]>> [/else]>> [/if]>>=20>> This would be much nicer if I could write:>>=20>> [if (condition1)]>> [then]>> do stuff 1>> [/then]>> [elseif (condition2)]>> do stuff 2>> [/elseif]>> [elseif (condition3)]>> do stuff 3>> [/elseif]>> [else]>> do default stuff>> [/else]>> [/if]>>=20>>=20>> This could similarly be addressed with an alternative form of =switch/case. One possibility would be if no parameters are in the =[switch] tag, then [if]-style comparisons could be put into each [case] =tag:>>=20>> [switch]>> [case (condition1)]>> do stuff 1>> [/case]>> [case (condition2)]>> do stuff 2>> [/case]>> [case (condition3)]>> do stuff 3>> [/case]>> [default]>> do default stuff>> [/default]>> [/switch]>>=20>>=20>> =E2=80=94 Brian Fries>>=20>> On January 15, 2015 at 9:34:47 AM, Psi Prime Inc, Matthew A Perosi =(matt@psiprime.com) wrote:>>=20>>> There have been plenty of time when I needed a [do]/[while] or a=20>>> [repeat]/[until] statement.=20>>>=20>>> The [removehtml] needs to be improved to recognize the new format =for=20>>> HTML. Instead of removing HTML tags formatted like this:=20>>> =20>>> it needs to also recognize this new format like this:=20>>> =20>>>=20>>> Secure cookies are a good idea and I could use those too.=20>>>=20>>> -Matt=20>>>=20>>>=20>>> On 1/15/2015 11:23 AM, christophe.billiottet@webdna.us wrote:=20>>>> Some possible ideas; please explain specifically what you want with ="[elseif] to [if] context" and the [switch]=20>>>>=20>>>> The "commerce tags" are not supported anymore. Also, PostGres is =not on the roadmap at this time.=20>>>>=20>>>> You have had an opportunity earlier.=20>>>>=20>>>> - chris=20>>>>=20>>>>=20>>>>=20>>>>=20>>>>> On 15 Jan 2015, at 18:56, Donovan Brooke wrote:=20=>>>>>=20>>>>> If resources are going to be put into development rather than =marketing, why not make some *standardized* improvements that will =attract new users.=20>>>>> I=E2=80=99m talking about things that programmers look for in a =language.=20>>>>>=20>>>>> Off the top of my head:=20>>>>> [elseif] to [if] context.=20>>>>>=20>>>>> Database support, starting with PostGres=20>>>>> ie. [SQLConnect dbtype=3DPostGres]=20>>>>>=20>>>>> [sendmail] (local) override (instead of global server setting) of =things like smtp port/auth, TLS settings, etc.. We already have the =roadmap to make that local.=20>>>>>=20>>>>> [switch..] context with more comparison options.=20>>>>>=20>>>>> Add Md5 (and other newer encryption, digest, etc.) to encrypt..=20>>>>> for md5, just copy APOP. APOP is not very descriptive.=20>>>>> [encrypt method=3Dmd5][/encrypt]=20>>>>>=20>>>>> secure param for setcookie=20>>>>>=20>>>>> Some other improvements off the top of my head:=20>>>>>=20>>>>> For the commerce tags (which, yes, they are still very =useful):=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6..=20>>>>> [listHeaders][/listHeaders]=20>>>>> ie.:=20>>>>> [orderfile cart=3D[cart]]=20>>>>> [listHeaders name=3DAccountnum]=20>>>>> [name]=3D[value]
=20>>>>> [/listheaders]=20>>>>> [/orderfile]=20>>>>>=20>>>>> would produce:=20>>>>> accountnum=3D=20>>>>>=20>>>>> =3D=3D=20>>>>> Ability to set a flag to use a WebDNA Database with [orderfile] =instead of the=20>>>>> order files that are created.=20>>>>>=20>>>>> =3D=3D=20>>>>> Ability to specify a unique ID within [addlineitems..], instead of =sku=20>>>>> [addlineitems uniqueID=3Dp_id&p_id=3DX&cart=3D[cart]][/addlineitems]==20>>>>> ==E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2==80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80==A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6==E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6=E2=80=A6...=20>>>>>=20>>>>>=20>>>>> "Best Match" used in WebDNA Search system is munged when using the =Summ=3DT param. <=E2=80=94 I don=E2=80=99t think that ever got fixed.=20>>>>>=20>>>>> Improvements to [removehtml]:=20>>>>> specify only parts of the html syntax... such as:=20>>>>> [removehtml comments]=20>>>>>=20>>>>> New SiteBuilder?=20>>>>>=20>>>>> code for Payment and Shipping Gateway API=E2=80=99s.=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>>=20>>>>> ---------------------------------------------------------=20>>>>> This message is sent to you because you are subscribed to=20>>>>> the mailing list .=20>>>>> To unsubscribe, E-mail to: =20>>>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>>>> Bug Reporting: support@webdna.us=20>>>> ---------------------------------------------------------=20>>>> This message is sent to you because you are subscribed to=20>>>> the mailing list .=20>>>> To unsubscribe, E-mail to: =20>>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>>> Bug Reporting: support@webdna.us=20>>>>=20>>>>=20>>>>=20>>>> --=20>>>> Matthew A Perosi=20>>>> Corporate Consultant=20>>>> Mobile Marketing Expert=20>>>> Senior Web Developer=20>>>> SEO Analyst & Educator=20>>>> matt@psiprime.com=20>>>>=20>>>> Psi Prime, Inc.=20>>>> 323 Union Blvd.=20>>>> Totowa, NJ 07512=20>>>>=20>>>> Direct: 888.872.0274=20>>>> Fax: 888.488.5924=20>>>>=20>>>> http://www.perosi.com=20>>> ---------------------------------------------------------=20>>> This message is sent to you because you are subscribed to=20>>> the mailing list .=20>>> To unsubscribe, E-mail to: =20>>> archives: http://mail.webdna.us/list/talk@webdna.us=20>>> Bug Reporting: support@webdna.us=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> ---------------------------------------------------------> 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
Stuart Tremain
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:
Unexpected error (1997)
problems with 2 tags (1997)
MOOOOOO (2000)
OT: Jobseekers beware... (2003)
DB Emergency (2002)
All questions are welcome on this list (1997)
using showpage and showcart commands (1996)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Checkbox question (1997)
Odd
How to find 100 most recent additions. (1997)
Database field limit? (1998)
How do I get Google to crawl a WebCat site? (2003)
Digest for 4/18/97 (1997)
Hosted on Cobalt Linux (2001)
Replace context problem ... (1997)
Email template names (1997)
WebCat2 - [format thousands] (1997)
flushdatabases (1997)
Modifying order output (1997)