Best Templating Language


I need to be able to offer the users of my app the ability to create templates without PHP being executed in the template so its protected from attack etc.

What is the best way of doing this?


Well, For that purpose you can define some short keys(or kind of Unique tags etc)which can be represent as PHP variables.SO, by using that tags they can create Templates at User End. and in background work you have to Replace all that Tags into your executing code.

So, it would be kind of filter process before saving data.

i hope you got my point.what i am trying to say.

Yes that is fine, will just have to make sure they cannot execute PHP using the template but yes I think that will work.

that’s cool :)