[UPHPU] Pastebin.org, Would Anybody like to help me create a
haas at xmission.com
Sun Aug 5 12:23:28 MDT 2007
On Sun, 2007-08-05 at 07:38 -0600, Wade Preston Shearer wrote:
> How does SMARTY make things easier to read?
> How is…
> …any easier than…
> I think using SMARTY is a lot more complicated approach. You have to
> learn an entirely new language/syntax and then try to keep things
> straight switching back and forth between the two.
Well actually, Smarty semantics are a sub-set of PHP semantics so there
really isn't much to learn. I personally find the notational
difference to be just enough to remind me whether I'm working on the
presentation or the business logic.
You should compare that difference to the difference between PHP and any
strongly typed language, say C/C++/Java, where is a lot more
significant. But then I've programmed in about two dozen languages over
the years so keeping the difference straight isn't that big a deal.
More information about the UPHPU