Re: [WebDNA] improvements

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111911
interpreted = N
texte = --Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In fact I do use the [loop] to implement the do/while and repeat/until.=20 But sine this discussion is all about adding new tags to reduce the convolut= ed need for other programming, then the do/while and repeat/until both fall i= nto that category.=20 -Matt Sent from my European iPhone > On Jan 15, 2015, at 6:58 PM, 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 - foundi= tems, listwords, formvariables, etc. >=20 >=20 > [elseif] would be a great addition for situations where you have a number o= f mutually exclusive conditions that are to complex for [switch]. I have lot= s 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 "[e= lseif] 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 marketin= g, 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 langua= ge.=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 thin= gs like smtp port/auth, TLS settings, etc.. We already have the roadmap to m= ake 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] instea= d 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 Sum= m=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 > --------------------------------------------------------- This message is s= ent 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 --Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
In fact I do use the [loop] to impleme= nt the do/while and repeat/until. 

But sine th= is discussion is all about adding new tags to reduce the convoluted need for= other programming, then the do/while and repeat/until both fall into that category. = ;

-Matt

Sent from my European iPhone<= /div>

On Jan 15, 2015, at 6:58 PM, iPhonzie@G <iphonzie@gmail.com> wrote:

The d= o/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, l= istwords, formvariables, etc.


[elseif] would be a great addition for situations where you h= ave a number of mutually exclusive conditions that are to complex for [switc= h]. I have lots of code that looks like this:

[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]

T= his would be much nicer if I could write:

[if (condition1= )]
[then]
do stuff 1
[/then]
[elseif (condition2)]
<= div>do stuff 2
[/elseif]
[elseif (condition3)]
do s= tuff 3
= [/elseif]
[else]
do default stuff
<= span class=3D"Apple-tab-span" style=3D"white-space:pre">[/el= se]
[/if]


This could simil= arly be addressed with an alternative form of switch/case. One possibility w= ould be if no parameters are in the [switch] tag, then [if]-style comparison= s could be put into each [case] tag:

[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]


=E2=80=94 Brian Fries

On January 15, 2015 at 9:34:47 AM, Psi Prime I= nc, Matthew A Perosi (matt@psiprime.com= ) wrote:

There have been plenty of time when I needed a [do]/[while] or a= =20
[repeat]/[until] statement.

The [removehtml] needs to be improved to recognize the new format for =20=
HTML. Instead of removing HTML tags formatted like this:
<anything_between_here>
it needs to also recognize this new format like this:
<anything_between_here_followed_by_space_slash />

Secure cookies are a good idea and I could use those too.

-Matt


On 1/15/2015 11:23 AM, christophe.billiottet@webdna.us wrote:
> Some possible ideas; please explain specifically what you want with= "[elseif] to [if] context" and the [switch]
>
> The "commerce tags" are not supported anymore. Also, PostGres is no= t on the roadmap at this time.
>
> You have had an opportunity earlier.
>
> - chris
>
>
>
>
>> On 15 Jan 2015, at 18:56, Donovan Brooke <dbrooke@euca.us> wrote:
>>
>> If resources are going to be put into development rather than m= arketing, why not make some *standardized* improvements that will attract ne= w users.
>> I=E2=80=99m talking about things that programmers look for in a= language.
>>
>> Off the top of my head:
>> [elseif] to [if] context.
>>
>> Database support, starting with PostGres
>> ie. [SQLConnect dbtype=3DPostGres]
>>
>> [sendmail] (local) override (instead of global server setting) o= f things like smtp port/auth, TLS settings, etc.. We already have the roadma= p to make that local.
>>
>> [switch..] context with more comparison options.
>>
>> Add Md5 (and other newer encryption, digest, etc.) to encrypt..=
>> for md5, just copy APOP. APOP is not very descriptive.
>> [encrypt method=3Dmd5][/encrypt]
>>
>> secure param for setcookie
>>
>> Some other improvements off the top of my head:
>>
>> 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..
>> [listHeaders][/listHeaders]
>> ie.:
>> [orderfile cart=3D[cart]]
>> [listHeaders name=3DAccountnum]
>> [name]=3D[value]<br>
>> [/listheaders]
>> [/orderfile]
>>
>> would produce:
>> accountnum=3D<thevalue>
>>
>> =3D=3D
>> Ability to set a flag to use a WebDNA Database with [orderfile]= instead of the
>> order files that are created.
>>
>> =3D=3D
>> Ability to specify a unique ID within [addlineitems..], instead= of sku
>> [addlineitems uniqueID=3Dp_id&p_id=3DX&cart=3D[cart]][/= addlineitems]
>> =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...
>>
>>
>> "Best Match" used in WebDNA Search system is munged when using t= he Summ=3DT param. <=E2=80=94 I don=E2=80=99t think that ever got fixed.
>>
>> Improvements to [removehtml]:
>> specify only parts of the html syntax... such as:
>> [removehtml comments]
>>
>> New SiteBuilder?
>>
>> code for Payment and Shipping Gateway API=E2=80=99s.
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------
>> This message is sent to you because you are subscribed to
>> the mailing list <talk@web= dna.us>.
>> To unsubscribe, E-mail to: <talk-leave@webdna.us>
>> archives: http://mail.webdna.us/list/talk@webdna.us
>> Bug Reporting: support@web= dna.us
> ---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <talk@webdna.= us>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: htt= p://mail.webdna.us/list/talk@webdna.us
> Bug Reporting: support@webdna.= us
>
>
>
> -- =20
> Matthew A Perosi
> Corporate Consultant
> Mobile Marketing Expert
> Senior Web Developer
> SEO Analyst & Educator
> matt@psiprime.com
>
> Psi Prime, Inc.
> 323 Union Blvd.
> Totowa, NJ 07512
>
> Direct: 888.872.0274
> Fax: 888.488.5924
>
> http://www.perosi.com
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <
t= alk-leave@webdna.us>
archives: http://m= ail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
--------------------------------------------------------- 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
= --Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] improvements (Stuart Tremain 2015)
  2. Re: [WebDNA] improvements (=?utf-8?Q?iPhonzie=40G?= 2015)
  3. Re: [WebDNA] improvements (Tom Duke 2015)
  4. Re: [WebDNA] improvements (christophe.billiottet@webdna.us 2015)
  5. Re: [WebDNA] improvements (Jym Duane 2015)
  6. Re: [WebDNA] improvements (christophe.billiottet@webdna.us 2015)
  7. Re: [WebDNA] improvements (=?utf-8?Q?iPhonzie=40G?= 2015)
  8. Re: [WebDNA] improvements (Brian Burton 2015)
  9. Re: [WebDNA] improvements (Dan Strong 2015)
  10. Re: [WebDNA] improvements (Stephen Reiss 2015)
  11. Re: [WebDNA] improvements (=?utf-8?Q?iPhonzie=40G?= 2015)
  12. Re: [WebDNA] improvements (Kenneth Grome 2015)
  13. Re: [WebDNA] improvements (Dan Strong 2015)
  14. Re: [WebDNA] improvements (Donovan Brooke 2015)
  15. Re: [WebDNA] improvements (Matthew Perosi 2015)
  16. Re: [WebDNA] improvements (Kenneth Grome 2015)
  17. Re: [WebDNA] improvements (=?utf-8?Q?iPhonzie=40G?= 2015)
  18. Re: [WebDNA] improvements ("Psi Prime Inc, Matthew A Perosi " 2015)
  19. Re: [WebDNA] improvements (christophe.billiottet@webdna.us 2015)
  20. [WebDNA] improvements (Donovan Brooke 2015)
--Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In fact I do use the [loop] to implement the do/while and repeat/until.=20 But sine this discussion is all about adding new tags to reduce the convolut= ed need for other programming, then the do/while and repeat/until both fall i= nto that category.=20 -Matt Sent from my European iPhone > On Jan 15, 2015, at 6:58 PM, 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 - foundi= tems, listwords, formvariables, etc. >=20 >=20 > [elseif] would be a great addition for situations where you have a number o= f mutually exclusive conditions that are to complex for [switch]. I have lot= s 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 "[e= lseif] 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 marketin= g, 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 langua= ge.=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 thin= gs like smtp port/auth, TLS settings, etc.. We already have the roadmap to m= ake 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] instea= d 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 Sum= m=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 > --------------------------------------------------------- This message is s= ent 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 --Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
In fact I do use the [loop] to impleme= nt the do/while and repeat/until. 

But sine th= is discussion is all about adding new tags to reduce the convoluted need for= other programming, then the do/while and repeat/until both fall into that category. = ;

-Matt

Sent from my European iPhone<= /div>

On Jan 15, 2015, at 6:58 PM, iPhonzie@G <iphonzie@gmail.com> wrote:

The d= o/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, l= istwords, formvariables, etc.


[elseif] would be a great addition for situations where you h= ave a number of mutually exclusive conditions that are to complex for [switc= h]. I have lots of code that looks like this:

[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]

T= his would be much nicer if I could write:

[if (condition1= )]
[then]
do stuff 1
[/then]
[elseif (condition2)]
<= div>do stuff 2
[/elseif]
[elseif (condition3)]
do s= tuff 3
= [/elseif]
[else]
do default stuff
<= span class=3D"Apple-tab-span" style=3D"white-space:pre">[/el= se]
[/if]


This could simil= arly be addressed with an alternative form of switch/case. One possibility w= ould be if no parameters are in the [switch] tag, then [if]-style comparison= s could be put into each [case] tag:

=
[case (condition1)]
do stuff 1
[/case]
[case= (condition2)]
do stuff 2
[/case]
[case (condition3)]
do stuff 3
[/case]
[default]
do default stuff
[/default]
[/switch]


=E2=80=94 Brian Fries

On January 15, 2015 at 9:34:47 AM, Psi Prime I= nc, Matthew A Perosi (matt@psiprime.com= ) wrote:

There have been plenty of time when I needed a [do]/[while] or a= =20
[repeat]/[until] statement.

The [removehtml] needs to be improved to recognize the new format for =20=
HTML. Instead of removing HTML tags formatted like this:
<anything_between_here>
it needs to also recognize this new format like this:
<anything_between_here_followed_by_space_slash />

Secure cookies are a good idea and I could use those too.

-Matt


On 1/15/2015 11:23 AM, christophe.billiottet@webdna.us wrote:
> Some possible ideas; please explain specifically what you want with= "[elseif] to [if] context" and the [switch]
>
> The "commerce tags" are not supported anymore. Also, PostGres is no= t on the roadmap at this time.
>
> You have had an opportunity earlier.
>
> - chris
>
>
>
>
>> On 15 Jan 2015, at 18:56, Donovan Brooke <dbrooke@euca.us> wrote:
>>
>> If resources are going to be put into development rather than m= arketing, why not make some *standardized* improvements that will attract ne= w users.
>> I=E2=80=99m talking about things that programmers look for in a= language.
>>
>> Off the top of my head:
>> [elseif] to [if] context.
>>
>> Database support, starting with PostGres
>> ie. [SQLConnect dbtype=3DPostGres]
>>
>> [sendmail] (local) override (instead of global server setting) o= f things like smtp port/auth, TLS settings, etc.. We already have the roadma= p to make that local.
>>
>> [switch..] context with more comparison options.
>>
>> Add Md5 (and other newer encryption, digest, etc.) to encrypt..=
>> for md5, just copy APOP. APOP is not very descriptive.
>> [encrypt method=3Dmd5][/encrypt]
>>
>> secure param for setcookie
>>
>> Some other improvements off the top of my head:
>>
>> 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..
>> [listHeaders][/listHeaders]
>> ie.:
>> [orderfile cart=3D[cart]]
>> [listHeaders name=3DAccountnum]
>> [name]=3D[value]<br>
>> [/listheaders]
>> [/orderfile]
>>
>> would produce:
>> accountnum=3D<thevalue>
>>
>> =3D=3D
>> Ability to set a flag to use a WebDNA Database with [orderfile]= instead of the
>> order files that are created.
>>
>> =3D=3D
>> Ability to specify a unique ID within [addlineitems..], instead= of sku
>> [addlineitems uniqueID=3Dp_id&p_id=3DX&cart=3D[cart]][/= addlineitems]
>> =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...
>>
>>
>> "Best Match" used in WebDNA Search system is munged when using t= he Summ=3DT param. <=E2=80=94 I don=E2=80=99t think that ever got fixed.
>>
>> Improvements to [removehtml]:
>> specify only parts of the html syntax... such as:
>> [removehtml comments]
>>
>> New SiteBuilder?
>>
>> code for Payment and Shipping Gateway API=E2=80=99s.
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------
>> This message is sent to you because you are subscribed to
>> the mailing list <talk@web= dna.us>.
>> To unsubscribe, E-mail to: <talk-leave@webdna.us>
>> archives: http://mail.webdna.us/list/talk@webdna.us
>> Bug Reporting: support@web= dna.us
> ---------------------------------------------------------
> This message is sent to you because you are subscribed to
> the mailing list <talk@webdna.= us>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: htt= p://mail.webdna.us/list/talk@webdna.us
> Bug Reporting: support@webdna.= us
>
>
>
> -- =20
> Matthew A Perosi
> Corporate Consultant
> Mobile Marketing Expert
> Senior Web Developer
> SEO Analyst & Educator
> matt@psiprime.com
>
> Psi Prime, Inc.
> 323 Union Blvd.
> Totowa, NJ 07512
>
> Direct: 888.872.0274
> Fax: 888.488.5924
>
> http://www.perosi.com
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <
t= alk-leave@webdna.us>
archives: http://m= ail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
--------------------------------------------------------- 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
= --Apple-Mail-16FD106E-FFE2-4F32-8381-B35773B69357-- Matthew Perosi

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:

RE: Languages (1997) Too Many Items found (2000) [OT] MySQL Expert Needed (2004) WebCat2b15MacPlugin - showing [math] (1997) [WebDNA] HTML/OS vs. WebDNA ? (2008) Multiple Ad databases? (1997) More on the email templates (1997) I give up!! (1997) Multiple prices (1997) ShoppingCarts (2000) Ready to h[url]!!! (1999) WebCat Versions (2003) Passing variables to Realm Authentication - WebStar (1998) hiding hyperlink info in URL field (1999) Summary Searches (2000) NT Setup (1998) WebCat2b13MacPlugin - nested [xxx] contexts (1997) date formatting question (2001) Using Cookie for client specific info? (1997) cookies and [returnraw] (1997)