Jump to content

Using Template Engines


Lamez

Recommended Posts

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
Share on other sites

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.