Silverlight full-Site Application Analysis

Source: Internet
Author: User
Silverlight full-Site Application Analysis

Silverlight has always received much attention since its birth. Most programmers, especially after reading the traditional interface that is used to the gray screen and black text, will see this flash of silver, and it will indeed shake their hearts. I have been learning this for a month. Because I have worked on flash game development before, I have been confident in learning Silverlight. Although I have not yet achieved success, I have some experiences.

Recently, a project in the company is still in the technical selection stage and belongs to the OA nature. At that time, Xiaosheng suddenly came up with a bold idea: Using Silverlight as a whole site, just like the popular web games on the internet, full flash.

However, you must analyze the feasibility. The following are some of my ideas:

In the fields currently involved, there are still many problems in the complete Silverlight solution.

1. The switchover problem (a general definition), as shown in figure

1 ). after integration login, If we locate on the relevant page, as we all know, our starting point is to use Silverlight for the whole site, so there is only one page at the entrance, what if a user needs to access different functional interfaces after entering the system? 2) how to implement functions such as forward, backward, and F5 refreshing?

2. Project architecture and design model

In such a system, there are basically no web pages, and some are only xap, So what development mode will be more appropriate, will MVC be better? What data communication method is used, Web Service? Web client? Remoting?

3. Office support, local I/O operations, especially ActiveX support

 

You can make up for the above problems.

1. Silverlight has many parameter passing forms and can be written into a dedicated vro (I am used to this name in development, or can be understood as a controller, but it is used for distribution, I think it is more appropriate to use the vro name). It is used to locate the interface based on parameters. It is a bit similar to urlrewrite. You can also use the Ajax bookmarks to locate the page to achieve browser effect, move forward and backward, refresh

2. Between the presentation layer and the data provision layer, you can use Silverlight to encapsulate an adapter to process Web Service, XML, and remoting data regardless of the source. As for the development mode, MVC may be better, I am not familiar with MVC and cannot comment too much.

3. no solution has been found yet, but it is essential because it is an OA project. If the dashboard knows how to handle the issue and adds ActiveX controls to the SL, you can teach me how to combine them with the Office. For example, there is a control like owc. Support for PPT and PDF is equally important.

 

 

At the same time, it has great advantages in local applications.

 

1. Dynamic Performance, good support solutions for Multidimensional Reports and graphic reports

 

2. complex business logic page processing.

Currently, when processing pages, parent-child pages, and source-branch page relationships, the IE window is opened. For some complex page logic, such as real-time drag-and-drop applications, the results are displayed, and the pursuit of business integrity, the current is the general use of JS + DHTML solutions, and Silverlight can be a good solution to this problem

1. encapsulate the Parent-Child, source-branch page relationships into one page to avoid local failures caused by IE security settings or third-party ie ins, at the same time, the page control is based on a general manager, which is used for variable transmission.

2. Due to the features of Silverlight itself, there will be "one entity" features. For users, if the Silverlight plug-in is installed, Silverlight can be used. Otherwise, it cannot be used. For users, there is no third possibility. It is a complete existence. While JS is used for its non-existent integrity verification, and its integrity cannot be preserved in the case of high user traffic or unstable network transmission, for example, a large portal on the Internet or an online banking system with high security requirements still has this problem. (I have discovered more than one JS error in the online banking reports of Zhaoxing. Just click it, refreshing is healthier ).

 

 

As far as I know, as a whole-site OA application, Silverlight is not selected yet. What do you think of it?

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.