Lamez Posted January 7, 2010 Share Posted January 7, 2010 I am a developer not a designer. Therefor I want to use a template engine in my new website (new as in revamped). Which one is the best? Do template engines come with different template I can download? Do I have to make my own? Are they hard to incorporate? Is this the right board to post this in? -Thanks! Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/ Share on other sites More sharing options...
trq Posted January 7, 2010 Share Posted January 7, 2010 I am a developer not a designer. Therefor I want to use a template engine Why? What benefit do you think using a template engine will provide? You still need to design your templates. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990641 Share on other sites More sharing options...
Lamez Posted January 7, 2010 Author Share Posted January 7, 2010 Alright, thanks. That is the kind of response I am looking for. If it is still is going to make me design, and make things more complicated, then I don't want to fiddle with it. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990647 Share on other sites More sharing options...
Andy-H Posted January 7, 2010 Share Posted January 7, 2010 I am a developer not a designer. Therefor I want to use a template engine Why? What benefit do you think using a template engine will provide? You still need to design your templates. @thorpe Thats what he was asking... @Lamez I haven't really used them but you do have to learn how to code for the framework you choose. Most people just use smarty but most template engines are designed to seperate your logic from your view (from what I can gather). You do have to design your templates, I would just use MVC to be honest. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990650 Share on other sites More sharing options...
corrupshun Posted January 7, 2010 Share Posted January 7, 2010 There's always dreamweaver, but I make templating on my my stuff. I just made an include file that all my pages use and include all designs in that include it's not too hard Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990654 Share on other sites More sharing options...
Lamez Posted January 7, 2010 Author Share Posted January 7, 2010 What is MVC? See I thought you built your site around a template engine, then you could apply certain themes and whatnot. I was completely in the dark when it came to template engines. Thanks Guys! Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990681 Share on other sites More sharing options...
ChaosKnight Posted January 7, 2010 Share Posted January 7, 2010 MVC is the models views and controllers, that is the way most of the frameworks get organized. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990685 Share on other sites More sharing options...
trq Posted January 7, 2010 Share Posted January 7, 2010 MVC is a design pattern used to seperate your application into layers. The model layer is used to access data (database/ files/ feeds etc etc), the view layer is used to render your pages to html/xml/json etc etc and the controller layer is used to tie the other two layers together. Most (if not all) php frameworks use this pattern extensively to build applications. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990688 Share on other sites More sharing options...
Lamez Posted January 7, 2010 Author Share Posted January 7, 2010 oh, good to know. Link to comment https://forums.phpfreaks.com/topic/187579-using-template-engines/#findComment-990690 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.