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:

Email within tmpl ? (1997) auction system w/ Web Cat (1999) Changes to the List (1997) Need help (1998) xml - amazon bug and sed q: (2004) Filter Null Characters (Zap Gremlins) (2005) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [CART] (1997) WebCat2_Mac RETURNs in .db (1997) [WebDNA] possible bug? (db field named [width]) (2012) Permission denied? (2004) Re[2]: 2nd WebCatalog2 Feature Request (1996) Almost a there but..bye bye NetCloak (1997) 100% cpu load (2006) Moment of Thanks (1997) [REPLACE] inside [FOUNDITEMS] (1998) Running 2 two WebCatalog.acgi's (1996) Funny Submissions From a Form Page (1999) Nested tags count question (1997) Separate SSL Server (1997)