Comparison and advantages of web form, mvc and Silverlight

Source: Internet
Author: User

Some time ago, when silverlight 2 came out, a guy in our company made a project using siverlight and boasted how fast development was and how good the user experience was, after a while in the company, another project team began to use silverlight to develop products, but it was not smooth and the effect was poor, the reason why the first project team successfully completed the project was that this buddy was really good at technology and was willing to study it specially. Unfortunately, he left the company later, and many cainiao from other projects made very slow progress. It is also very hard.

Later, I also studied silverlight 2/3/4 ria 1.0, and recently I am reading some asp tutorials. net mvc-related technologies. Let's just make a small summary.

Asp.net tutorial web forms

Advantages: The most important solution is many, and the control effects, such as the template columns of the datagrid, can be achieved as long as there is a need to find a solution,

With rich experience, web form is the most widely used project since asp. net1.0, and practice makes perfect for projects.

Many components are provided. to asp. net2.0. net framework, many useful components are provided: profile, membership, microsoft patterns & practices resources (Enterprise Library)

Many ui controls, especially ajax toolkit, gridview, dataform, and some third components

Disadvantage: It's really hard to say that it's too free to do it as you do.

Silverlight

Advantage: I have seen some silverlight business systems that are well-performed, really nice-looking, and easy to use. The user experience is really good. These are the advantages of asynchronous processing.

I have to say that the binding function is very powerful. It is really easy to develop some functions in combination with the mvvm mode.

It is most suitable for rich media applications. We have a project that monitors the storage space. The google map sdk, images, and deep zoom components can also be used to call surveillance videos of cameras, it's really good. It's hard to use other technologies.

Disadvantages: currently, there are too few solutions, and some of them are really difficult to implement or do not know how to implement them. It takes google for a long time, for example, building a checkbox in the datagrid to submit the data of the selected row, or add a button.

It is really difficult to interact with the background. All interactions can only be web service (wcf). Although ria1.0 (oracle not supported) is also very convenient, it is asynchronous, and it is not as straightforward as web form. 4.0 provides powerful anonymous methods and actions to call callback <> these class libraries.

Finally, I can only say that it is not easy to do well.

 

Asp.net mvc

I have not used mvc 2 and 3 projects, but I have recently made some tutorial operations. I just want to give a brief comment.

Advantages: the layers are clear, model, controller, view, and action are generated by the wizard, which is very standard. It feels very professional, such as building a big project architecture and not wanting web form as casual, in the future, program maintenance will certainly be convenient.

There are also powerful route url functions.

In fact, I think there are many advantages

Disadvantage: there are few UI controls, and you have to combine them all by yourself. It feels like you have returned to the asp development era, and you have to output a piece of data <tr> <td>, it is similar to creating a grid, and the template column is not easy.

Although it is better to interact with the background than silverlight, there is no need for asynchronous methods, but only post, submit is still not easy to use with the web form event mechanism.

Be sure to be proficient in Webpage special effects, such as jquery and json. Otherwise, the ui is really difficult.

 

Summary

If the business system project is better than web form, it is simple and fast. Of course, silverlight is the best for some multimedia applications. MVC may be better for large projects.

 

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.