Current location - Quotes Website - Personality signature - Introduction of client interaction technology
Introduction of client interaction technology
Introduction of client interaction technology

With the continuous enrichment of network applications, client-side interaction technologies have mushroomed everywhere. With the support of these technologies, our Internet world has become more colorful. Generally speaking, the current client interaction technologies are mainly divided into the following categories:

Microsoft series: ActiveX, Silverlight

Java series: Java Applet, RCP(RAP, GWT), JavaFX.

Adobe series: flash(flex), ActionScript, air.

Html series: ajax (asynchronous IO), html5

1. Microsoft series

1)ActiveX was very popular before 10. The control at that time was very simple. Many complex services are encapsulated in ActiveX controls. However, there are several problems. 1 is only supported by IE. Although some other browsers now claim to support it, compared with the original ecological environment of IE, it can only be said that there is, and the effect is still different. 2 is the need for digital signature. However, the security level of IE can be set, so the security is full of loopholes. It can only be said that the idea is good, but the effect has become a chicken rib.

2) Silver light

Silverlight is a cross-browser and cross-platform plug-in provided by Microsoft, which brings good multimedia experience and rich interactive application experience to the Web. Based on. NET platform. Now it can be browser-based or run independently.

Mainly based on the following two technologies:

XAML (Extensible Application Markup Language)-Displays the user interface layout.

WPF (Windows Presentation Foundation)-User Interface Framework

Silverlight plays videos and animations very well and supports hardware acceleration.

Silverlight supports windows and IOS, ie and firefox, safari, etc.

Silverlight has no security problems like activex, and it also supports SEO. Website developers still prefer it.

Silverlight controls are very rich and support third-party and custom controls.

2.java series

1)java applet: It is a java program on a web page. Use awt as a graphic library. There is such a pair of tags in the HTML file code of the webpage containing the applet. When a web browser supporting Java encounters this pair of tags, it will download the corresponding Applet code and execute the applet on the local computer. The previous Google programming contest platform was made of this. To run a javaapplet, you must first install a java virtual machine, and then spend some time downloading the applet when you use it for the first time. It is not used much now, and can only be seen in some internal management systems developed in the past.

2)RCP. The RCP here refers to Eclipse RCP. RCP provides rich interface controls, which makes it easier to develop desktop applications based on Java. RCP gives full play to the advantages of plug-in system and is the best practice of building plug-in system based on OSGi. Eclipse RCP project replaced AWT and Swing in Java standard with SWT graphics library and toolkit. SWT directly calls the graphics library of the operating system, which makes look &;; The feel is completely consistent with the habits of the operating system; More importantly, the direct call to local methods greatly improves the running speed of Java applications based on SWT. Of course, SWT also has its inherent shortcomings. It is not a standard java control library, and its market share is not high. At the same time, it doesn't perform well on ios, but it is acceptable on windows.

Rap (Eclipse Rich Ajax Platform): Rap allows developers to build browser-based Ajax applications using rich Java libraries and Eclipse API. RAP mainly runs on the server. Since RAP runs on the server, it allows you to access rich Java API and use the famous Eclipse plug-in model through OSGi. The main difference between RAP and RCP is the plug-in of RAP and the IEntryPoint of application.

GWT (GoogleWeb Toolkit) allows Java to be used to write rich Internet applications. GWT runs on the client. GWT is similar to the SWT application of the network.

3)JavaFX:JavaFX will become the mainstream graphical user interface development library on the Java platform. However, in the field of rich clients, due to the competition of the other three series, the market share is still very small, and the future is difficult to estimate. In terms of the appearance of components, JavaFX2.0, a graphical user interface library, also adopts a more popular way, that is, using CSS to define the appearance of applications. JavaFX2.0 also introduced the interface description language FXML. JavaFX 2.0 began to use Java as the development language instead of the previous JavaFX scripts. In the future development, AWT and Swing should gradually fade out of the vision of desktop application development. One place where JavaFX can play a role should be the internal system of the enterprise.

3 Adobe series:

1) Flash (Flex): The programming model of Flash is based on the time axis, while that of Flex is based on the form. One for designers and the other for developers.

2)ActionScript: Develop a programming script language of flash or flex.

3) Adobe Air is a video playing platform developed by using Adobe Flash technology. A familiar example: Sina Weibo air.

Advantages: 1) Cross-platform (cross-operating system, cross-browser) 2) Lower technical threshold: only web development technology is needed 3) You can run offline and occasionally connect to the network 4) The user experience based on flash is better.

Disadvantages: 1) User experience and interactive operation are worse than desktop applications, and many applications need to install desktop applications. 2) Need to install a virtual machine

4.html series

1)ajax

This is the mainstream at present. The foundation of Web2.0. This technology enables the asynchronous local updating of web pages. All browsers on the market support it. The mainstream popular js framework has also been encapsulated to this day. There are still some shortcomings in streaming media processing.

Asynchronous IO? It is a socket connection method, which is used to enhance the interaction between client and server to realize synchronous IO. It is usually used in various distributed, instant messaging and middleware systems. It is an efficient and extensible communication architecture.

2)Html5 is the future trend. Solve the client interaction at the browser level, instead of the three categories mentioned before, and enhance the interaction through plug-ins. It supports a variety of devices across platforms.

Html5 mainly includes some new ui controls, such as multimedia player webplayer, canvas and so on. Increased support for websoket, which is a fundamental subversion of asynchronous IO; Add webwork, so that high-performance computing and page display can be separated by threads without affecting the user experience; Css3 support is added, and 3D effect is supported in presentation style. Html5 even solves the inherent deficiency that ajax can't modify URL through historical features. With the advent of the cloud era, Html5 will represent the future. Of course, all these need to be baptized by the market and landed one by one.

In a word, the client interaction technology is developing continuously. Nothing else, just because it will bring users a more realistic user experience in the Internet age.

;