Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Frameworks (CodeIgniter, Yii, CakePHP) vs. Django

Tags:

I have to develop a site which has to accomodate around 2000 users a day and speed is a criterion for it. Moreover, the site is a user oriented one where the user will be able to log in and check his profile, register for specific events he/she wants to participate in. The site is to be hosted on a VPS server.Although I have pretty good experience with python and PHP but I have no idea how to use either of the framework. We have plenty of time to experiment and learn one of the above frameworks.Could you please specify which one would be preferred for such a scenario considering speed, features, and security of the site.

Thanks, niting

like image 532
niting Avatar asked Apr 05 '10 13:04

niting


People also ask

Which is better CakePHP or CodeIgniter?

In terms of simplicityCodeIgniter is considered as best in regards to its approach to simplicity. The web development when done using CodeIgniter framework, loading is done in libraries, work is done in the controller and pulling in the view. Nothing is hidden and one can see how things get done in CodeIgniter.

Which framework is most used in PHP?

CodeIgniter is the top choice for a beginner-friendly PHP framework that is easy to use and quick to learn. It works on the MVC architecture, is easy to install, offers several guides and is easy to understand for beginners to get started with developing web applications on PHP.

Is PHP better than Django?

Conclusion. Django is a great and popular framework with support for advanced technologies like machine learning. On the other hand, PHP is an easy-to-learned programming language that can create web applications. This article included a detailed comparison of both technologies.

How many types of PHP frameworks are there?

Wikipedia lists 40 PHP frameworks, but some of those are better described as content management systems, and undoubtedly there are many more. Early PHP frameworks include PHPlib, Horde, and Pear.


2 Answers

This is a very subjective question but personally I'd recommend Django. Python is a very nice language to use and the Django framework is small, easy to use, well documented and also has a pretty active community.

This choice was made partly because of my dislike for PHP though, so take the recommendation with a pinch of salt.

like image 108
Cromulent Avatar answered Oct 08 '22 18:10

Cromulent


Most of the frameworks out there nowadays are fast enough to serve whatever needs you will have. It really depends on in which environment you feel most comfortable. Though there are nuances here and there, MVC frameworks share a lot of the same principles, so whichever you choose to use is really a matter of which you most enjoy using.

So, if you like Python more, there's your answer. Use a Python framework, and Django is the best. If you like PHP more (which I personally don't), you've got some more decisions to make. But any of the PHP frameworks are fine. They really are. Just pick one that looks nice with comprehensive documentation and get to work.

like image 26
Matchu Avatar answered Oct 08 '22 17:10

Matchu