Thoughts on templating |
Thanks for your input, I think I'm going to play around with CI's template parser and see if it fits my workflow. That being said php's alternate synax such as <?= $var; ?>
And for loops, looks like another way to do things like simple templates. You're absolutely right, I think view files should have for/if/else and nothing more. Any business logic that does more than this in a view probably means you need to refactor your code a lot more.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
|
Messages In This Thread |
Thoughts on templating - by ignitedcms - 07-26-2015, 08:24 AM
RE: Thoughts on templating - by mwhitney - 07-27-2015, 07:40 AM
RE: Thoughts on templating - by ignitedcms - 07-28-2015, 10:52 AM
RE: Thoughts on templating - by dsv - 08-20-2015, 08:02 PM
|