tags:

views:

386

answers:

6

Looking into using frameworks for some personal PHP apps - the only one I have ever vaguely used us codeigniter, are the any better well documented frameworks available?

+8  A: 

I'd stick with CodeIgniter to be honest.

More importantly though, why do you need a framework? By that I mean, a framework is a tool designed to solve problems so your question--which is quite common--is sort of like going to the hardware store and asking what tools to buy without having a plan of what you're going to build, how or why.

So don't use a framework because you think you should have one. Use one when it solves a problem you actually have, not a problem you think you may eventually have.

If you just want to see how something is different, well there are lots to choose from: CakePHP, Symfony, Zend and others. Zend probably isn't a bad one to choose because it's quite modular so you can use as much or as little of it as you like.

cletus
Well I don't really, just felt like having a good old mess around with one :D
Oliver Stubley
Makes more sense after the edit - Thanks, just for playing about and so I know whats available if I ever came to the point of using one for a proper site.
Oliver Stubley
"So don't use a framework because you think you should have one. Use one when it solves a problem you actually have, not a problem you think you may eventually have."this is to true, +1
Darth
A friend of mine recommended air framework, however i never touched it due to lack of documentation for a new user - any experience using it?
Oliver Stubley
+1  A: 

Well,

  • zend is kinda heavy to start with

  • Codeigniter is good and simple, and since you already have experience with it,it sounds like a good plan to keep doing that

  • Kohana is lightweight,and easy to learn. It's also based on Codeigniter.If you are looking to try something new,Kohana shouldn't seem very alien to you.

Silfverstrom
+3  A: 

I use Zend Framework.

Because:

  • It is modular
  • You can use it as a library
  • It is developed by Zend (PHP)
  • It has a good documentation
  • It has a good/large community
  • I like the way it works...
Boris Guéry
+1 because Zend is more of a library than a framework as well, so it just gives you tools to do what you need; all of the other PHP frameworks try to force you into developing a certain way.
Wayne M
Agree, and it still offer a way to work as a team if you want it !
Boris Guéry
A: 

I think symfony is excellent.

Peter D
A: 

if its a few pages of php scripts to send emails and query mysql to display stuff, i'd rather do it without any php framework.

otherwise, i'd recommend symfony. it has a slight (maybe not so slight {g}) learning curve, but can be very productive.

end of the day, its individual preference...so check out this comparison and decide for yourself. ;-)

koss
Thanks - Looks good, Code Igniter seems to be the right framework at the moment, however i'll check out some of the others that are more like libraries too.
Oliver Stubley
A: 

This recent talk discusses a few pros and cons of some PHP frameworks, see if it helps:

  • www.slideshare.net/ccornutt/no-really-its-all-about-you

(I'm a new user so can't yet post official hyperlinks :)

philip
I'll take a look as soon as i get some time, thanks.
Oliver Stubley