Ok, advice taken! On May 24, 2:25 am, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote: > On 5/23/07, voltron <[EMAIL PROTECTED]> wrote: > > > I discovered that I could reduce the number of templates in use by > > using conditionals. Based on the link or the user input, I have a list > > of mako functions that generate HTML Divs of content. > > > My question is, is it faster to create a separate template using > > inheritance for each condition or the method of one master template > > with several blocks of content that are rendered conditionally? > > > Just curious, thanks > > This is probably a matter of engineering taste. Rendering things > conditionally in a file tens of thousands of lines long will get old > quickly. I suggest you put performance aside for a moment and just do > whatever makes development easiest. Personally, I don't mind lots of > little files that rely heavily on inheritance. > > Happy Hacking! > -jj > > --http://jjinux.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
