• 0

PHP framework


Question

What framework do you use?

Do you use one at all?

I am just about to start a new project in a few weeks time and really want to use a PHP framework. I saw a few tutorials online and love the idea of letting a framework do all the dirty work.

I stumbled upon cakePHP but apparently it doesn't perform well... Its open source though and has the best community support. Should I go with them or pick another framework.

I want to make the right decision now instead of having to learn another in a few months time / porting my existing project.

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

I have been looking into Zend Framework myself. I work with Magento and they indicated they chose the Zend Framework because of its industry backing. I actually have no opinion of which is best and often wonder myself which is 'best' to use.

This question was asked here some time ago. Many people here were not too fond of frameworks and indicated that they create all their own work from scratch and they prefer it that way. I am interested in what people will say this go around.

Link to comment
Share on other sites

  • 0

I use a custom deal, that really isn't much a framework, but rather a collection of a few classes I've written or extensively modified. I don't really care for relying on third party code to do stuff, if possible I try to write everything myself. That way I know it will work (or not work) and can fix it when it doesn't.

I have been looking into Zend Framework myself. I work with Magento and they indicated they chose the Zend Framework because of its industry backing. I actually have no opinion of which is best and often wonder myself which is 'best' to use.

This question was asked here some time ago. Many people here were not too fond of frameworks and indicated that they create all their own work from scratch and they prefer it that way. I am interested in what people will say this go around.

Guess I'm one of those people who don't like frameworks :p

Link to comment
Share on other sites

  • 0

The only PHP framework I've used so far is the Woltlab Community Framework: http://www.woltlab.com/wcf/

As long as it fits the needs of my projects I'll stick to it. WCF has some very neat features, like:

  • user/group management
  • caching
  • event system
  • localization support
  • cronjobs
  • automatic updates
  • addons do not require you to modify the code
  • package dependencies
  • etc ..

Link to comment
Share on other sites

  • 0

I could probably do a lot of the stuff manually but if a framework exists that adopts all the best practices then why not use it...

The MVC pattern looks fairly cool, I know of the concept but could never implement something like that on my own.

Link to comment
Share on other sites

  • 0

I use a custom deal, that really isn't much a framework, but rather a collection of a few classes I've written or extensively modified. I don't really care for relying on third party code to do stuff, if possible I try to write everything myself. That way I know it will work (or not work) and can fix it when it doesn't.

Guess I'm one of those people who don't like frameworks :p

To each their own. If it works for you then no need to change. I look at it this way: Why reinvent the wheel? Other people have spent many hours developing a framework that handles many different things that I probably have not even thought of. You do bring up a very good and valid point though. Using a framework makes you rely on what somebody else has developed -- bugs and all. There have been bugs I run into that cannot be easily worked around, or cost much time because of the bug. I still feel though that the benefits outweigh the disadvantages.

Link to comment
Share on other sites

  • 0

I've used quite a few, for small personal projects I usually try out a different one each time. My favourite so far, and the one I use the most, is Kohana only problems are the v3 documentation is lacking and I've hit quite a few annoying bugs. I do like CakePHP too, but at the moment it is definitely one of the slowest frameworks I've used.

Link to comment
Share on other sites

  • 0

I used to use just a few classes of common functions that I had written, but now I use my new framework. It's still in its infancy, but it's already in use on a few small projects. It's based on the MVC design pattern, using Smarty for the 'V' by default, but the framework's a very modular system, so swapping out Smarty for something less complicated or whatever is relatively easy. Always a WIP though, whenever I'm working on a project and need the functionality to do something it currently doesn't, I put update the framework. I've found it easier to keep on top of what's included in the framework this way than using a 3rd party one.

Link to comment
Share on other sites

  • 0

I've used CodeIgniter before, i twas easy to use thanks to its docs. I don't do much custom coding now, just WordPress plugins/themes.

Link to comment
Share on other sites

  • 0

So CodeIgniter and Kohana seem to be the best ones... I think i'll just forget about cakePHP then and go with one of them.

Might be harder to learn but worth it in the end.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.