Large Web site production front-end using PHP background logic with Java

Source: Internet
Author: User

For the site team, can be divided into the front-end, back-end, the framework of three roles.

  • Front end: Responsible for all products that interact with the user, including the Web and mobile client
  • Backend: Responsible for the development of various business APIs, as well as the development of other systems on the server side
  • Architecture: Responsible for design and implementation of key system architecture, server maintenance and development process management, team building

The reason that the front-end uses PHP, is that it is flexible, quick to use, easy to modify, release fast, the disadvantage is easy to make mistakes (common such as spelling errors, SQL injection, upload execution, etc.), execution efficiency is not high, lack of global cache.

The reason behind the use of Java in the backend is that it is stable, reliable, efficient (especially after the advent of the JIT), not prone to mistakes (strong typing, precompilation, the need to intercept exceptions, etc.), the disadvantage is that the development and release efficiency is relatively low.

In general, close to the user's front end, the use of PHP can be faster to complete the front-end frequent and trivial updates, free to respond to changes in demand. The structural adjustment of the page, basic validation of user input, simple logic related only to user interaction, etc. are well suited to PHP development, and can even be migrated to the front-end team with template technology like Smarty. And the basic business logic and data update using Java development, can effectively improve the reuse, improve performance and throughput, avoid security issues. And the development of a slight reduction in exchange for maintainability of the promotion, the release speed is not a problem, because usually the basic business logic adjustment is often the overall modification, and layer test confirmation to be released.

Therefore, the large-scale web site production front-end using the PHP backend Java, both good and good maintenance, system stability and high performance, even security has greatly increased. Code reuse and completeness of documentation have all improved.

Large Web site production front-end using PHP background logic with Java

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.