SitePoint Sponsor

User Tag List

Results 1 to 13 of 13
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A good PHP template or library

    Hi all

    I am new to PHP. I am looking for some kind of PHP template that will enable me to be start coding in PHP by modifying the existing codes in place. Maybe like a set of library routines with a template.

    I have started to use Joomla but when I need to make a specific change, I need to access the raw code, which is very complex and will take time to figure out.
    So I am looking for somehting in between and use dreamweaver as the editor.

    Regards

    Explorer

  2. #2

  3. #3
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mittineague View Post
    Maybe Smarty? http://www.smarty.net/
    Here's a (bit old) SitePoint article http://www.sitepoint.com/article/sma...mplate-engine/
    I don't think he meant a template engine.

  4. #4
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sitepoint has some pretty good tutorials on PHP, which would be a good place to start. Or you can just google for php+tutorial - That should give you a lot of hits.

    Another good place to go for small snippets and ideas, is the php manual. The comments usually contain small snippets, contributed by users.

  5. #5
    SitePoint Enthusiast
    Join Date
    Aug 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Thanks

    The above was useful. But what is your opinion on things like Joomla and other CMS applications?

    regards

    Exploirere

  6. #6
    SitePoint Addict Mastodont's Avatar
    Join Date
    Mar 2007
    Location
    Czech Republic
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Joomla is fine if you manage with built-in features. Otherwise the changes are hard nut to crack.

  7. #7
    SitePoint Enthusiast
    Join Date
    Aug 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mastodont View Post
    Joomla is fine if you manage with built-in features. Otherwise the changes are hard nut to crack.
    Hi

    Precisely, it seems to get you up and running quick. But when you want to make specific changes you are in difficult situation.

    On the other extreme of hand coding everything is really not efficient.

    Hence my question here about templates and libraries. Smarty looks good but is the best product or are there others similar. I would like to look at a couple before I decide on adopting one.

    regards

    Explorer

  8. #8
    SitePoint Addict Mastodont's Avatar
    Join Date
    Mar 2007
    Location
    Czech Republic
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when you want to make specific changes you are in difficult situation

    This is natural contradiction between simplicity and feature richness.

    set of library routines with a template

    I must admit I do not know nothing simple for beginners. Sets of routines are usually called frameworks, but wide-spread frameworks are extensive, too. Maybe you should try to explore some lite blog systems or CMS, for example http://snewscms.com/

  9. #9
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,175
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    Maybe CakePHP or CodeIgniter or PEAR would meet your needs? It takes a while to learn how to work with them, but it would save a lot of code writing and they can be modified. Whether or not they're easier than Joomla is a matter of opinion, but IMO it would be worth the effort to look into them at least.

    As Mastodont suggested, maybe using WordPress as a CMS would be suitable.

  10. #10
    SitePoint Wizard REMIYA's Avatar
    Join Date
    May 2005
    Posts
    1,351
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    XTemplate is one of the easiest template engines.

  11. #11
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Modifying modules of content management systems may be a good start. From the look of the code, XOOPS seems okay, but I never worked with it for real.
    Caffeine Web Framework - reinventing the wheel since 2004.
    MicroWSS - simple SOAP web services server in Java.

  12. #12
    Web Genius
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    708
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am also finding cakephp and codeignitor to be over complex and very restrictive in the URI's you can use. I'm looking for a basic MVC that has CMS in mind. Yes I can build a total garbage blog in 10 minutes but I don't want that, I want a CMS.
    Something that has the main bones done and you just tweak it to your specific needs.

    I think the OP and myself are looking for similar things

  13. #13
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't it possible to use Velocity templates together with PHP? The CMS I program uses Java and Velocity so I'm not sure if it works with php.


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
  •