Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    214
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Is Smarty better than Zend Framework?

    would like to use Smarty Templates or Zend Framework?


    Some suggestion post like:benefits value that Smarty Templates has the potential to bring to the table ...

  • #2
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Ehhh... they're not really accomplishing the same thing. You could use both if you'd like.

  • #3
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    I've worked extensively with smarty, no so much with Zend, but the Zend framework seems more of an MVC (Model-View-Controller) framework, where Smarty is used to separate PHP from template files. Some feel Smarty is an overkill, the only real upside I see with smarty is that if you're not a designer, and you hire one who only knows xHTML, CSS, and other client side languages, but not Server Side PHP, then he wont screw up your code syntax. So smarty makes it less confusing.

    PHP was made really to be a language that can jump in and out of HTML at will, so I don't see it as necessary to have it. Some big scripts use Smarty or Smarty-Like templates just because they mass sell these scripts and it'll cause less confusion for the Copy-Paste, WYSIWYG, Know-Nothing-But-Wants-To-Run-A-Major-Website-With-No-Real-Learning-Or-Web-Knowledge-Whatsoever, kinda person.

    But I think MVC is a good tool, whether it's from an advanced framework, or a simple custom made one. Modular design is the 2.0 way, it takes longer to implement but easier to upgrade or fix bugs. So I strongly recommend MVC, or frameworks like MVC, I feel it's much better practice when making full fledged scripts.
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •