Is Prado [Templating Engine] the best?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Is Prado [Templating Engine] the best?

Post by thomas777neo »

If not, could somebody tell me what is easy to use.
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post 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.
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Ok

Post by thomas777neo »

Is smarty easy to use? And does it seperate your GUI from your LOGIC.
User avatar
andre_c
Forum Contributor
Posts: 412
Joined: Sun Feb 29, 2004 6:49 pm
Location: Salt Lake City, Utah

Post by andre_c »

Smarty is VERY easy to use.
It does allow you to separate your business logic from the presentation.
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Ok

Post 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.
User avatar
thomas777neo
Forum Contributor
Posts: 214
Joined: Mon Mar 10, 2003 6:12 am
Location: Johannesburg,South Africa

Thanks

Post by thomas777neo »

Don't worry, I figured it out.

Thanks

Anybody else who can give me a Prado Vs Smarty explaination
Post Reply