Why Laravel 5 So good a frame, people are not going to use?

Source: Internet
Author: User
Keywords laravel thinkphp
Tags ruby on rails
Why Laravel 5 So good a frame, people are not going to use?

Why are you using that kind of rubbish thinkphp?

Domestic tutorials and materials, hardly any.

The course materials abroad are huge, and the books are huge.

After my study, I found that Laravel 5 really is a very good framework.

Very strong, and very elegant. The development project is very fast.

************************
Problems:
Why is this frame only foreign fire? Not in the domestic fire up??

Reply content:

It's not a fire.
Laravel is also used in China.

There are several reasons why most companies do not use
  1. PHP version compatible
      1. Many deployment scenarios are Lnmp,lamp, and the version requirements are relatively low. Laravel Latest version requires PHP version minimum of 5.5.9
  2. Historical baggage
      1. Most historical PHP projects are in the state
      2. A large number of open-source PHP projects, can be used to change it, there is no need to build 1 wheels with Laravel.
  3. Laravel iteration speed and learning cost
      1. The tags log on GitHub shows that 3.0 was released in January 2012. Now the latest version is 5.1.4, calculated 1 Years 1 versions, I came into contact with the 4.x time, learning period 5.0 began alpha. 4.x->5.x refactoring a part of the code, and cannot simply smooth the upgrade. For development, considering the stability, will not be rushed to adopt
      2. Early Laravel documents are basically English documents.
      3. Because the PHP version is newer, php5.3, 5.4,5.5 plus new keyword and function learning cost is relatively high, as far as I know, most people in PHP prefer foreach rather than using iterators like Array_map,array_filter. In addition, the block uses relatively little. Namespace,trait and so on. This study is part of the cost.
      4. Laravel's idea is to learn to assimilate Ruby on rails. Conventions are larger than configuration, heavy models, light configurations, light controllers, heavy model migrations, and part of the cost.
  4. Best practices
      1. Better Business use case
  5. Laravel Ecological Circle
      1. The point is to talk about this. Any language, the framework to be popular, must need a good ecological circle. Eco-Circle includes
        1. 1 The great God absorbed the good thoughts into the language or the frame.
        2. A large number of languages or frameworks designed for business-specific excellent solutions, the adoption of 1 solutions The most important is that the solution to better solve the existing problems. If there are several options available. That's the best thing.
        3. Numerous extended enhancements around languages and frameworks
        4. A preacher who has a certain ability and a voice.
        5. Excellent communication community
      2. The above several aspects in the domestic comparison lacks
  6. Scientific Internet
      1. The most important 1, you can not science Internet, composer can not use. Let's wash and sleep.
Laravel is a good framework, I am also learning and use, and promotion in the company, the new project is to use the laravel. But I think the Lord said thinkphp is rubbish I do not agree, the foreign moon is really more round?
Besides Laravel and TP comparison Bar, to tell the truth laravel threshold is much higher than TP, because Laravel is a new framework, with a lot of new PHP features, not backwards compatible, and TP has been for many years.
At the same time, laravel in the foreign popular and not popular in the country there is also a problem is that it is really slow, in order to decide on the new project Laravel and colleagues argued for a long time. Do you think Laravel responds to a GET request and outputs a Hello world to instantiate 33 objects that appear to be better than TP or other frames?
Many phper just start level is not high enough, do not understand the laravel in many design patterns, what relies on injection, control inversion, facade and so on, looking at super long logic super around the source code is also very weak, and TP this aspect is a lot simpler. More crucially, TP has a detailed Chinese document and Laravel translated documents that look a lot but obviously not enough for many poor English developers this is an insurmountable gap
Of course, in the end, I personally summarize the view that Laravel is not popular at home.
1 high threshold (design mode, closures)
2 less Chinese information (most people's mishap)
3 design is very complex (albeit elegant)
4 Speed super slow (foreign sites a lot of pressure is not big they don't care)
5 too Java (so complex and much like Java why don't I just use Java?)

But his flaws, laravel itself is indeed a very good framework, especially recently based on its launch of Lumen, the speed of a large increase said people always more than the number of people, Reason:
Cognitive delay, acceptance of inertia, blind pursuit of high, loose, halfway; I say a little, a lot of foreign very hot or very popular things, to the domestic poor a lot, a big reason is the language barrier, that is, English barrier. Rails is a good frame for so many years and has not seen a few Chinese companies use it?
You want to use it? The premise is that you have to find the rails programmer.
In general, I think that Chinese programmers are not fast enough to accept new things, or that Chinese companies are not fast enough to accept new things.
The reason why I want to go to the root is that Chinese self-study ability is insufficient. There are no schools and training courses to teach, and few people will go to self-study. No one will have no market, nor will there be a training course to teach. Vicious circle. You might as well start by saying thinkphp. And where is laravel good?

Please say above two points to prove that you are not in the same, thank you!

I used a lot of frameworks, including thinkphp, CodeIgniter, Kohana, Yii, Laravel, Symfony2, and now mostly using Symfony2, also trying to use Symfony component to create my own frame, which, in my opinion, The framework is just a tool that has its own features and scenarios.

In addition, I also like Symfony, laravel this kind of new frame, but, I also resent this by demeaning others and prove their way, as if the world you are sensible, others are silly B like!

Originally this kind of question I was refused to answer, but it old appeared in my timeline, sees on the vexed!!! Thinkphp is more suitable for CTRL + C and CTRL + V.

Laravel is more suitable for making wheels. Because do not understand English ~ ~ So slow, not without ~ ~ is the application is very slow ~ ~ a lot of people use.
Laravel I think is the best PHP framework at the moment ~ who used to know ~ ~
We engage in technology should not be to work, in order to complete the task of the boss, but because of love, with better technology, it is necessary to learn, to use ~ ~
larabase--Full Stack Engineer's house Lemma:

Why is the Play Framework 2 so good a framework that people don't use it?

With the same license, welcome to initphp.
  • 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.