SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can Cakephp,wamp,smarty work together?

    Now I know simple PHP...have built small applications with PHP....have never used CakePHP nor smarty.

    My questions are:
    1.Will smarty individually help and make things easier?

    2.Will CakePHP individually help and make things easier?

    3. Can both smart & cakephp be used with wamp?

    4. I'm not an expert in PHP. I am at the intermediate level..you can say. So would it be tough to learn cakephp and smarty?

  2. #2
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,034
    Mentioned
    65 Post(s)
    Tagged
    0 Thread(s)
    I can't get what I'm working on done fast enough. In the meanwhile, stay away from smarty. It's the worst thing you'll ever do to your code.

  3. #3
    SitePoint Addict tom8's Avatar
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    310
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    In my opinion, the answer to all your questions is Yes.

    Cakephp is an application framework whereas smarty is a template engine and both are written with PHP but you do not need to know PHP to use them.

    Here is a nice article to get you started if you wish to try them out:
    http://bakery.cakephp.org/articles/H...al-with-smarty

    Smarty may have many limitation and drawback but many people, especially designers, find it very useful. Staying away you may miss out a set of valuable tools that help you build websites quickly and efficiently.

  4. #4
    I solve practical problems. bronze trophy
    Michael Morris's Avatar
    Join Date
    Jan 2008
    Location
    Knoxville TN
    Posts
    2,034
    Mentioned
    65 Post(s)
    Tagged
    0 Thread(s)
    PHP is a template engine. Why the Hell build a template engine in a template engine? It's like buying a pickup truck to pull a semi-truck, it's downright stupid and utterly unjustifiable.

  5. #5
    SitePoint Addict tom8's Avatar
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    310
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I’m not here to defend or promote smarty, nor I have never used it myself. But I know it is a popular system where many developers use it for their projects. Someone put together a list of such projects using smarty:
    http://smarty.incutio.com/?page=SoftwareUsingSmarty

    I’m sure they all disagree with your assessment. If you can pull a semi with a pickup why spend extra to get a tow truck? A pickup will surely be more versatile; like taking it for a fishing trip. Do that with a tow truck and see how many people will be looking at you.

    However, if you write up a more detailed article of why one should stay away from it then not only will it be helpful for people to make that choice but save them from wasting their time as well.


Bookmarks

Posting Permissions

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