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

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 111929
interpreted = N
texte = --089e013a01e68de8da050cb7b641 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [!][/!] [PROTECT ADMIN] [include file=3D^code/adminfunctions.inc] [include file=3D^code/stockfunctions.inc] [include file=3D^code/formhelpers.inc] [include file=3DfunctionsLocalToThispage.inc] [!] ********************************************** *** controller logic goes here *** **********************************************[/!] [!] ********************************************** *** view blocks go here *** **********************************************[/!] [!] ******* Titlebar ******* [/!] [text]titlebar_block=3Dstuff to show in the title[/text] [!] ******* left side nav bar ******* [/!] [text]sidebar_block=3D[include file=3Dsubmenu.inc][/text] [!] ******* content block ******* [/!] [text]content_block=3D [founditems_function set=3Dfromsearch1] [/text] [!] ******* /content block ******* [/!] [!] include the main layout file that all this goes into [/!] [include ^templates/admin/base.html] Most of us code our pages this way... what am I misunderstanding? -Dan Strong http://DanStrong.com On Thu, Jan 15, 2015 at 1:30 PM, Brian Burton wrote: > Here=E2=80=99s the way I lay out pages in webdna now (this is an MVC-ish > convolution of WebDNA) --> > > [!][/!] > [PROTECT ADMIN] > [include file=3D^code/adminfunctions.inc] > [include file=3D^code/stockfunctions.inc] > [include file=3D^code/formhelpers.inc] > > [!] ********************************************** > *** controller logic goes here *** > **********************************************[/!] > > > place =E2=80=94> > > [!] ********************************************** > *** view blocks go here *** > **********************************************[/!] > > [!] ******* Titlebar ******* [/!] > [text]titlebar_block=3Dstuff to show in the title[/text] > > > [!] ******* left side nav bar ******* [/!] > [text]sidebar_block=3D[include file=3Dsubmenu.inc][/text] > > > [!] ******* content block ******* [/!] > [text]content_block=3D > > i display results, but without heavy logic. > [/text] > [!] ******* /content block ******* [/!] > > > [!] include the main layout file that all this goes into [/!] > [include ^templates/admin/base.html] > > > > > On Jan 15, 2015, at 2:20 PM, Dan Strong wrote: > > Gotta admit that I agree with Ken and have from the start. I am not seein= g > 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 > > > --------------------------------------------------------- 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.u= s --089e013a01e68de8da050cb7b641 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
[!]<!-- = HAS_WEBDNA_TAGS -->[/!]
[PROTECT ADMIN]
[in= clude file=3D^code/adminfunctions.inc]
[include file=3D^code/stockfunctions.inc]
[include file=3D^code/formhelpers.inc]=
[include file=3Dfuncti= onsLocalToThispage.inc]

[!] *********= *************************************
*** =C2=A0 =C2=A0 =C2=A0 controller logic goes here =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***
**********************************************[/!]

<!=E2=80=94 searches, appends, basically any finding = or manipulating of data. =E2=80=94>=C2=A0
<!=E2=80=94 i want all my webdna searches to live = here so all my logic is in one place =E2=80=94>

[!] **********************************************
*** =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0view blocks go here =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***=
**********************= ************************[/!]

[!] ******* = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Titlebar =C2=A0 =C2=A0 =C2=A0 =C2=A0 ****= *** [/!]
[text]titlebar= _block=3Dstuff to show in the title[/text]


[!] ******* =C2= =A0 =C2=A0 left side nav bar =C2=A0 =C2=A0 ******* [/!]
[text]sidebar_block=3D[include file=3Dsubm= enu.inc][/text]


[!] ******* =C2=A0 =C2=A0 =C2=A0 content bl= ock =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]content_block=3D
<!=E2=80=94 html and text that will be shown in the body = of the page =E2=80=94>
<!=E2=80=94 write a function to do what you want and put it in functi= onsLocalToThispage.inc =E2=80=94>
[founditems_function set=3Dfromsearch1]
[/text]
[!] ******* =C2=A0 =C2=A0 =C2=A0 /content block =C2=A0 =C2= =A0 =C2=A0 ******* [/!]


[!] include the main layout file th= at all this goes into [/!]
[include ^templates/admin/base.html]

=
Most of us code ou= r pages this way... what am I misunderstanding?


On Thu, Jan 15, 2015 at 1:30 PM, Brian Burto= n <brian@burtons.com> wrote:
Here=E2=80=99s the way I lay out pag= es in webdna now (this is an MVC-ish convolution of WebDNA) -->=C2=A0
[!]<!-- HAS_WEBDNA_TAGS -->[/!]
[PROT= ECT ADMIN]
[include file=3D^code/adminfunctions.inc]
[i= nclude file=3D^code/stockfunctions.inc]
[include file=3D^code/for= mhelpers.inc]

[!] ********************************= **************
*** =C2=A0 =C2=A0 =C2=A0 controller logic goes her= e =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***
************************= **********************[/!]

<!=E2=80=94 searches= , appends, basically any finding or manipulating of data. =E2=80=94>=C2= =A0
<!=E2=80=94 i want all my webdna searches to live here so = all my logic is in one place =E2=80=94>

[!] ***= *******************************************
*** =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0view blocks go here =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ***
**********************************************[/!]=

[!] ******* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Tit= lebar =C2=A0 =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]titlebar_blo= ck=3Dstuff to show in the title[/text]


<= div>[!] ******* =C2=A0 =C2=A0 left side nav bar =C2=A0 =C2=A0 ******* [/!]<= /div>
[text]sidebar_block=3D[include file=3Dsubmenu.inc][/text]


[!] ******* =C2=A0 =C2=A0 =C2=A0 content b= lock =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]content_block=3D
<!=E2=80=94 html and text that will be shown in the body of the p= age =E2=80=94>
<!=E2=80=94 I want a [founditems set=3Dfroms= earch1]blahblah[/founditems] in here so i display results, but without heav= y logic.
[/text]
[!] ******* =C2=A0 =C2=A0 =C2=A0 /cont= ent block =C2=A0 =C2=A0 =C2=A0 ******* [/!]


[!] include the main layout file that all this goes into [/!]
[include ^templates/admin/base.html]

<= /div>



=
On Jan 15, 2015, at 2:20 PM, Dan Strong <dan@danstrong.com> wrote:

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.=C2=A0

Also lo= oking forward to a concrete use case/example to help me understand the conc= ept a bit better.

--------------------------------------------------------- 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: suppo= rt@webdna.us

--089e013a01e68de8da050cb7b641-- 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)
--089e013a01e68de8da050cb7b641 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [!][/!] [PROTECT ADMIN] [include file=3D^code/adminfunctions.inc] [include file=3D^code/stockfunctions.inc] [include file=3D^code/formhelpers.inc] [include file=3DfunctionsLocalToThispage.inc] [!] ********************************************** *** controller logic goes here *** **********************************************[/!] [!] ********************************************** *** view blocks go here *** **********************************************[/!] [!] ******* Titlebar ******* [/!] [text]titlebar_block=3Dstuff to show in the title[/text] [!] ******* left side nav bar ******* [/!] [text]sidebar_block=3D[include file=3Dsubmenu.inc][/text] [!] ******* content block ******* [/!] [text]content_block=3D [founditems_function set=3Dfromsearch1] [/text] [!] ******* /content block ******* [/!] [!] include the main layout file that all this goes into [/!] [include ^templates/admin/base.html] Most of us code our pages this way... what am I misunderstanding? -Dan Strong http://DanStrong.com On Thu, Jan 15, 2015 at 1:30 PM, Brian Burton wrote: > Here=E2=80=99s the way I lay out pages in webdna now (this is an MVC-ish > convolution of WebDNA) --> > > [!][/!] > [PROTECT ADMIN] > [include file=3D^code/adminfunctions.inc] > [include file=3D^code/stockfunctions.inc] > [include file=3D^code/formhelpers.inc] > > [!] ********************************************** > *** controller logic goes here *** > **********************************************[/!] > > > place =E2=80=94> > > [!] ********************************************** > *** view blocks go here *** > **********************************************[/!] > > [!] ******* Titlebar ******* [/!] > [text]titlebar_block=3Dstuff to show in the title[/text] > > > [!] ******* left side nav bar ******* [/!] > [text]sidebar_block=3D[include file=3Dsubmenu.inc][/text] > > > [!] ******* content block ******* [/!] > [text]content_block=3D > > i display results, but without heavy logic. > [/text] > [!] ******* /content block ******* [/!] > > > [!] include the main layout file that all this goes into [/!] > [include ^templates/admin/base.html] > > > > > On Jan 15, 2015, at 2:20 PM, Dan Strong wrote: > > Gotta admit that I agree with Ken and have from the start. I am not seein= g > 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 > > > --------------------------------------------------------- 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.u= s --089e013a01e68de8da050cb7b641 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
[!]<!-- = HAS_WEBDNA_TAGS -->[/!]
[PROTECT ADMIN]
[in= clude file=3D^code/adminfunctions.inc]
[include file=3D^code/stockfunctions.inc]
[include file=3D^code/formhelpers.inc]=
[include file=3Dfuncti= onsLocalToThispage.inc]

[!] *********= *************************************
*** =C2=A0 =C2=A0 =C2=A0 controller logic goes here =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***
**********************************************[/!]

<!=E2=80=94 searches, appends, basically any finding = or manipulating of data. =E2=80=94>=C2=A0
<!=E2=80=94 i want all my webdna searches to live = here so all my logic is in one place =E2=80=94>

[!] **********************************************
*** =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0view blocks go here =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***=
**********************= ************************[/!]

[!] ******* = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Titlebar =C2=A0 =C2=A0 =C2=A0 =C2=A0 ****= *** [/!]
[text]titlebar= _block=3Dstuff to show in the title[/text]


[!] ******* =C2= =A0 =C2=A0 left side nav bar =C2=A0 =C2=A0 ******* [/!]
[text]sidebar_block=3D[include file=3Dsubm= enu.inc][/text]


[!] ******* =C2=A0 =C2=A0 =C2=A0 content bl= ock =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]content_block=3D
<!=E2=80=94 html and text that will be shown in the body = of the page =E2=80=94>
<!=E2=80=94 write a function to do what you want and put it in functi= onsLocalToThispage.inc =E2=80=94>
[founditems_function set=3Dfromsearch1]
[/text]
[!] ******* =C2=A0 =C2=A0 =C2=A0 /content block =C2=A0 =C2= =A0 =C2=A0 ******* [/!]


[!] include the main layout file th= at all this goes into [/!]
[include ^templates/admin/base.html]

=
Most of us code ou= r pages this way... what am I misunderstanding?


On Thu, Jan 15, 2015 at 1:30 PM, Brian Burto= n <brian@burtons.com> wrote:
Here=E2=80=99s the way I lay out pag= es in webdna now (this is an MVC-ish convolution of WebDNA) -->=C2=A0
[!]<!-- HAS_WEBDNA_TAGS -->[/!]
[PROT= ECT ADMIN]
[include file=3D^code/adminfunctions.inc]
[i= nclude file=3D^code/stockfunctions.inc]
[include file=3D^code/for= mhelpers.inc]

[!] ********************************= **************
*** =C2=A0 =C2=A0 =C2=A0 controller logic goes her= e =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ***
************************= **********************[/!]

<!=E2=80=94 searches= , appends, basically any finding or manipulating of data. =E2=80=94>=C2= =A0
<!=E2=80=94 i want all my webdna searches to live here so = all my logic is in one place =E2=80=94>

[!] ***= *******************************************
*** =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0view blocks go here =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ***
**********************************************[/!]=

[!] ******* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Tit= lebar =C2=A0 =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]titlebar_blo= ck=3Dstuff to show in the title[/text]


<= div>[!] ******* =C2=A0 =C2=A0 left side nav bar =C2=A0 =C2=A0 ******* [/!]<= /div>
[text]sidebar_block=3D[include file=3Dsubmenu.inc][/text]


[!] ******* =C2=A0 =C2=A0 =C2=A0 content b= lock =C2=A0 =C2=A0 =C2=A0 ******* [/!]
[text]content_block=3D
<!=E2=80=94 html and text that will be shown in the body of the p= age =E2=80=94>
<!=E2=80=94 I want a [founditems set=3Dfroms= earch1]blahblah[/founditems] in here so i display results, but without heav= y logic.
[/text]
[!] ******* =C2=A0 =C2=A0 =C2=A0 /cont= ent block =C2=A0 =C2=A0 =C2=A0 ******* [/!]


[!] include the main layout file that all this goes into [/!]
[include ^templates/admin/base.html]

<= /div>



=
On Jan 15, 2015, at 2:20 PM, Dan Strong <dan@danstrong.com> wrote:

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.=C2=A0

Also lo= oking forward to a concrete use case/example to help me understand the conc= ept a bit better.

--------------------------------------------------------- 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: suppo= rt@webdna.us
--089e013a01e68de8da050cb7b641-- 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:

Multiple cart additions (1997) date range (1998) [WebDNA] preventing hackers from posting their own (2009) [WebDNA] Multiple e-mail sending (2011) Emailer setup (1997) not interpreting Q (2001) Changes to the List (1997) emailer (1997) someone to take over some small customers (2001) Re1000001: Setting up shop (1997) Annoying character on writefile... (2004) tabs as delimiters (2004) Listfiles on network with NT (2000) carriage returns in data (1997) Can't use old cart file (was One more try) (1997) permission deny help please (2004) Robert Minor duplicate mail (1997) WebCat2 - [format thousands] (1997) Questions To Answer (1997) WebCat for Unix?? (1997)