php frameworks: which is the best?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

php frameworks: which is the best?

Post by lauthiamkok »

Hi,

Which is the best php framework out there which I can get enough documentations (such as books, online forums, etc) to start from?

Zend framewkes?
PHP cake?
Symfony?

Thanks,
Lau
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: php frameworks: which is the best?

Post by AbraCadaver »

It depends upon what you need aside from docs. Everyone will have their own "best" or favorite. Zend seems to be very feature rich but in my opinion is just a very good class library. Cake does a good job of tying all of the pieces together and automating a lot of things and I prefer Cake.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
phu
Forum Commoner
Posts: 61
Joined: Tue Mar 30, 2010 6:18 pm

Re: php frameworks: which is the best?

Post by phu »

Django! Oh, wait. :wink:

Personally, I find Zend a bit dogmatic and obtuse.

CodeIgniter seems pretty solid to me; Symfony is also well-written.

Of course, you could also try this. :mrgreen:
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

Re: php frameworks: which is the best?

Post by lauthiamkok »

some of the text on http://cakephp.org/, cannot be displayed properly on firefox, do u guys have this problem?

(see the image attachment)
Attachments
cakephp.jpg
cakephp.jpg (182.05 KiB) Viewed 966 times
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: php frameworks: which is the best?

Post by AbraCadaver »

lauthiamkok wrote:some of the text on http://cakephp.org/, cannot be displayed properly on firefox, do u guys have this problem?

(see the image attachment)
Nope. I've been using firefox forever and visiting the cake site frequently and have had no issues. I'm using firefox 3.6 now and all looks fine for me.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: php frameworks: which is the best?

Post by greyhoundcode »

Looks fine to me too.

For what it's worth, I'd like to throw Kohana into the pot of suggestions.
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

Re: php frameworks: which is the best?

Post by lauthiamkok »

thanks guys but I still cannot get my head around with all these frameworks!

I don't understand why you need install these frameworks like a programme, some of them even need you to set up a database or connecting to the database (cakephp).

I have scanned them through, and all of them require you to install them through prompt command/ terminal and configure urls and make directories are writeable??

How can I install these frameworks on a live server then!??? :?

Why are these frameworks cannot be like jquery which I just need to put it in a particular folder in my website root, and link it in my html document?

When I code my php classes, I just need to include the classes with a link as well like jquery! just cant understand why these frameworks are so complicated? How can them speed up my web production then!?? :banghead:
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: php frameworks: which is the best?

Post by AbraCadaver »

lauthiamkok wrote:thanks guys but I still cannot get my head around with all these frameworks!

I don't understand why you need install these frameworks like a programme, some of them even need you to set up a database or connecting to the database (cakephp).

I have scanned them through, and all of them require you to install them through prompt command/ terminal and configure urls and make directories are writeable??

How can I install these frameworks on a live server then!??? :?

Why are these frameworks cannot be like jquery which I just need to put it in a particular folder in my website root, and link it in my html document?

When I code my php classes, I just need to include the classes with a link as well like jquery! just cant understand why these frameworks are so complicated? How can them speed up my web production then!?? :banghead:
You don't install them like a program, you install it in a location that is accessible by the application that you will write. If you will have a database in your app then you will need to setup the database details. If the framework provides caching etc., then you'll probably need writable directories.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

Re: php frameworks: which is the best?

Post by lauthiamkok »

AbraCadaver wrote:
You don't install them like a program, you install it in a location that is accessible by the application that you will write. If you will have a database in your app then you will need to setup the database details. If the framework provides caching etc., then you'll probably need writable directories.
okay... can I ask another question...? how about when come to the live server - how do I 'install' a framework...?

sorry for being stupid! :oops:
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: php frameworks: which is the best?

Post by AbraCadaver »

lauthiamkok wrote:
AbraCadaver wrote:
You don't install them like a program, you install it in a location that is accessible by the application that you will write. If you will have a database in your app then you will need to setup the database details. If the framework provides caching etc., then you'll probably need writable directories.
okay... can I ask another question...? how about when come to the live server - how do I 'install' a framework...?

sorry for being stupid! :oops:
Just read the docs. As for Cake and Zend you would just upload the framework to your web directory or an include directory and make any permissions changes that are needed. All of the command line stuff is to create and configure your app, which you would normally do on your dev server or workstation.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
lauthiamkok
Forum Contributor
Posts: 153
Joined: Wed Apr 01, 2009 2:23 pm
Location: Plymouth, United Kingdom

Re: php frameworks: which is the best?

Post by lauthiamkok »

will do that! thank you. :D
Post Reply