Forum Moderators: coopster
I currently use Dreamweaver templates because they are simple and they allow me to see my changes on the fly in Dreamweaver when I am editing a website's HMTL and CSS.
I want to use the PHP templating system Smarty but does anyone know if there is a WYSIWYG editor that will let me see the templates on the fly so I can edit the HTML and see the changes in the editor?
What in your opinion is the best templating system to use when creating a website? Thanks!
Not that I know of.
>> What in your opinion is the best templating system to use when creating a website?
It really depends on the application and the developer. There are many different types of templating systems out there, using Smarty [smarty.php.net] is just one of them. For simple applications I just include the header, content, and footer and it works just as well as any other system, plus it's simple enough.
If you still want to look into Smarty, read the following:
Is Smarty Right for Me? [smarty.net]
Why Use Smarty [smarty.net]
What in your opinion is the best templating system to use when creating a website?
For instance...
<h1><?= $title ?></h1>
...will echo the contents of the variable "title" between <h1> and </h1>.
There's really not too much of a need for a templating engine, especially if you use frameworks such as CodeIgniter.