Re: [WebDNA] maybe silly suggestion? [founditems]
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 111900
interpreted = N
texte = 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?On Jan 14, 2015, at 12:57 PM, Brian Burton
wrote:> 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
Associated Messages, from the most recent to the oldest:
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?On Jan 14, 2015, at 12:57 PM, Brian Burton wrote:> 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
Terry Wilson
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: Adding headers to email (1997)
multi-paragraph fields (1997)
Join us at MacWorld! - Part 2 (1998)
SiteGuard Admin Feature ? (1997)
Mac OS X ODBC (2002)
Credit Card Number checking (1997)
$Replace with [founditems] (1997)
OT: PDA Browser Emulator (2006)
View order not right (1997)
Download URL & access on the fly ? (1997)
pretty Urgent: Crash after addlineitem (2001)
search same field twice??? (1999)
[WriteFile] problems (1997)
[INCLUDE] Limitations (1998)
grep / [middle] help (2003)
Re:no [search] with NT (1997)
Missing from Docs [folderName] (1997)
[OT] Bad Hard Drive? (2003)
[Sum] function? (1997)
Slightly [OT] - Finding host names (1999)