iips-dc / iips_website

IIPS website project.
3 stars 2 forks source link

We do not need any template engine #22

Closed Chitrank-Dixit closed 10 years ago

Chitrank-Dixit commented 10 years ago

Helllo collaborators,

I came to know that we can do all the template inheritance (using the base.php in all the pages with common components with just php).

I have found the snippet. i am adding that in sample please have a look.

Ankit-Kulkarni commented 10 years ago

Yeah i saw it and its cool. Still i will recommend using a template engine Smarty specifically.

Using a template engine has various benefits to us :

Chitrank-Dixit commented 10 years ago

Good Points that truly justifies that we should use a smarty template engine. This could make our work better.

But as per the yesterday discussion as we decided not to make the code more complex, as we want people to maintain the code further, So we are using the template inheritance