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

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111913
interpreted = N
texte = This doesn=92t really work too well in an MVC / modular type of coding = style Terry=85 though it=92s perfectly fine to code that way.=20 Donovan On Jan 15, 2015, at 11:40 AM, Terry Wilson wrote: > Maybe I'm missing something, but why can't you simply keep the = [search] open until you're finished with your various founditems loops? = Not that unusual for me to do a search and have more than one founditem = loops before closing the search. In the shopping cart system, aren't = orderfiles routinely opened at the top and closed at the bottom? >=20 >=20 > On Jan 14, 2015, at 12:57 PM, Brian Burton wrote: >=20 >> 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] >>=20 >>=20 >>=20 >>=20 >> then later in the page, where i=92m rendering the html >> [displayfounditems use=3Dpeoplenameddave] html things = [/displayfounditems] >>=20 >>=20 >>=20 >> I know it looks like it=92s 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.=20 >>=20 >> ok, feel free to start telling me how you can do this with a table = (you=92re missing the point) or how we don=92t need more tags or = whatever :)=20 >>=20 >>=20 >> -Brian B. Burton >> --------------------------------------------------------- >> 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:

    
  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)
This doesn=92t really work too well in an MVC / modular type of coding = style Terry=85 though it=92s perfectly fine to code that way.=20 Donovan On Jan 15, 2015, at 11:40 AM, Terry Wilson wrote: > Maybe I'm missing something, but why can't you simply keep the = [search] open until you're finished with your various founditems loops? = Not that unusual for me to do a search and have more than one founditem = loops before closing the search. In the shopping cart system, aren't = orderfiles routinely opened at the top and closed at the bottom? >=20 >=20 > On Jan 14, 2015, at 12:57 PM, Brian Burton wrote: >=20 >> 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] >>=20 >>=20 >>=20 >>=20 >> then later in the page, where i=92m rendering the html >> [displayfounditems use=3Dpeoplenameddave] html things = [/displayfounditems] >>=20 >>=20 >>=20 >> I know it looks like it=92s 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.=20 >>=20 >> ok, feel free to start telling me how you can do this with a table = (you=92re missing the point) or how we don=92t need more tags or = whatever :)=20 >>=20 >>=20 >> -Brian B. Burton >> --------------------------------------------------------- >> 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 Donovan Brooke

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:

[shippingtotal] & Formulas.db prob (2003) autosensing lanague selection (1997) For those of you not on the WebCatalog Beta... (1997) 2.1 pricing? (1998) syntax question, not in online refernce (1997) From database to email (1999) syntax question, not in online refernce (1997) FoxPro & WebDNA (2006) [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) Secure Server (1999) RE: Answer: WebDelivery downloads alias, not original ? (1997) Summing fields (1997) OT JavaScript question (1999) question: back button prevention (1997) WebCat2 - Getting to the browser's username/password data (1997) Great product and great job ! (1997) WebCat editing, SiteGuard & SiteEdit (1997) shipping calcs (1998) [WebDNA] ImageMagick code (2013) populating a table from multiple cookies (2005)