As Laravel frameworks are so powerful, why do we need the Java EE framework such as spring MVC to develop our web site?

Source: Internet
Author: User
Keywords laravel spring j2ee mvc php
Laravel makes many features easy, from security to scale and speed. This makes the Java framework awkward, such as spring MVC, which covers a lot of features, but is less developed than Laravel.
What are the advantages of this kind of PHP framework compared to laravel like spring MVC?

Reply content:

First, SPRINGLEMVC is just a small module inside the spring framework, just one way that spring can use to solve the HTTP display. But the real spring projects inside, but covers the enterprise from small to large need of various middleware. Boot, Cloud, integration, XD, etc., you can take a look at the introduction above.

Laravel I am not very clear, look at the introduction is a full stack, the PHP world Ror, that contrast, Java should be play or grails.

If the problem goes up, do I use PHP to write a website or to write a website in Java, I just want to say that you are free. If you have to add a reason, I want to say that you know which one to use. Because I now feel that it is easy to build a website, maintenance is more troublesome. My own experience, for example, I am more familiar with Java, I am familiar with Java language writing, application monitoring, log processing, search integration, message processing, RPC calls, Project release, Unittests,orm Tools, and Hadoop,sprak and other big data processing, You want me to use PHP to do this, not PHP has no problem, but I do not know where to find these dependencies.

In the comprehensive, you will use what, what does not matter, as long as the use of good "strong" is only relative. Different tools for different scenarios. The development of a product is based on many backgrounds. For example, the enterprise's own technical base is based on Java, and then suddenly a PHP project is obviously inappropriate (and certainly not not).
In most cases, consider the cost and then measure the gains and losses.

Indeed, if there is no further premise that allows you to choose tools to accomplish a particular job, short-term efficient tools are definitely the first choice. However, in the long run, the tool will not play a decisive role at all. The key is also the user of the tool. After seeing a lot of ghosts, you may understand that today's confusion is because it is too young.
Of course, you may have switched to a promising product manager before you could gain insight into the torrent of information on the waves of electrons, from the dirty, hard-working code. Your question is like, PHP is the best language in the world, why do we still need Java? Because laravel his father PHP does not believe that can defeat Java AH. In turn, Java does not work. If it doesn't work, the coexistence phenomenon will come out ... In fact, there is no need to ask this question.

1. Your boss to use Java or PHP you use what;
2. Which one you are familiar with (if you can decide for yourself);
3. If you are the boss of the team, then you should not ask this question, because the choice of any kind of technical solution is not only one aspect of consideration;
4. The use of different scenarios, to see your current situation, team, operations, the company's technical accumulation in this language, which is more inclined to which to use which;
5. Like this sentence above: "The tool does not play a decisive role at all." The key is also the user of the tool. "One: Fill in the Blanks" (5 points per question, can be added!) )
    1. Development fast does not equal run fast
    2. Development fast not equal to high concurrency
    3. Development fast does not equal good maintenance
    4. Development is not equal to safe enough
    5. Development fast not equal to ___
PHP has been constantly encroaching on the javaweb market quickly Tyler Swift has been so perfect, why would anyone like Lady Gaga? And there are people who like Justin Bieber, it's ridiculous ... PHP is the best language. (I go first, you talk ~ ~)
  • Related Article

    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.