Author Topic: Codeigniter vs smarty  (Read 4300 times)

0 Members and 1 Guest are viewing this topic.

Offline allex01Topic starter

  • Enthusiast
  • Posts: 78
    • View Profile
Codeigniter vs smarty
« on: August 09, 2009, 03:30:46 PM »
I'm confused between using codeigniter and smarty.

I have 3 concerns

1. Which is an easier and more flecible framework to work with
2. I want to be able to easily edit or create new templates (can this be done with codeigniter)
3. Is there any noticible perfomarce difference between the two.
4. Which do you recommand. Cons and pros for the both would be nice.
5. Do you recommand integrating smarty with codeigniter. Any drawbacks?

Thanks for your help

Offline thorpe

  • Administrator
  • 'Mind Boggling!'
  • *
  • Posts: 29,255
    • View Profile
Re: Codeigniter vs smarty
« Reply #1 on: August 09, 2009, 11:24:49 PM »
Codeigniter and Smarty are two completely different things. Codeigniter is a framework, while Smarty is a template engine.

IMO template engines are not required if your application is designed in such a way that your logic is kept separate from your data. A framework like Codeigniter can help you achieve this.

Offline satya123

  • Irregular
  • Posts: 3
    • View Profile
Re: Codeigniter vs smarty
« Reply #2 on: September 04, 2009, 05:28:04 AM »
I am agree with thrope.Codeignitor is simple as compare to smarty.
But smarty and codeignitor both are different things.Codeignitor is MVC framwork while Smarty  is template engine.

I suggest you to use codeignitor,You can easily create and edit view files in codeignitor.
 

Offline lostnucleus

  • Enthusiast
  • Posts: 89
    • View Profile
Re: Codeigniter vs smarty
« Reply #3 on: September 15, 2009, 10:23:39 PM »
if you are working alone , and not going to give your templates to some1 to make them for you , then php itself is the best template language for you.