Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: What is SMARTY and how do You Use them ?  (Read 222 times)
« on: July 29, 2008, 07:42:30 PM »
Ft24 Offline
Newbie

View Profile
*
Posts: 9



Im i guess what you would call a code monkey, i know bits of HTML and PHP, i know what varibles, arrays, functions, and those if/else statesments are. But what is this thing ive been hearing of called Smarty, and how do you use them ?
Report to moderator   Logged

 
« Reply #1 on: August 24, 2008, 01:02:00 PM »
Webbie Offline
Newbie

View Profile
*
Posts: 10



http://en.wikipedia.org/wiki/Smarty

It is a programming tool for webprogrammers. check out the wiki.
Report to moderator   Logged
« Reply #2 on: Yesterday at 06:20:13 PM »
Primate Offline
Newbie

View Profile
*
Posts: 14



Well, it's not a programming tool per se. It's a templating system that separates business logic from presentation logic. For example, you could have a file called "index.php," where you define a bunch of variables. Then, you call a smarty template, which prints out the variables in tables and with pretty colors.

Smarty syntax is much simpler than PHP's syntax. Therefore, a designer can work on the presentation logic, while a programmer works on the business logic. It's a great tool, so if you're interested, check out smarty.net!
Report to moderator   Logged
 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC