Page 1 of 1
Is Prado [Templating Engine] the best?
Posted: Mon Jan 17, 2005 3:56 am
by thomas777neo
If not, could somebody tell me what is easy to use.
Posted: Mon Jan 17, 2005 4:18 am
by andre_c
Prado is not really a templating engine but an application framework.
i like it, but i haven't been able to really use it because of lack of good documentation.
The only templating engine that i have used so far is Smarty and i like it.
Ok
Posted: Mon Jan 17, 2005 4:31 am
by thomas777neo
Is smarty easy to use? And does it seperate your GUI from your LOGIC.
Posted: Mon Jan 17, 2005 4:37 am
by andre_c
Smarty is VERY easy to use.
It does allow you to separate your business logic from the presentation.
Ok
Posted: Mon Jan 17, 2005 5:59 am
by thomas777neo
I had a look at Smarty. I understand that you have a script that gets the data, then the .tpl file simply displays it. What if I need to send data to a function that inserts the data into a database with Prado you can simply on their button tag, add a onClick="function_name". This would actually dymamically insert the current filled in fields without having to put the arguments in the function call.
Thanks
Posted: Tue Jan 18, 2005 7:26 am
by thomas777neo
Don't worry, I figured it out.
Thanks
Anybody else who can give me a Prado Vs Smarty explaination