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

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111918
interpreted = N
texte = --001a1136287a7f48cd050cb698c8 Content-Type: text/plain; charset=UTF-8 Gotta admit that I agree with Ken and have from the start. I am not seeing the value of this either, but maybe I just don't "get it" either. Also looking forward to a concrete use case/example to help me understand the concept a bit better. -Dan Strong http://DanStrong.com On Thu, Jan 15, 2015 at 12:10 PM, Kenneth Grome wrote: > > [listfounditems] would have access to all the fields in the > > database that was searched > > Are you suggesting that [listfounditems] cache the results of the > original search? If so, this means that each time the page is > requested WebDNA must cache a new copy of the founditems data, > correct? > > And how this data going to be formatted? OR is this new context > there simply to allow you to use [fieldname] tags -- which we can > already do in our [founditems] contexts? > > > > > You could reuse the found item set multiple times in you page > > without the expensive search. > > I'm not sure why do you use the term "expensive" here ... > > If you're currently using more than one identical search per page > you're not doing it very efficiently. The better way is to do one > search and then use several founditems contexts within that one > search context. > > I do this all the time. I put several founditems context inside > my search, then I format the results of each founditems the way I > need it to be displayed further on down the page. Then I save the > formatted results of each founditems as a text variable, which > means I can display the entire formatted results with a simple > text tag like [results1]. > > This means I'm doing only one search on the page -- and one search > is certainly not "expensive" from my perspective. > > > > You could have multiple found item sets for the same database > > without the potential confusion caused by nested searches > > I almost never do nested searches anyways since there are better > ways most of the time. > > > > The search code would not need to know anything about what the > > display code will be doing with the results > > This is nothing different that what we already have with > [founditems], is it? If so, how is it different? > > > > Built into the WebDNA engine, this could be much more efficient > > than creating a set of functions to implement similar features > > Yet if we do not need these capabilities -- because we already > have them -- we do not need to use functions, and we do not need > to further complicate the engine code either, correct? > > > > In my mind, features should be added to WebDNA if and only if they > > add value that cannot be easily and efficiently implemented using > > functions. I think this qualifies. > > Sorry, I still disagree. I have yet to see anything you've > described or shown me that I cannot do right now with [founditems] > and [text]. > > I'm not trying to be difficult but I truly see no advantage in any > of this. > > Can you show me a concrete example where using multiple founditems > and text vars won't do everything you're suggesting? Because so > far I still don't get it. > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Management > > > --------------------------------------------------------- > 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 > --001a1136287a7f48cd050cb698c8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Gotta admit that I agree with Ken and have from the s= tart. I am not seeing the value of this either, but maybe I just don't = "get it" either.=C2=A0

Also loo= king forward to a concrete use case/example to help me understand the conce= pt a bit better.

-Dan Strong
http://DanStrong.com

On Thu, Jan 15, 2015 at 12:10 PM, Kenneth Gr= ome <ken@webdnasolutions.com> wrote:
> [listfounditems] would have access t= o all the fields in the
> database that was searched

Are you suggesting that [listfounditems] cache the results of the original search?=C2=A0 If so, this means that each time the page is
requested WebDNA must cache a new copy of the founditems data,
correct?

And how this data going to be formatted?=C2=A0 OR is this new context
there simply to allow you to use [fieldname] tags -- which we can
already do in our [founditems] contexts?



> You could reuse the found item set multiple times in you page
> without the expensive search.

I'm not sure why do you use the term "expensive" here ...

If you're currently using more than one identical search per page
you're not doing it very efficiently.=C2=A0 The better way is to do one=
search and then use several founditems contexts within that one
search context.

I do this all the time.=C2=A0 I put several founditems context inside
my search, then I format the results of each founditems the way I
need it to be displayed further on down the page.=C2=A0 Then I save the
formatted results of each founditems as a text variable, which
means I can display the entire formatted results with a simple
text tag like [results1].

This means I'm doing only one search on the page -- and one search
is certainly not "expensive" from my perspective.


> You could have multiple found item sets for the same database
> without the potential confusion caused by nested searches

I almost never do nested searches anyways since there are better
ways most of the time.


> The search code would not need to know anything about what the
> display code will be doing with the results

This is nothing different that what we already have with
[founditems], is it?=C2=A0 If so, how is it different?


> Built into the WebDNA engine, this could be much more efficient
> than creating a set of functions to implement similar features

Yet if we do not need these capabilities -- because we already
have them -- we do not need to use functions, and we do not need
to further complicate the engine code either, correct?


> In my mind, features should be added to WebDNA if and only if they
> add value that cannot be easily and efficiently implemented using
> functions. I think this qualifies.

Sorry, I still disagree.=C2=A0 I have yet to see anything you've=
described or shown me that I cannot do right now with [founditems]
and [text].

I'm not trying to be difficult but I truly see no advantage in any
of this.

Can you show me a concrete example where using multiple founditems
and text vars won't do everything you're suggesting? Because so
far I still don't get it.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.web= dnasolutions.com
Web Database Systems and Linux Server Management


----------------------------= -----------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--001a1136287a7f48cd050cb698c8-- 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)
--001a1136287a7f48cd050cb698c8 Content-Type: text/plain; charset=UTF-8 Gotta admit that I agree with Ken and have from the start. I am not seeing the value of this either, but maybe I just don't "get it" either. Also looking forward to a concrete use case/example to help me understand the concept a bit better. -Dan Strong http://DanStrong.com On Thu, Jan 15, 2015 at 12:10 PM, Kenneth Grome wrote: > > [listfounditems] would have access to all the fields in the > > database that was searched > > Are you suggesting that [listfounditems] cache the results of the > original search? If so, this means that each time the page is > requested WebDNA must cache a new copy of the founditems data, > correct? > > And how this data going to be formatted? OR is this new context > there simply to allow you to use [fieldname] tags -- which we can > already do in our [founditems] contexts? > > > > > You could reuse the found item set multiple times in you page > > without the expensive search. > > I'm not sure why do you use the term "expensive" here ... > > If you're currently using more than one identical search per page > you're not doing it very efficiently. The better way is to do one > search and then use several founditems contexts within that one > search context. > > I do this all the time. I put several founditems context inside > my search, then I format the results of each founditems the way I > need it to be displayed further on down the page. Then I save the > formatted results of each founditems as a text variable, which > means I can display the entire formatted results with a simple > text tag like [results1]. > > This means I'm doing only one search on the page -- and one search > is certainly not "expensive" from my perspective. > > > > You could have multiple found item sets for the same database > > without the potential confusion caused by nested searches > > I almost never do nested searches anyways since there are better > ways most of the time. > > > > The search code would not need to know anything about what the > > display code will be doing with the results > > This is nothing different that what we already have with > [founditems], is it? If so, how is it different? > > > > Built into the WebDNA engine, this could be much more efficient > > than creating a set of functions to implement similar features > > Yet if we do not need these capabilities -- because we already > have them -- we do not need to use functions, and we do not need > to further complicate the engine code either, correct? > > > > In my mind, features should be added to WebDNA if and only if they > > add value that cannot be easily and efficiently implemented using > > functions. I think this qualifies. > > Sorry, I still disagree. I have yet to see anything you've > described or shown me that I cannot do right now with [founditems] > and [text]. > > I'm not trying to be difficult but I truly see no advantage in any > of this. > > Can you show me a concrete example where using multiple founditems > and text vars won't do everything you're suggesting? Because so > far I still don't get it. > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Management > > > --------------------------------------------------------- > 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 > --001a1136287a7f48cd050cb698c8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Gotta admit that I agree with Ken and have from the s= tart. I am not seeing the value of this either, but maybe I just don't = "get it" either.=C2=A0

Also loo= king forward to a concrete use case/example to help me understand the conce= pt a bit better.

-Dan Strong
http://DanStrong.com

On Thu, Jan 15, 2015 at 12:10 PM, Kenneth Gr= ome <ken@webdnasolutions.com> wrote:
> [listfounditems] would have access t= o all the fields in the
> database that was searched

Are you suggesting that [listfounditems] cache the results of the original search?=C2=A0 If so, this means that each time the page is
requested WebDNA must cache a new copy of the founditems data,
correct?

And how this data going to be formatted?=C2=A0 OR is this new context
there simply to allow you to use [fieldname] tags -- which we can
already do in our [founditems] contexts?



> You could reuse the found item set multiple times in you page
> without the expensive search.

I'm not sure why do you use the term "expensive" here ...

If you're currently using more than one identical search per page
you're not doing it very efficiently.=C2=A0 The better way is to do one=
search and then use several founditems contexts within that one
search context.

I do this all the time.=C2=A0 I put several founditems context inside
my search, then I format the results of each founditems the way I
need it to be displayed further on down the page.=C2=A0 Then I save the
formatted results of each founditems as a text variable, which
means I can display the entire formatted results with a simple
text tag like [results1].

This means I'm doing only one search on the page -- and one search
is certainly not "expensive" from my perspective.


> You could have multiple found item sets for the same database
> without the potential confusion caused by nested searches

I almost never do nested searches anyways since there are better
ways most of the time.


> The search code would not need to know anything about what the
> display code will be doing with the results

This is nothing different that what we already have with
[founditems], is it?=C2=A0 If so, how is it different?


> Built into the WebDNA engine, this could be much more efficient
> than creating a set of functions to implement similar features

Yet if we do not need these capabilities -- because we already
have them -- we do not need to use functions, and we do not need
to further complicate the engine code either, correct?


> In my mind, features should be added to WebDNA if and only if they
> add value that cannot be easily and efficiently implemented using
> functions. I think this qualifies.

Sorry, I still disagree.=C2=A0 I have yet to see anything you've=
described or shown me that I cannot do right now with [founditems]
and [text].

I'm not trying to be difficult but I truly see no advantage in any
of this.

Can you show me a concrete example where using multiple founditems
and text vars won't do everything you're suggesting? Because so
far I still don't get it.

Regards,
Kenneth Grome
WebDNA Solutions
http://www.web= dnasolutions.com
Web Database Systems and Linux Server Management


----------------------------= -----------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--001a1136287a7f48cd050cb698c8-- Dan Strong

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:

New Plug-in and Type 11 errors (1997) all records returned. (1997) Show if time tags (1997) [random] only for 1-100??? (1997) [WebDNA] Image resizing on the fly (2012) A note for NT4 users (1998) WebCat2: Items xx to xx shown, etc. (1997) NEW INFO: I'm stuck: Can't open order file.Ignoring[OrderFile] context (2000) [WebDNA] weekday question (2013) WebCatalog for guestbook ? (1997) Search design (1997) WC2.0 Memory Requirements (1997) [WebDNA] An unknown error occured // Deadlock avoided (2011) Pithy questions on webcommerce & siteedit (1997) Other then credit cards-how? (1997) WC Database Format (1997) Forms Search Questions (1997) Grep -Replace with nothing (2003) Date search - yes or no (1997) Creating folders and deleting files (1997)