Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the concept of Flex?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what the concept of Flex is. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Flex usually refers to AdobeFlex, which covers a range of technology combinations that support the development and deployment of RIA (RichInternetApplications).

Flex

Flex usually refers to AdobeFlex, which was first released by Macromedia in March 2004. based on its proprietary MacromediaFlash platform, it is a series of technology combinations that support the development and deployment of RIA (RichInternetApplications). Another meaning of Flex is a tool that generates scanners that can recognize lexical patterns in text.

Introduction to AdobeFlex3

MacromediaFlash is a powerful vector animation editing tool. After doing animation, Flash has been seeking the dominant position of richinternetapplication (ria rich client). The most influential thing is that it has launched an object-oriented programming script ActionScript3.0, and established a class library similar to javaswing and the corresponding component (components). Flex interprets .mxml files to organize components and generate corresponding .swf files through non-Flash channels such as java or. Net. Flex's component is similar to flash's component, but it has been improved and enhanced. At present, Macromedia has been acquired by ADOBE. The current (October 2008) Flex version is 3.0.

The effect of Flex can be achieved by using Flash, so why do you need Flex? There are two reasons:

1: to cater to more developers (developers). Flash is born for designer (designer) design, the interface and flash animation concept and program developers do not fit in, in order to attract more programmers such as jsp/asp/php, Macromedia launched Flex, using a very simple .mxml to describe the interface for jsp/asp/php programmers to use. (XUnid) html is very similar, and mxml is more standardized and standardized.

2: for a standard. You must have heard of the first generation of Microsoft operating system longhorn (that is, vista, and the subsequent win7 is also the same core). When longhorn was launched, Microsoft also launched a new language xaml, an interface description language, which corresponds to something very similar between smartclient and Flex (that is, SilverLight). Mxml and Xaml are also very similar. This is an important embodiment of the progress of human-computer interaction technology, that is, the internal logic and external interface are separated from each other.

Flex has nothing to do with j2ee/.net. Macromedia uses java to create an application that integrates flash technology into J2EE, and then uses .net technology to create a .net application that integrates flash technology into .net. It should be said that Flex solves the most cumbersome problem in J2EE and .net, that is, the web client problem.

Cause of formation

Traditional programmers have difficulties in developing animation applications, and the Flex platform came into being in the first place. Flex tries to improve this problem by providing a workflow and programming model that programmers are already familiar with. The relationship between RIA Flex was originally released as a J2EE (Java2Platform,EnterpriseEdition) application, or as a JSP (JavaServerPages) tag library. It can compile running MXML (Flex markup language) and ActionScript into FLASH applications (that is, binary SWF files). The * version of Flex supports the creation of static files that can be deployed online using interpretive compilation and without the need to purchase a server license.

Flex's goal is to make it faster and easier for programmers to develop RIA applications. In the multi-tier development model, Flex applications belong to the presentation layer.

Flex is developed with GUI interface and uses MXML language based on XML. Flex has a variety of components, can achieve WebServices, remote objects, draganddrop, column sorting, charts and other functions; Flex built-in animation effects and other simple interactive interface. Compared with HTML-based applications (such as PHP, ASP, JSP, ColdFusion and CFMX), server-side templates need to be executed at each request. Because the client only needs to be loaded once, the workflow of Flex applications is greatly improved. Flex's language and file structure also try to separate the logic of the application from the design.

The Flex server is also the communication channel between the client and XMLWebServices and remote objects (ColdfusionCFCs, or Java classes, other objects that support ActionMessageFormat).

OpenLaszlo and AJAX technologies are generally considered as possible alternatives to Flex.

Flex application development steps

The following is derived directly from Flex2.0Beta3 's help file:

Use a system predefined components (windows, buttons, etc.) to define a development interface.

Organize and arrange components, now user-defined interface design.

Use styles and themes to define visible designs.

Add dynamic actions, such as interaction between applications.

Define and connect to the last data service as needed.

Generate a SWF file that runs in the Flash player from the source code.

Thank you for reading! This is the end of this article on "what is the concept of Flex?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report