Which of the following is more suitable for enterprises/teams?

Source: Internet
Author: User
First, let's talk about the team situation. PHP developers are about 20 ~ There are 30 people and 10 people at the front end. A total of dozens of projects are developed and maintained, about 70% of which are internally used projects. Projects that provide external use do not have high requirements on the Performance of PHP, so you do not have to worry too much about the performance. Recently, I have selected the framework. I used ThinkPHP for a few years. However, as the service needs to meet the requirements, TP is not very suitable. I hope to change the framework to Yii2 and laravel5. Reference question: Which is the future of yii2 and laravel? First, let's talk about the team situation. PHP developers are about 20 ~ There are 30 people and 10 people at the front end. A total of dozens of projects are developed/maintained, of which about 70% are internally used projects. Projects that provide external use do not have high requirements on the Performance of PHP, so you do not have to worry too much about the performance.

Recently, I have selected a framework. I used ThinkPHP for a few years. However, as the service needs to meet the requirements, I hope to change the framework, select Yii 2 and Laravel 5.

Reference question: Which is the future of yii2 and laravel? -PHP framework reply content: yii and laravel are currently the best php frameworks. laravel's advantage is that it is better to write neat code, which is derived from its superior design model. Yii has excellent scalability and stable performance, and is born for large-scale projects.
In addition, laravel has been absorbing the most advanced design ideas, so the changes are updated very quickly. laravel5 and laravel4 are very different. yii has two versions so far. The changes are not great, but the scalability is very good, the performance is also good, and the security is also tested.
Yii is the best choice because you are engaged in large-scale enterprise project development and have high requirements on scalability, stability, and team operations. If the problem can be solved, I think the CTO/CEO should be replaced. What should I do with this new one? Laravel4.
Let's take a look at the community heat of the framework, the number and quality of contributors to the module. The framework itself has nothing to do, and the Community is very important. In addition, you must have a thorough audience in your team. Otherwise, it would be useless to have more people. White. From the perspective of team development, I think it is quite good,
Friendly Editor (do not add a plug-in to show vim stream to write python ),
Strict OOP,
Strict naming rules,
Native supports a wide range of features,
Component substitution,
A wide range of extension libraries.

Disadvantage?
High coupling? Who wants you to use its V layer? Is pure api-based development unavailable? The system architecture cannot be designed!
Maybe the learning cost is high, right? (I don't think so. If you don't have this steel drill, it's really difficult to understand the bottom layer)
Performance? I have never seen a system that uses Yii as a gambling system. I have my own brains to supplement the pv and concurrency of that system!

Ps:
Those who like solo are just another matter! It's enough for you to talk about elegance!
What enterprises need is stable performance, fast development efficiency, standardized and unified, and easy to maintain!
What code is elegant and not elegant? You can go away!
Business code writing is not elegant. It is also a feature of your own understanding of the framework, or the level is limited!
Do you know how cool it is to write code without standards?
The responsibility for poor code writing lies in the individual level of code writing, rather than the framework.
Enterprises are a place to sacrifice their individuality for unified efficiency!
Isn't it enterprise-level development? What kind of developer is playing?
Have you wiped your ass? I have wiped enough!

How do I think laravel has all other Yii except routing as a special highlight (Mixed Mode!
Laravel's routing is like django. Sometimes I think that DIY url configuration may last day, and the whole person is not good! We recommend that you use the YII framework. Currently, a large-scale financial management P2P product (former team) in China, including the YII framework, which is used by several products in your own business, of course, YII2. collaboration and modularization are currently used.
Laravel is also good. The problem is, which one is more suitable for you and the team is easier to get started with collaboration. Why not try Symfony2 to check the source code and pick your favorite one? Born of yii2Laravel, Laravel 5 is much more advanced than Laravel 4. Next, Laravel framework is very suitable for group battles ~~ Basically, it is the most reasonable architecture in the php framework.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.