Welcome Guest, Not a member yet? Register   Sign In
Header and Footer
#4

[eluser]bigbusty[/eluser]
Yea, you can use it like that. This class was just an idea of how you could integrate a simple templating engine. Of course you can extend it with more functionality, like title management, assets management (loading your .css or .js dynamically into your template), meta tag management, loading multiple views into a region, messaging, variable parsing, changing your themes dynamically and so on... as you can see a template library can be a beast.

I would extend it as you need more features, or rather choose a complete template library like phil sturgeons one. I use my own, because Phils is too big for my purpose.


Messages In This Thread
Header and Footer - by El Forum - 01-01-2013, 08:00 PM
Header and Footer - by El Forum - 01-03-2013, 01:58 AM
Header and Footer - by El Forum - 01-03-2013, 10:40 AM
Header and Footer - by El Forum - 01-04-2013, 03:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB