Two different Web Applications

Source: Internet
Author: User

After the Torch said today that the donews blog will replace WordPress, Ling Hu raised a technical question. We have discussed this:

Ling HU: I don't care about WP, but I think some people (maybe including me) should reflect on the concept of "Web application.

Birds of prey: There are many Web Applications

Ling HU: first, think about the benefits of Java and. net. One of the biggest benefits is separating the UI, business, and storage from the infrastructure and specific applications. The advantage of this separation is that it facilitates the development of complex business logic and makes adjustments to the UI and storage without modifying the logic.

Mengbird: this is the difference between enterprise applications and Internet applications.

Ling HU: Now the problem is that enterprise applications, without a doubt, need to solve these complicated logics. But what about Internet-based applications? Are they really complicated?

Mengpoultry: in enterprise applications, the persistence and UI layers are relatively thin, while the logic layer is the heaviest. However, Internet applications are characterized by the heaviest UI Layer and the thin logic layer. In most cases, the logic of Internet applications can be distributed to persistence and UI. On the other hand, the two applications face different user groups. Enterprise applications have a limited number of users, but are frequently operated. There are a large number of Internet application users, but there are not many operations.

Ling HU: Yes. This is why Ajax is popular in Internet applications, and many javaer do not agree with it. (The author of webwork thinks Ajax is useless)

Record: Yes. The advantage of AJAX is that it greatly improves the UI development capability, which is of little use for enterprise applications.

Ling HU: Yes. Therefore, the choice of Quixote frameworks like Douban is very mature. For an Internet application, performance is a very important aspect. However, it is not that important to separate pages. In many cases, after the real business logic is stripped out, we may find that there are not many things (for example, Douban, in fact, all of them are queries and then queries ), for this reason, it is not cost-effective to use good hierarchical separation, which leads to performance degradation. I couldn't figure it out before, but now I figured it out.

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.