Re: [WebDNA] improvements

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111902
interpreted = N
texte = --54b7ffa9_327b23c6_12a Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The do/while and repeat/until scenarios can be easily enough managed with= =5Bloop=5D, so that doesn=E2=80=99t bother me enough to need the additio= nal tags, but I would love to see =5Bbreak=5D available in EVERY looping = context - founditems, listwords, formvariables, etc. =5Belseif=5D would be a great addition for situations where you have a nu= mber of mutually exclusive conditions that are to complex for =5Bswitch=5D= . I have lots of code that looks like this: =5Bif (condition1)=5D =5Bthen=5D do stuff 1 =5B/then=5D =5Belse=5D =5Bif (condition2)=5D =5Bthen=5D do stuff 2 =5B/then=5D =5Belse=5D =5Bif (condition3)=5D =5Bthen=5D do stuff 3 =5B/then=5D =5Belse=5D do default stuff =5B/else=5D =5B/if=5D =5B/else=5D =5B/if=5D =5B/else=5D =5B/if=5D This would be much nicer if I could write: =5Bif (condition1)=5D =5Bthen=5D do stuff 1 =5B/then=5D =5Belseif (condition2)=5D do stuff 2 =5B/elseif=5D =5Belseif (condition3)=5D do stuff 3 =5B/elseif=5D =5Belse=5D do default stuff =5B/else=5D =5B/if=5D This could similarly be addressed with an alternative form of switch/case= . One possibility would be if no parameters are in the =5Bswitch=5D tag, = then =5Bif=5D-style comparisons could be put into each =5Bcase=5D tag: =5Bswitch=5D =5Bcase (condition1)=5D do stuff 1 =5B/case=5D =5Bcase (condition2)=5D do stuff 2 =5B/case=5D =5Bcase (condition3)=5D do stuff 3 =5B/case=5D =5Bdefault=5D do default stuff =5B/default=5D =5B/switch=5D =E2=80=94 Brian =46ries On January 15, 2015 at 9:34:47 AM, Psi Prime Inc, Matthew A Perosi (matt=40= psiprime.com) wrote: There have been plenty of time when I needed a =5Bdo=5D/=5Bwhile=5D or a = =20 =5Brepeat=5D/=5Buntil=5D statement. =20 The =5Bremovehtml=5D 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 Secure cookies are a good idea and I could use those too. =20 -Matt =20 On 1/15/2015 11:23 AM, christophe.billiottet=40webdna.us wrote: =20 > Some possible ideas; please explain specifically what you want with =22= =5Belseif=5D to =5Bif=5D context=22 and the =5Bswitch=5D =20 > =20 > The =22commerce tags=22 are not supported anymore. Also, PostGres is no= t 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 marketin= g, why not make some *standardized* improvements that will attract new us= ers. =20 >> I=E2=80=99m talking about things that programmers look for in a langua= ge. =20 >> =20 >> Off the top of my head: =20 >> =5Belseif=5D to =5Bif=5D context. =20 >> =20 >> Database support, starting with PostGres =20 >> ie. =5BSQLConnect dbtype=3DPostGres=5D =20 >> =20 >> =5Bsendmail=5D (local) override (instead of global server setting) of = things like smtp port/auth, TLS settings, etc.. We already have the roadm= ap to make that local. =20 >> =20 >> =5Bswitch..=5D 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 >> =5Bencrypt method=3Dmd5=5D=5B/encrypt=5D =20 >> =20 >> secure param for setcookie =20 >> =20 >> Some other improvements off the top of my head: =20 >> =20 >> =46or 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 >> =5BlistHeaders=5D=5B/listHeaders=5D =20 >> ie.: =20 >> =5Borderfile cart=3D=5Bcart=5D=5D =20 >> =5BlistHeaders name=3DAccountnum=5D =20 >> =5Bname=5D=3D=5Bvalue=5D
=20 >> =5B/listheaders=5D =20 >> =5B/orderfile=5D =20 >> =20 >> would produce: =20 >> accountnum=3D =20 >> =20 >> =3D=3D =20 >> Ability to set a flag to use a WebDNA Database with =5Borderfile=5D in= stead of the =20 >> order files that are created. =20 >> =20 >> =3D=3D =20 >> Ability to specify a unique ID within =5Baddlineitems..=5D, instead of= sku =20 >> =5Baddlineitems uniqueID=3Dp=5Fid&p=5Fid=3DX&cart=3D=5Bcart=5D=5D=5B/a= ddlineitems=5D =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 >> =22Best Match=22 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 =5Bremovehtml=5D: =20 >> specify only parts of the html syntax... such as: =20 >> =5Bremovehtml comments=5D =20 >> =20 >> New SiteBuilder=3F =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=40webdna.us =20 >> Bug Reporting: support=40webdna.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=40webdna.us =20 > Bug Reporting: support=40webdna.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=40psiprime.com =20 > =20 > Psi Prime, Inc. =20 > 323 Union Blvd. =20 > Totowa, NJ 07512 =20 > =20 > Direct: 888.872.0274 =20 > =46ax: 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=40webdna.us =20 Bug Reporting: support=40webdna.us =20 --54b7ffa9_327b23c6_12a Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline