[WebDNA] maybe silly suggestion? [founditems]
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 111881
interpreted = N
texte = to help separate my controller logic from my display code it would be =awesome to have a shortcut like:[search db=3Dallthethings.db&blahblahblah][savefounditems =name=3Dpeoplenameddave][/search]then later in the page, where i=E2=80=99m rendering the html[displayfounditems use=3Dpeoplenameddave] html things =[/displayfounditems]I know it looks like it=E2=80=99s not saving that much code, but I can =see switching which search I want in the controller, and still being =able to use a universal founditems loop lower in the code. Also the =ability to reuse search results (if needed) without doing the same =search again.=20ok, feel free to start telling me how you can do this with a table =(you=E2=80=99re missing the point) or how we don=E2=80=99t need more =tags or whatever :)=20-Brian B. Burton=
Associated Messages, from the most recent to the oldest:
to help separate my controller logic from my display code it would be =awesome to have a shortcut like:[search db=3Dallthethings.db&blahblahblah][savefounditems =name=3Dpeoplenameddave][/search]then later in the page, where i=E2=80=99m rendering the html[displayfounditems use=3Dpeoplenameddave] html things =[/displayfounditems]I know it looks like it=E2=80=99s not saving that much code, but I can =see switching which search I want in the controller, and still being =able to use a universal founditems loop lower in the code. Also the =ability to reuse search results (if needed) without doing the same =search again.=20ok, feel free to start telling me how you can do this with a table =(you=E2=80=99re missing the point) or how we don=E2=80=99t need more =tags or whatever :)=20-Brian B. Burton=
Brian Burton
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:
Sorting Numbers (1997)
Snake Bites (1997)
[platform] tag? (1998)
Stopping a [Loop] in mid-stream ... (1997)
Waitfor file (2000)
Problems passing [SKU] with $Replace in 2.0 (1997)
Creating 404 Not Found pages (1999)
Faxing orders in place of email (1997)
Support ?? (1997)
math on date? (1997)
HideIf ip= OR ip= (1998)
Mine Headers for E-mail (1998)
No Wanna Duppys (1998)
sendmail and CGatePro - Not working (2003)
List of WebDNA sub-contractors (2000)
Initiating NewCart (1997)
[WebDNA] Barcode (2014)
automatically updating all records, one by one in a db (2000)
WebDNA on Linux (2005)
2.0 Info (1997)