Rich Client Fashion (reproduced) + mood

xiaoxiao2021-03-06  36

Rich Client Fashion (reproduced) mood

Rich Client Fashion

JDK1.5 and C # 2.0 are not exciting, even add EJB3.0 and Webform 2.0, there is no Rich Client's tide to make people look forward to it next year.

Rich Client's fashion, XAML and XUL are implemented based on specific browsers.

Flex and

Laszlo is based on Flash-based implementation, Spring and Eclipse also have its own set. but,

XAML is still in a single cell state, and is based on .NET;

XUL requires customers to install Firefox, and it seems to be small, and the space has little space. Flex is too expensive and there are still too many bugs; Laszlo is not expensive enough and the little life is in MM. Eclipse and Spring Rich Client have not been tried, but it is not easy to estimate the market.

It can be seen that everything in 2004 has a shortcomings or chartered, so it is only when it is nothing to wait, and it is now impossible to use it in the project, and it is easy to select.

But still, I can't help but heat, when I tried flex, I often insert two feet. Finally, the small projects of colleagues have finished understanding the actual thing of Rich Client. I found that I am still very important. I will be trend next year, and the upgrade information will be flying like a snow, and I can practice it. Analyze these information and understand it. There is only a happiness that can only be a cloud, or yourself talking.

Three representatives of Rich Client

Integrated XUL and Flex, Laszlo, a RICH Client program, must provide the following three things:

1. The control layer of the layer.

Cannot rely on HTML

,
slow draw control, such as the C / S program directly supplies the application's control tag.

2. Message Processing Mechanism

The same W3C DOM message mechanism is used on Web Site, the application must have a message mechanism that is similar to the C / S program, although the possibility difference between W3C is not very large.

3. Ability interacts with the background

The Form Submit page refreshed the interaction mode to be angry. All comrades who have done Desktop have I feel so troublesome.

And Flex is very representative to provide three interactions:

The first is the web service, the most standard is also the most troublesome, the maximum increase in development workload.

The second is HTTP Request, similar to XMLHTTP, which is the first as the first-oriented process, often transmitted between the XML format between the front and backs, needs to be converted to the object. The advantage is that the extra workload is less than WS, and the front desk directly requests the background. DO can be switched between the Rich Client and the ordinary Web Browser scheme.

The third is that the REMOTE Object, which is the most OO, the most close to the C / S development mode method, the disadvantage is that the server is used by MM's own AMF, so it is necessary to deal with the Spring framework or EJB, you need a proxy class to come JNDI Lookup (EJB) or BeanFactory.Load () (Spring).

RIA related technical introduction

Java: Some fairly complex client applications (Oracle's JDevelopS) 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 (Mind "Zool") is an XML-based user interface language that comes from the Open source project of Mozilla. 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 that has a large number of open source tools, such as theodore ThinletEtEditor (see "Next") - a way to lay out 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 are 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. XAML: Based on longhorn user interface tag language, XAML uses Microsoft's new vector graphics (Vector-based Drawing Library) Avalon.

Best reference of Flex

A. Getting Started Document: Domestic article is more difficult to find, all of which are some basic applications. The forum and QQ group are also less people to reply. So it is recommended to download the reference manual directly from the official website of MM:

http://www.macromedia.com/support/documentation/en/flex/

B. Improve the document: still only the things on the MM developer website is worth learning:

http://www.macromedia.com/devnet/flex/

Colleagues, reading

BEST PRACTICES, has a new understanding of Flex, and Sample inside is very good.

at the same time

Christophe Coenraets and

Matt Chotin's blog should also read often

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

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.053, SQL: 9