PHP Scripts Development » General Web Development Forum

site templating (smarty and what not)

(8 posts)

Tags:

Great offers not only for geeks!


  1. sakefox

    sakefox
    Member

    So i been playing around making stupid no point sites and what not, but started to think about what others have been nagging me to do.

    some friends keep telling me that i should start using smarty and adodb into my sites. Personally I don't really see the benefits of learning 2 new systems of doing something that i can do by hand. yeah might be longer, but i don't know.

    So i thought i would get other peoples opinions on these.

    Posted 1 month ago #
  2. Hi,

    using smarty is about sperating code from HTML, this is very usefull.

    I started a few years ago to find my own way to separate html from while using functions, includes whatever. You need to use smarty if you work in a team and if you system is very complex. Forget AdoDB ... php is very easy and fast you don't need it :D

    Posted 1 month ago #
  3. sakefox

    sakefox
    Member

    yeah, adodb just seems like you are learning a different way to do something that you already know.

    I guess i could get started learning smarty...Might be beneficial in the long run, but just seems like a lot of extra that's not really needed. then again that's just me being stubborn to learn something new LOL

    Posted 1 month ago #
  4. sakefox

    sakefox
    Member

    well i just thought of this and thought i would ask since you have done this stuff.

    is it better to make your web project and get it work then take the time to rework it into the template system while also taking that time to fix small coding errors and efficiency problems?

    Posted 1 month ago #
  5. If you re-create a site with smarty, it's like start a new project.

    But smarty has also features like caching, try to read a book about smarty before you start

    Posted 1 month ago #
  6. sakefox

    sakefox
    Member

    oh most defiantly will be reading up before i start. Just sucks going to have to learn something new =P

    going to "get" some books on it. any you recommend in particular?

    Posted 1 month ago #
  7. Try the book "Smarty" from Packt Publishing. Smarty is not really an alternative language but a PHP library/class with a lot of features. Only the code used in templates is a little strange :)

    Posted 1 month ago #
  8. sakefox

    sakefox
    Member

    yeah but I'm lazy...lazzzyyyy =P

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.