in reply to Re^4: Output should have multiple segments
in thread Output should have multiple segments
For me that's not a good reason for moving program logic into the template.
If you're not convinced, think of what happens when you chose to add more views. There are plenty of possible output formats, like html, xml, pdf, json, yaml, plain text, ... - would you really want to duplicate code for all of those templates?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Output should have multiple segments
by Jenda (Abbot) on Jul 16, 2008 at 22:36 UTC |