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 ******* [/!]---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
=div>[!] 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=A0Also lo=oking forward to a concrete use case/example to help me understand the conc=ept a bit better.-Dan Strong
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 ******* [/!]---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: suppo=rt@webdna.us
=div>[!] 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=A0Also lo=oking forward to a concrete use case/example to help me understand the conc=ept a bit better.-Dan Strong
DOWNLOAD WEBDNA NOW!
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...