"Welcome to the RIA era"

xiaoxiao2021-03-06  42

Of course, I extracted the content of other places, please refer to you! -------------------------------------------------- ---------------------------------------

Forehead

After reading a few articles about "Return C / S", as a programmer for the development of B / S, it is not exempt from hot blood and is inspired! Once, I am a faithful advocate of the B / S structure, and it is also in the technical quagmire in the so-called "zero departure". Just as B / S troubled, RIA walked into my sight ...

What is RIA

The Internet has become increasingly a default platform for application development. Users have increased daily on application complexity, but the current web application is always concerted in terms of completion of complex applications. When the user interacts with today's medium complex level web application, its experience is not satisfactory. The web model is based on page models that lack client intelligence mechanisms. Moreover, it is almost unable to complete complex user interactions (such as traditional C / S applications and user interactions in desktop applications). Such techniques make it difficult for web applications, high support costs, and cannot function in many ways.

In order to improve the user experience, a new type of Internet application has appeared. That is Rich Internet Applications (RIA). These applications combine the fast and interactive advantages of desktop applications, and the range of communication ranges from web applications and easily propagate. RIA simplifies and improves user interaction of web applications. In this way, the application developed by the user can provide a richer, more interactive and responsive user experience. Based on host mode → C / S mode → B / S mode → RIA mode Our industry has experienced important transformations in several system architectures. In this process, the client's performance features have fallen. The figure above describes the changes in the application experience of each phase of the calculation function, which starts from the mainframe, until the occurrence of RIA.

As each enterprise organization recognizes that the RIA model produces significant commercial profits, improve productivity and reduced cost advantages, this model's development momentum is getting more violent. These applications combine the fast and interactive advantages of desktop applications, and the range of communication ranges from web applications and easily propagate. The next step in the development of the system architecture is RIA, which maximizes extensive and richness.

On the lack of traditional B / S

Process complexity process complexity is caused by the need to express a multi-step or multi-selected task or interaction. In HTML, a multi-step task can be expressed in a single page. However, due to the limited interaction of HTML, a long page may be generated, and it is unrest, clumsy and difficult to use. In order to avoid this unbearable user experience, you need to divide the task to distinguish the "natural" part of the "natural" to multiple steps, and even multiple web pages are completed. This web-based user interface typically requires repeated flipping web pages to solve the change in the sequential steps. The result is slow, unnatural, confusing, and is annoyed. Configuration complexity Many web applications allow users to configure their own custom products - can be a skin or a computer, or even a car. But configuring products is a very difficult process, because the application must be able to express associated complexity when displaying all valid product options to users, especially when users can from dozens, hundreds or thousands of options When a product is made. Expression of these complexity includes pointed out the desired conditions, effective and invalid combinations, some elements that lead to problems and their appropriate solutions; for each individual chooses to provide cost information and total cost total (once there is a change); It is to allow users to watch the final result. These are quite difficult for traditional web applications.

Size complexity Today, most of the search tools in the website are the textual nature, and there are some images added to some brocade. When the user enters him or her digital camera guidelines, it is possible to be price, pixel, etc., the website will then reply to the product of the criteria, and most of them are text. Conversely, another method is to use visualization to simplify search space (that is, providing immediate and dynamic visual feedback). In a visual selection camera, its search process may be as follows: The website starts from a single screen containing all camera type images. When the user selects the filter criteria by checking the box, a cursor or a data input field, all the camera images that do not conform to the criterion will be deleted, and only the criteria can be seen on the screen. Therefore, in the process of selecting the selective focus to the number of cameras that meet the standard, the user can experience a very different experience, and more similar experiences in real life. Feedback complexity high interactivity applications such as games, which make feedback becomes complicated, that is, referring to a feedback loop between user actions and rapid movement or plot changes. The traditional HTML page can be said to be unable to express this complexity. It requires a highly interactive and local intelligent client application to respond to the user's input and changing their status or interface without refreshing a full page or interfering with the server. A client that relying on the server will make the user experience more attractive, and also solve the problem of feedback complexity. Web applications must have the ability to express complexity to allow users to view complex data, configure multiple options, search large data sets, and interact between users and data.

Real RIA

In order to solve today's problems, the ideal web application should be able to: 1. Using an ubiquitous client 2, there is no change in a variety of hardware platforms, no matter whether low or high bandwidth connectivity Executive execution 4, restore processing capabilities to customers (not only providing capacity) 5, providing attractive high interaction user interface 6, expression process, data configuration, scale and feedback complexity 7, seamless utilization Sound, video, images, and text 8, allow users to work online and offline to support mobile workflow 9, allow customers to decide when to access what content and data (asynchronous content retrieval) 10, access multiple intermediates Layer service (.NET or JAVA) and backend data store 11, using newly rising standards such as XML and SOAP, providing dynamic efficient front-end applications 12, with remains old applications and System Integration 13, allowing new features to gradually add new features in existing web applications and environments to make full use of existing network application investment structure Ria itself provides such web application solutions. As shown above, RIA integrates the best user interface functionality of desktop computer software and the general adoption and low cost deployment of web applications, and the length of interactive multimedia communications, and finally makes a more intuitive, responsiveness. And a valid user experience application. The length of the desktop computer is included in the confirmation and format arrangement of the interactive user interface; providing a short interfacial response time under the brushless page; providing universal user interface features such as drag and drop (DRAG AND DROP) and Online and offline operational capabilities. If the length of the web network is deployed immediately, across the platform availability, uses step-by-step download to retrieve content and data, with a web page of the magazine layout, and make full use of widely adopted Internet standards. The length of communication includes two-way interactive sounds and images.

The role of the client in RIA is not only a display page, but it can request asynchronous, deliver and retrieve data, re-draw a part of the screen, and use the sound and image, which can be rely on the side of the screen. The server or backend of the client is connected.

RIA provides a strong technical platform that restores the ability of the client to almost similar to client applications in desktop computer software applications or traditional C / S systems. It is suitable for traditional N-layer development processes, and can also integrate with an old environment to extend existing applications without modifications. It can also be used as an interactive performance layer of the basic network service, allowing users to work online and offline. RIA has the ability to solve various complexity, making the application of complexity to develop and reduce development costs, while in many cases, it is mainly giving to RIA. RIA Solution - FLASH-based Flex

Flex Introduction Macromedia is recognized as a leader in an emerging RIA market. Today's 98% browser uses Macromedia Flash client software, so almost everyone can use Flash-based RIA. Macromedia Flex is a new server product of Macromedia that enables enterprise application developers to fully access RIA's functionality. Flex has a standard architecture that complements to the current enterprise developers' tools, methods and design patterns.

The main difference between Flex applications and traditional HTML applications is that Flex applications are best suited for client operation, such as field check, data format, classification, filtering, tooltip, synthetic video, behavior, and effects. Flex enables developers to better deliver applications, which allows users to react quickly, smooth transitions in different states and display, and provide no interrupting continuous workflows. The Flex application framework is shown in the figure above. The Flex application framework consists of MXML, ActionScript 2.0, and Flex class libraries. Developers write Flex applications with MXML and ActionScript 2.0. Using MXML Define Application User Interface Elements, use ActionScript 2.0 to define customer logic and program control. The Flex class library includes Flex components, managers, and behaviors. With the development model based on the Flex component, developers can add pre-built components in the program, create new components, or add pre-built components to composite components.

Here you have focused on MXML. Like HTML, it is a tag language, which describes the user interface that reflects the content and functionality. Unlike HTML, MXML can provide a declaration abstraction to the representation layer logic with user interface and server-side data binding. MXML can completely separate the problem with business logic to achieve the maximum extent to increase the productivity of the developer and the repetition rate of the application.

Flex's deficiencies currently launched Flex 1.0 Updater, but its IDE "BRDY" is not officially launched, and BETA 3 test is still in progress. Throwing IDE, the author thinks that Flex is still very immature, it is not conducive to the use of actual projects.

For example, Flex comes with ZipCodeValidator, which only provides a zip rule of the United States and Canada, without other choices, and cannot personalize it. It seems that only yourself define Validator, but in this way, what is the difference between the regular expression in JS (code quantity and JS are almost)? Users need to be internationalized ZipCodeValidator, so that work efficiency can be improved.

One sentence summarizes the current Flex is the 1.0 version, and many places are not perfect, but they have to customize to complete specific requirements. Looking forward to the launch of BRADY and FLEX subsequent versions!

RIA Solution - BINDOWS Based on JS

Bindows Introduction "Bindows played JavaScript to the ninth floor!" - Netizens evaluated Bindows.

This is true of BINDOWS, Erik et al. Writes this framework, which has played JavaScript OOP and IE6-based DHTML! Bindows 0.93 is released, the function of the IE has been built into, including Filter, XMLHTTP, Web Service, VML. JavaScript is used for display and processing of the client interface, and XMLHTTP is used to transmit information with the server. JavaScript is not suspicious of the client's performance, seeing the capabilities of www.bindows.net, using JavaScript to achieve most of the Windows applications can do, XMLHTTP has always been used to achieve "no refresh" Web page, which works with JavaScript, which can complete data from server and client transmission. Bindows's lack of Erik likes all that all loaded ways to implement the script library, using Bindows, will find that a long wait process, even browser processes, or even browser processes. According to V0.93, the size of the script file is more than 600 K. In a normal web application, we will not use all the features of Bindows more, this bindows does not follow the "How much to go". " In addition, too much JS will cause the CPU usage to increase, resulting in potential problems. The internal use of IE6 technology has not taken into account the browser of non-Microsoft platforms, limiting the popularity of BINDOWS. In terms of chart, there is a large number of VML technology, in two versions of IE5, IE5.5, the VML engine is not so mature, many places are not smooth enough, they will be limited by bandwidth and hardware, and excessive graphics will eventually give Users bring crash. "I use VML in terms of graphics, I am too paranoid, if I use SVG to achieve a lot, that is, the day, I spent a lot of time to go to the Web." - Some netizens said.

One sentence is summarized on the perspective of technology, from bindows can learn a lot, but it seems that its academic value is greater than its business value.

Rear

Excited excitement, calm down, think about it, using RIA to transform the existing B / S mode and is early. The first is the imperfectness of the network environment and hardware environment. I want to have a lot of time to spend a lot of time to wait for the "Fancy" page that you want to see, something you don't want to wait for your own machine. And exchange just some good experience? The market decides everything, not any new technique! Second, the current RIA solution is not mature, the author is optimistic about Flex, but unfortunately need a long time to wait. Of course, there are still many RIA scenarios that feel that MS's Smart Client Web Service is not small.

This article is called "The coming of the RIA era", the author is full of a beautiful embarrassment to RIA, looking forward to a virtual reality of virtual reality in RIA! Are you ready? Let's go!

Thanks: RIA China does not have them, I don't think there is such a understanding of RIA today! ! !

Reference Flex White Paper IDC - RIA White Paper Return C / S? Explanation Bindows Meeting the Return of Client / Server Mode Flex: RIA's pioneer, unbelievable silver bomb? Return's Rich Client

转载请注明原文地址:https://www.9cbs.com/read-56783.html

New Post(0)