Advantages of Silverlight in implementing Ria end-to-end

Source: Internet
Author: User

When talking about Microsoft's core CLR runtime environment specifically packaged for Silverlight, we have to talk about the whole. net Framework advantages, many people will. net Clr and JRE, both of which have powerful basic class library support, can be said to provide the foundation for enterprise development, and Silverlight enjoys such a basic class library, to reduce the file size during running and improve the user's download and installation experience, Microsoft removes useless server-side base classes and retains the main client class libraries, the following describes the advantages and disadvantages of Silverlight in enterprise-level development in combination with core CLR.

The following table lists the advantages of Silverlight in enterprise-level application development:

The most important thing is the support of the front-end core CLR. You can refer to msdn to obtain all the information about the Silverlight 4 base class library.

This article will not introduce coreclr too much. The main base libraries of Silverlight are summarized as follows based on the client architecture:

Level

Base class library support

XAMLPresentation Layer

Rich native controls (system. windows. more than 100 controls control classes) and custom control library (system. windows. controls. usercontrol), supports global style modification and Resource Management (system. resources), supporting animation (system. windows. media. animation), effect (system. windows. media. effects)

Client control logic layer

.. NET Framework supports a variety of basic class libraries, including multi-threaded class libraries (system. threading), Security Library (system. security), reflection class library (system. reflection), LINQ class library (system. data Stream operation class library (system. io), XML operation class library

Communication layer

Including ADO. Net interactive class library (system. Data. Services), WCF interactive class library (system. servicemodel), Network Class Library (system. Net), etc.

Another point that makes us choose Silverlight is to combine. net server-side technology, which can be used to build end-to-end Ria applications under a technical system. In terms of development, library libraries can be shared due to language consistency, the same IDE environment can provide convenient functions such as front-end integrated debugging.

How to enhance data presentation through Silverlight

To build enterprise-level applications, you must make data presentation and editing more convenient and intuitive. Traditional Web applications based on the HTML tag language can use input and table to edit and display data, however, beyond its capabilities, many third-party web application controls use JavaScript scripts to achieve sorting, drag, and drop effects, but the scripting language is inefficient after all, it also has many external reasons (such as the browser environment) to make it less stable, and the Silverlight native control has a good performance in data presentation and editing. Taking the data list in the PACS system as an example, using the Silverlight DataGrid Control, native supports column sorting, column drag and drop, you can also useCodeImplement filtering and paging. In some application scenarios, each record must have corresponding processing flow and function buttons. Therefore, the row template (DataGrid. rowdetailstemplate) to customize the effect of the row style. However, you can add any XAML element to the <datatemplate/> so that the Silverlight application can easily and quickly implement previously hard-to-achieve results.

In addition to the data list display mode, Silverlight provides more graphical display methods, such as native statistical charts. The following is the chart control application of Silverlight. When you drag parameters, the chart will be transformed in the form of animations without any code.

Silverlight do it in naturally

In addition to data presentation, traditional Web applications may encounter more data entry restrictions, such as the Application Scenario of parameter segmentation, when we want to input parameters of any age group, traditional Web applications do not have a good solution. They may only input data in the following ways:

However, if you use the Silverlight custom control, you can implement the following user-friendly design:

You can simply insert a segment in the middle of a segment by clicking it, and drag it to delete the segment. This design conforms to the "do it naturally" user experience design principle. In addition, the idea of Silverlight "Everything is a user control" allows developers to easily develop a user control, and these user controls can be fully reused by the entire project.

Development Process of "experience first"

Based on the "experience first" design, Silverlight revolutionizes the traditional business needs model and changes the traditional development process. It is a development model that allows the development team to choose from the interface rather than the function. In the PACS project demand analysis, we did not adopt the functional-oriented Explanation Method of the requirement specification, because the gaps between business and it often lead to project failure. The Silverlight design tool blend contains the prototype development tool sketchflow. By dragging a simple prototype control, you can quickly develop a system prototype so that the business department can quickly understand the interface and logical relationship, this avoids the differences between the business and IT in terms of final deliverables. The following is a comparison between the PACS prototype and the final system in the requirement analysis process:

Silverlight brings about a revolution in the development process in PACS development. After the final evaluation, the rapid prototyping method is used to greatly reduce the demand change and ensure business satisfaction.

Future Prospects

looking forward to the future development of Silverlight technology, Microsoft has positioned Silverlight as the main development technology for Windows Mobile in the future at the last mix10 Conference. In addition, Microsoft has previously implemented cross-browser and cross-platform strategies, in fact, the "mobile phone, PC, and TV" three screens have been integrated. We can clearly see that Microsoft has used Silverlight to achieve the unification of client applications, so as to fully recover the trend of losing ground in Web applications. Therefore, in the future, Microsoft will certainly continue to increase awareness of this technology, and Adobe will not give up the opportunity to fight back with full share. This is what we want to see as a competitive trend for enterprise developers. After seven years of experience, we will wait and see if the spring is coming!

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.