When you want something nested you have to render the sub-templates within the controller, add the resulting html as variables to the main template ...*sigh* been there, done that. i was working with a template system (which basically was implemented as just a big regex), which actually supported nesting, but usually you would put together big loops in the perl script, because template-loops were slow. the whole templating was
my sin? i critisiced the system and basically said that any templating out there on cpan would be a better choice. from other jobs i knew that it is often ok to gripe about the templating system because everybody knew it was bad and only there because of historical reasons. here, though, i think i offended the one who had written it. also i suggested my own templating system on cpan, and starting at a company and basically saying "your templating is bad, mine is better" is probably not the best you can do. my learning: try to be more diplomatic.
i quit because it was, besides from the templating, very limited on what modules you were allowed to use. the company has a very successful website, and i was convinced at that time that the system could be made more comfortable for the programmers in order to get new features in faster. i still think that and i hope for the company that someday it will happen because otherwise it is very likely that someday a php/ruby/python/java guy comes along and just replaces the whole system. and it would be a pity to lose such a successful perl-powered website to a different language.
In reply to Re: Sins for a living (OT, kind of)
by tinita
in thread Sins for a living (OT, kind of)
by holli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |