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 Flex must know

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article will explain in detail what you must know about Flex. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

one. Flex is the web standard

MXML is the standard language for Flex applications, which allows developers to customize structured applications, including not only layout but also class structure, which is very simple for tagging. This feature is very convenient for developers with web design and development background to develop with MXML similar to HTML. Similarly, Flex's ActionScript is similar to JavaScript, where Flex uses the web standard CSS to control the layout. Flex uses a convenient way to customize the application structure, similar to the combination of tree structure prototype language and container component model applications. The source code is easy to distribute, not a binary file that requires IDE, but a text file that is simple and readable.

It is worth mentioning that MXML is a shorthand of ActionScript, ECMA is compatible with the scripting language, MXML is converted to ActionScript3 at compile time.

two. Flex is Flash.

If you are familiar with the lightweight vector animation and advanced user interface provided by Flash in the past, then you are no stranger to Flex. Flex is built on * FlashPlayer, and the engine is hidden behind all Flash content. In this respect, there is nothing Flash can do but Flex can't do.

three. FlexJustWorks

Many companies replace Java with Flex because it provides cross-platform capabilities and modern object-oriented architecture similar to Java, but requires a much smaller encapsulation and additional load. Flex applications are fully capable of completing web-based software, as well as desktop software (combined with AdobeAIR).

four. Flex is not restricted by server

Flex is made up of data that can accept data in different formats and interact with the most common servers. Load XML locally or remotely, JSP,PHP,ASP,ColdFusion, etc. You can download information via HTTP or SOAPwebservices, or even accept Java service objects directly to read and write SQLLite databases.

five. The appearance of Flex can be customized by you.

The appearance of Flex applications is very customizable, and you can switch between "skin" and custom UI at will. Unlike Java or JavaScript, which does not inherit the UI of the operating system running, this means that Flex runs on MacOSX, buttons do not become Mac-style buttons, and Flex is set by its own built-in appearance.

six. Flex is lightweight and fast.

Based on ActionScript3, the Flex framework is very fast. Initialization time has been greatly improved for ActionScript2. Flex uses the new JIT (Just-in-Time) compiler, which speeds up the running speed. Of course, some people will argue that using a complete set of user interface components must affect speed. In fact, a typical application that uses the AJAX framework is larger than a similar Flex application. FlashPlayer is only a few megabytes and is often pre-installed on a computer. This is also a new feature worth mentioning, namely frame caching, which can save a lot of time downloading components within the framework. This feature stores standard FlexUI components on the user's machine so that other Flex applications run without downloading the entire framework.

seven. Flex is accessible.

Many people think that Flash content is difficult to access, which is an illusion. In fact, Flex framework components have good interactions, such as screen reading and keyboard navigation, and developers only need to turn on this switch (off by default).

eight. Flex compatible search engine optimization

Flash content is difficult to be included by search engines, which has always been a problem in the development of content websites. Adobe recently released a special version of FlashPlayer for search engine optimization. Of course, it will take time to solve this problem completely.

nine. Flex is free and open source

Flex is completely open source, and the entire framework source code can be downloaded from the Adobe website.

ten. Flex is easy to learn.

MXML is very simple and easy to understand. If you have ever used HTML and CSS, you will soon be able to get started with MXML.

This is the end of this article on "what Flex must know". 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, please 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