[Program] Introduction to RIA (RICH Internet Application)

xiaoxiao2021-03-06  45

According to my personal understanding, RIA (RICH Internet Application, the Internet Application System) is a full powerful user-end browser, this browser can be IE (XAML), Mozilla Firefox (XUL), FLASH (Flex), etc. Saying, it is an HTML upgrade, and the ASP, JSP generates HTML for client-side browsing, you may also need a wide range of tools to produce a script that can be used in static or dynamic browsers. Anyway, this is an urgent, necessary trend!

The following article from Oracle Magazine Author: Cameron O'Rourke

1. What is RIA?

RIA (RICH Internet Application, Rich Internet Application) technology allows us to deploy a client program as a simple way as a web like WEB is as simple as in the Internet. This is a user interface, which is more robust than the interface that can be implemented with HTML, more sensitive and more interested in visualization characteristics. Regardless of whether the HTML application system can be fully replaced in the future, the HTML application is used to run a complex application system with fat client technology, RIA does provide an inexpensive choice.

2. Why use RIA?

HTML-based applications become popular because the deployment cost of the application system is low, the structure is simple, and HTML is easy to learn and use. Many users and developers are willing to abandon user interface improvements from desktop computers to achieve quick access to new data and application systems. The benefits of Web-based approach are much larger than those who lost some important UI.

However, some application systems are not fully suitable for HTML technology. Complex applications may require multiple extraction of web pages to complete a transaction. In some areas, such as medical and financial areas, this often leads to low speeds of interaction. Let me consider a project management system: We can implement it as an HTML application, but if the user can see and operate chart, schedule, and various hierarchical structures, it will obviously work better.

In addition, although HTML begins to go, even simple interaction activities still need to be done with a lot of scripts. Even if an input form is carefully arranged and a comprehensive script design, it is only a simple "name / value" pair from the browser. If an HTML form can send and receive more complex data structures in the form of an XML document, it is much better.

RIA utilizes relatively robust client description engine, which provides content dense, response speeds and user interfaces. In addition to providing an interface with a variety of controls (slides, date pickers, windows, tabs, fine-tuning controllers, etc.), RIA generally allows SVG (Scalable Vector Graphics, Scalable Vector Diagram) or other Techniques are always constructed to build graphics. Some RIA technologies can even provide full-activity animations to respond to data changes.

Another advantage of RIA is that the data can be cached on the client, so that a user interface that is more faster than the HTML-based response speed and data to and from the server. For wireless devices and equipment that require occasional connections, the future trend is definitely developed to the direction of the client and will gradually stay away from the text-based web client. The application system running on the laptop can be designed to work in an offline manner or at least when the connection is lost.

Figure 1 shows a typical RIA architecture. XML is usually used as a format of data transmission, and sometimes it is also used to describe the layout of the form. In many instances, the client can maintain a connection to the data source so that the server can update the client data in real time. Access to an Oracle data can be done through a web service call. Figure 1: Typical RIA architecture

3. Technologies used in Fuke households

Java:

Some fairly complex client applications (Eclipse) are written in Java, which illustrates to build almost any client application that can be imagined with Java. So far, Java has appeared for a few years, and fully supports creating a form-based user interface. In addition to user interface components in Java Basics (JFC / SWING), developers can also develop from the SWT toolbox from Eclipse Project and many third-party toolboxes. For graphics, Java 2D API can be used for a very complete and very complex graphics API. Java also has unbeatable support for XML and Web services. You can deploy applications with Java plug-in software through a web browser or using the New Java Web Start technology in the Java runtime environment. The main drawback of the establishment of a client program using Java is its complexity (even if simple forms and graphics are required to write very cumbersome code). It has the advantage that Java's comprehensive support for Web standards, and the profound connotation of the language and class library.

XUL:

XUL (Edward "Zool" is an XML-based user interface language that comes from Mozilla's open source project. It can be used to establish a form application that can not only be run on the Mozilla browser, but also on other description engines, such as Zulu (a Flash MX component) and Thinleys (a Java implementation). The XUL description engine is very small (100K or less), which can also generate XML data using XML data. Like Java, XUL also has a very large user group, which has a large number of open source tools, such as theodore Thinleteditor - one enables you to lay down the user interface in a graphical manner, and can generate the corresponding XUL Java application. . One of the main disadvantages of XUL lies in that it has not yet obtained support for a major commercial entity. The biggest advantage of XUL is that it is integrated with the Gecko engine (opened the gate to a large number of web standards), and it is a very expressive and concise language compared to most other XML user interface description languages.

Macromedia Flash and Flex:

Flash is a mature commercial product that can introduce an interactive graphical interface in a web page. After upgrading, the new version contains the function of establishing a form of application. Although Flash is also controversial as a front-end technology that is the most widely deployed on the web (depending on the Flash Player version selected), it is said that there is already more than 98% of desktop systems to support Falsh. Since the Flash tool used to create an animated graphic is very powerful and visualized (the opposite other technical requirements are low graphic code), the graphics designer uses it very heartbeas. The scripting language used by Flah is a variant of ActionScript - ECMAScript 1.5, which is called JavaScript. The Flex product adds an XML description language for Flash so that the user interface can be compiled and can be described with Flash Player. Flex allows traditional development organizations to better understand and use Flash. The biggest disadvantage of Flex and Flash is that the support of the XML and Web services is limited, and the environment as an application development tool is not much mature. The advantage of Flex and Flash is that it can be easily used to create complex animated display, and you can use third-party accessories. Oracle Forms:

Oracle Forms is a mature commercial product used to build a database-centric Internet application system. With Oracle Forms, you can create a form using a visual designer that outputs a form module file. In order to facilitate further processing outside the design tool, the module file either uses a private FMT format, either in XML format. These module files drive a Java runtime environment that describes the form. In addition to the standard widgets of all forms, more functionality can be achieved by integrating additional pluggable Java components and some custom JavaBeans. The scripting language used by Oracle Forms is PL / SQL, and the Oracle database also uses the same scripting language. A very interesting feature of Oracle Forms is that Java APIs for establishing, editing, and compiling form module files can generate numerous form applications by creating scripts, or for global changes. The main disadvantage of Oracle Forms is that the WEB deployment requires the license for Oracle application servers. Its advantage is that it can be closely integrated with other parts of the Oracle database and Oracle platforms (such as Single Sign-On) and Enterprise Manager (Enterprise Manager)), extensive support for internationalization, and creation with data The central application is extremely efficient.

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

New Post(0)