Microsoft MVC-Some Opinions

Source: Internet
Author: User

 

Microsoft has always been engaged in ASP. NET website development, to be honest, Microsoft's event model is much better than J2EE's JSF, but speaking of the performance event model, it is estimated that it is not as good as the MVC Framework (not studied yet, just by the cloud ), however, in terms of WEB development, front-end performance and network problems are the most important concern for WEB developers. In particular, for website development, you cannot control the performance and smoothness of the two, you can't always tell the user, like playing online games: "bro, do you want to play? Then you must comply with the XX configuration ", so people will not take you. There are many similar websites, and there are also network problems. It seems that the bandwidth above 10 m is expensive, the cost is high, and the LAN is okay. As for the backend, is it controllable? If the performance is poor, a high-performance server cannot achieve load balancing, or IIS cache is insufficient, distributed development and a large number of solutions are involved, all are under control. From this perspective, MVC is much better than the event model, which simplifies N multi-traffic and generates a lot of HTML code, but do you need to consider traffic for enterprise-level development )? As for performance issues, as long as the performance is not too poor, you do not need to consider it? Drag on and develop faster (is the advantage of. NET development still efficient and fast? And enterprise-level development accounts for the majority? Excluding some enterprises with special requirements, it seems that these enterprises prefer J2EE or other development !)

Excluding this majority, the rest is the website programmer, and the emergence of MVC is really great news, but the problem is that Microsoft still cannot avoid their old problems, what Html. beginForm, Html. textBox: You have to let the UI do it. People are not willing to do it. After that, we still want our programmers to perform secondary processing on the page. Why can't you change it? The workload is still very large. In the past, there were a lot of things, so we didn't need to view them. We didn't need heavyweight server controls. We used Repeater for Data Binding. What else do you mean to implement MVC, of course, you can automatically assemble parameters, which is an advantage, but not before? So far, I have not seen the benefits of MVC to web programmers like me. At least I still need to develop HTML pages from the UI. However, it seems that MVC has abandoned the event model. Originally, I used the Button to solve the problem of submitting multiple Button pages. Now I have finished writing Html. beginForm, of course, can we write multiple methods in the Controllers class? But the question is, do you need to write multiple Html. BeginForm? Is it possible to tell Controllers that I clicked the button? Depend on ~ It is difficult to achieve a harmonious situation, which has disrupted Microsoft.

Microsoft's bosses, why don't you think of a solution, so that we don't need to perform secondary processing on the HTML page provided by the UI? At least, you can do less processing. Should we focus more on the background code and how to improve performance. As we approached our boss's salary, the Headquarters could simply say, "I can't do this either. Do you want to add a server ?" If the website is too big, you may want to tell us about it and blackmail us to buy more of your products. Microsoft, your service quality is too bad! No wonder we have to go without risks. To use pirated copies, we just don't need genuine copies. haha :)

(Wait for the master to give me lessons-about MVC)

 

 

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.