Re: [WebDNA] maybe silly suggestion? [founditems]

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111882
interpreted = N
texte = Code inside the founditems context typically contains both WebDNA and HTML thus making separation practically impossible, doesn't it? You can always repeat your founditems results like this: [search] [text]savefounditems=[founditems] whatever ... [/founditems][/text] [/search] [savefounditems] Maybe I just don't get the point of such a tag/context. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Management > to help separate my controller logic from my display code it > would be awesome to have a shortcut like: [search > db=allthethings.db&blahblahblah][savefounditems > name=peoplenameddave][/search] > > then later in the page, where i’m rendering the html > [displayfounditems use=peoplenameddave] html things > [/displayfounditems] > > I know it looks like it’s 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. > > ok, feel free to start telling me how you can do this with a > table (you’re missing the point) or how we don’t need more tags > or whatever :) Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  2. Re: [WebDNA] maybe silly suggestion? [founditems] (christophe.billiottet@webdna.us 2015)
  3. Re: [WebDNA] maybe silly suggestion? [founditems] (Michael Davis 2015)
  4. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  5. Re: [WebDNA] maybe silly suggestion? [founditems] (christophe.billiottet@webdna.us 2015)
  6. Re: [WebDNA] maybe silly suggestion? [founditems] (Stuart Tremain 2015)
  7. Re: [WebDNA] maybe silly suggestion? [founditems] (Dan Strong 2015)
  8. Re: [WebDNA] maybe silly suggestion? [founditems] (Brian Burton 2015)
  9. Re: [WebDNA] maybe silly suggestion? [founditems] (Brian Burton 2015)
  10. Re: [WebDNA] maybe silly suggestion? [founditems] (Dan Strong 2015)
  11. Re: [WebDNA] maybe silly suggestion? [founditems] (Brian Burton 2015)
  12. Re: [WebDNA] maybe silly suggestion? [founditems] (=?utf-8?Q?iPhonzie=40G?= 2015)
  13. Re: [WebDNA] maybe silly suggestion? [founditems] (Brian Burton 2015)
  14. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  15. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  16. Re: [WebDNA] maybe silly suggestion? [founditems] (Dan Strong 2015)
  17. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  18. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  19. Re: [WebDNA] maybe silly suggestion? [founditems] (=?utf-8?Q?iPhonzie=40G?= 2015)
  20. Re: [WebDNA] maybe silly suggestion? [founditems] (=?utf-8?Q?iPhonzie=40G?= 2015)
  21. Re: [WebDNA] maybe silly suggestion? [founditems] (christophe.billiottet@webdna.us 2015)
  22. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  23. Re: [WebDNA] maybe silly suggestion? [founditems] (=?utf-8?Q?iPhonzie=40G?= 2015)
  24. Re: [WebDNA] maybe silly suggestion? [founditems] (=?utf-8?Q?iPhonzie=40G?= 2015)
  25. Re: [WebDNA] maybe silly suggestion? [founditems] (Stephen Reiss 2015)
  26. Re: [WebDNA] maybe silly suggestion? [founditems] (Terry Wilson 2015)
  27. Re: [WebDNA] maybe silly suggestion? [founditems] (Terry Wilson 2015)
  28. Re: [WebDNA] maybe silly suggestion? [founditems] (Lawrence Banahan 2015)
  29. Re: [WebDNA] maybe silly suggestion? [founditems] ("Psi Prime Inc, Matthew A Perosi " 2015)
  30. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  31. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  32. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  33. Re: [WebDNA] maybe silly suggestion? [founditems] (Terry Wilson 2015)
  34. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  35. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  36. Re: [WebDNA] maybe silly suggestion? [founditems] (Terry Wilson 2015)
  37. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  38. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  39. Re: [WebDNA] maybe silly suggestion? [founditems] (Donovan Brooke 2015)
  40. Re: [WebDNA] maybe silly suggestion? [founditems] (christophe.billiottet@webdna.us 2015)
  41. Re: [WebDNA] maybe silly suggestion? [founditems] (Kenneth Grome 2015)
  42. [WebDNA] maybe silly suggestion? [founditems] (Brian Burton 2015)
Code inside the founditems context typically contains both WebDNA and HTML thus making separation practically impossible, doesn't it? You can always repeat your founditems results like this: [search] [text]savefounditems=[founditems] whatever ... [/founditems][/text] [/search] [savefounditems] Maybe I just don't get the point of such a tag/context. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Management > to help separate my controller logic from my display code it > would be awesome to have a shortcut like: [search > db=allthethings.db&blahblahblah][savefounditems > name=peoplenameddave][/search] > > then later in the page, where i’m rendering the html > [displayfounditems use=peoplenameddave] html things > [/displayfounditems] > > I know it looks like it’s 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. > > ok, feel free to start telling me how you can do this with a > table (you’re missing the point) or how we don’t need more tags > or whatever :) Kenneth Grome

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:

Quantity (1998) Problems with [Applescript] (1997) need some help with a loop [nested search?] (1999) [WebDNA] SOAP support (2014) when is date system date or order date? (1997) Search results templates (1996) Draft Manual, Tutorial, and more (1997) Limiting user access to .tmpl files (1997) Buying sans cart (1997) Who is doing sign-ups-got it (1998) WebMerchant and MacAuthorize Errors (1998) WebCat2b15MacPlugin - [protect] (1997) WebDNA-Talk Digest mode broken (1997) WebCat 5 Intranet Question (2003) getchars broken? (1997) A little help on e-mail (HELP!!! :-) ) (1998) Claris HomePage messes up the code (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) WC2b15 File Corruption (1997) [random] only for 1-100??? (1997)