20i Reseller Hosting

PHP5 - Frameworks of choice...

Discussion in 'Scripts and Coding' started by tifosi, Apr 14, 2013.

?

What is your PHP5 framework of choice?

  1. CodeIgniter

    1 vote(s)
    20.0%
  2. FuelPHP

    0 vote(s)
    0.0%
  3. Kohana

    0 vote(s)
    0.0%
  4. Lavarel

    0 vote(s)
    0.0%
  5. CakePHP

    0 vote(s)
    0.0%
  6. SolarPHP

    0 vote(s)
    0.0%
  7. YII Framework

    0 vote(s)
    0.0%
  8. Symfony

    0 vote(s)
    0.0%
  9. Own Custom

    3 vote(s)
    60.0%
  10. Other

    3 vote(s)
    60.0%
Multiple votes are allowed.
Thread Status:
Not open for further replies.
  1. tifosi United Kingdom

    tifosi Well-Known Member

    Joined:
    Oct 2004
    Posts:
    3,424
    Likes Received:
    55
    One for the techies, geeks & php5 developers.

    What is your PHP5 development framework of choice, and why?
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. Aaron Clifford

    Aaron Clifford Well-Known Member

    Joined:
    Jun 2010
    Posts:
    2,534
    Likes Received:
    126
    I've got a few classes that I use on all projects, for database, base functions that are used on most of the things I work on. I did use a custom template engine but am currently using Smarty.

    I've tried some of the frameworks but unless your making a huge site with a large amount of features I've found them too much, often adding hundreds of files and tens of thousands of lines of code to a project that without a framework out be a lot more lightweight.
     
  4. tifosi United Kingdom

    tifosi Well-Known Member

    Joined:
    Oct 2004
    Posts:
    3,424
    Likes Received:
    55
    I'm similar, have a lot of classes, snippets etc.

    I stopped using template engines a long time ago in favour of native php using the alternative syntax for within views/templates, e.g for ... endfor.

    Forgot to add Zend Framework to the list, but that one is just massive overkill for any but enterprise applications.
     
  5. monaghan United Kingdom

    monaghan Moderator Staff Member

    Joined:
    May 2007
    Posts:
    2,103
    Likes Received:
    70
    I tend to use Drupal for a base framework to handle user accounts and so on and then build on top of that.

    It is useful to have a standard framework structure to build things, but often, I find that a framework is too restrictive.

    Smarty can be quite useful, but again often you can find that you're having to alter how you would code things to fit in with the presentation layer. Good discipline when working in a team or on a large project, but often overkill for the smaller projects.

    Building a set of library functions is good, if these are built modular you can reduce the code footprint by just including what is needed rather than a whole bloated library.

    Sometimes all you really need is a bit of simple procedural code forgetting about objects, frameworks and all these other goodies :)
     
Thread Status:
Not open for further replies.