954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Which PHP Framework is best?

Ive been coding in PHP for over a year now. I was thinking to learn a PHP Framework. After googling around, i found few top frameworks such as Zend, CakePHP, CodeIgniter and Symfony. Still, im not able to choose between these. Can anyone please suggest me the best one ?

Thanks

kcrazy
Newbie Poster
5 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

I have decided to learn codeigniter.
No big deal but I think CakePHP, CodeIgniter, Zend and Symfony are all decent :)
Just choose any!

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

o please i'd recommend cakePHP. it is simple if you know oop and also very painless. i love its ORM. it's a piece of work! i have used Zend also, but i prefer cake because of its support for convention over configuration.

hakimkal
Newbie Poster
20 posts since Dec 2007
Reputation Points: 10
Solved Threads: 5
 
o please i'd recommend cakePHP. it is simple if you know oop and also very painless. i love its ORM. it's a piece of work! i have used Zend also, but i prefer cake because of its support for convention over configuration.


What do you mean by painless (Suppose I know OOP)? And please explain what you mean by Convetion vs configuration. Have you done/tried CodeIgniter? What do you think of it?

Question out of curiosity :)

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

Personally I like Zend. It is actively developed, built around the bleeding edge features of the language and has constantly been improving.

My biggest issue with CI is that it was built to support PHP4. To my understanding and from what I have read that means it uses some workarounds to effectively do what php5 is natively capable of.

It really comes down to personal preference there are quite a few big name php frameworks and I've seen really spectacular projects built using them all. Download them, read their manuals, and look at their source.

mschroeder
Work Harder
Team Colleague
666 posts since Jul 2008
Reputation Points: 279
Solved Threads: 131
 

How it differs from XAMPP, WAMP, LAMP?

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

i also want to learn php framework.so please suggest me also which one is good and also easy to understand.

thanks

pbcomput
Junior Poster in Training
59 posts since Feb 2010
Reputation Points: 19
Solved Threads: 4
 
How it differs from XAMPP, WAMP, LAMP?


Those aren't really frameworks; they're software packages that install Apache, PHP, and MySQL together more easily than installing them separately (I've followed both methods, but installing XAMPP was like eating cake compared to installing each separately). A framework, on the other hand, more closely resembles an API. It's a set of prewritten code designed for a particular purpose, to speed development.

I haven't used a framework yet, but the web programming class I'm taking next fall is supposed to teach CodeIgniter.

Mongooseman
Light Poster
29 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

You means that framework will give you the friendly code for development?

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

Yep. For instance, I recently wrote a PHP program to dynamically display tables using data read from a CSV file (a friend actually wrote a large part of the program, which I modified to suit my needs). CodeIgniter has its own Table class that provides most of this functionality out of the box. If I had been using CodeIgniter, I wouldn't have needed to write my own classes. I'd just use what's already there.

Mongooseman
Light Poster
29 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 
You means that framework will give you the friendly code for development?

Raja,
framework is like a package of classes to help you accomplish easily what you want. That is definition of well designed framework. Poorly designed one might be defined differently ;)

evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
 

Thanks

rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: