Page 1 of 1

Enterprise Development with PHP

Posted: Wed Feb 22, 2006 4:09 am
by phpist
Hi..
Do you know Management Toolkit -GUI- to use Smarty?

Posted: Wed Feb 22, 2006 4:27 am
by Maugrim_The_Reaper
Not sure what you're trying to ask? Can you expand it a little?

Re: Enterprise Development with PHP

Posted: Wed Feb 22, 2006 5:33 am
by Roja
phpist wrote:Hi..
Do you know Management Toolkit -GUI- to use Smarty?
If you mean is there a wysiwyg editor for Smarty Templates, the closest is Dreamweaver. However, you need to configure Smarty specifically for that: http://smarty.incutio.com/?page=SmartyF ... stions#ide

jEdit apparently also has some form of support for it acording to the next question on that FAQ.

Personally, I highly recommend NOT using an IDE/GUI editor, as templates are NOT html - they are templates. :)

Re: Enterprise Development with PHP

Posted: Wed Feb 22, 2006 6:41 am
by Chris Corbyn
Roja wrote:
phpist wrote:Hi..
Do you know Management Toolkit -GUI- to use Smarty?
If you mean is there a wysiwyg editor for Smarty Templates, the closest is Dreamweaver. However, you need to configure Smarty specifically for that: http://smarty.incutio.com/?page=SmartyF ... stions#ide

jEdit apparently also has some form of support for it acording to the next question on that FAQ.

Personally, I highly recommend NOT using an IDE/GUI editor, as templates are NOT html - they are templates. :)
My templates are effectively HTML, smarty templates aren't however. Hmm... might think about open sourcing this technique I use to template... prob already been done a thousand times and I didn't know it :P Hint, standard HTML comments, front controllers adhering to a small API (really small) and, the rest I have in code :P

Re: Enterprise Development with PHP

Posted: Wed Feb 22, 2006 6:54 am
by Roja
d11wtq wrote:My templates are effectively HTML, smarty templates aren't however. Hmm... might think about open sourcing this technique I use to template... prob already been done a thousand times and I didn't know it :P Hint, standard HTML comments, front controllers adhering to a small API (really small) and, the rest I have in code :P
There is definitely a range that includes pure html, pure php, smarty, and other template systems. Every developer seems to have their own sweet spot on that range, and personally, I think its a matter of taste - no one is wrong.

Smarty just happens to hit the sweet spot for a fairly large number of people (me included). Personally, the fact that Yahoo uses Smarty to me makes it very attractive - I'm using something that obviously works and scales well, AND I'm building my resume at the same time. :)

Posted: Wed Feb 22, 2006 7:50 am
by Maugrim_The_Reaper
PHP Eclipse has an IDE mode for Smarty templates... I use Eclipse regularly, but not the Smarty mode. I don't really see it making much difference from any other html editor.