Welcome Guest, Not a member yet? Register   Sign In
view - template engine, smarty
#1

[eluser]searain[/eluser]
Use template engine for the view in CI?

In addition to that "designers" can understand the view pages better, what other advantages template engine can have?

I have been using "meaningful" variable names, and I usually embed php into html when I can instead of use php to generate html, and I have been working with php tag knowledgeable designers, so I don't have the big problems for the designers to understand the "view" pages to format them.

But if I want my CI view pages be able to be understood by designers universally, I should use template engine? Or is it not really necessary?

If template engine would be used, how about smarty? I found smarty has a CI library now. Any advices or recommendations? any other template engine you would recommend, etc.?

I used smarty for a small project before, I could see some advantages but didn't see these advantages worth the efforts to use smarty in that project. But it was a small individual project, one time deal, it cannot veto the advantages to use smarty in other projects.

Any opinions?

Thanks!


Messages In This Thread
view - template engine, smarty - by El Forum - 12-01-2010, 10:37 PM
view - template engine, smarty - by El Forum - 12-02-2010, 01:48 AM
view - template engine, smarty - by El Forum - 01-14-2011, 03:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB