What is Flex? What's the relationship between Flex and Flash?

Source: Internet
Author: User
Tags java web

Flex is the presentation Server (presentation service) released by Macromedia, an application of the Java Web container or. NET Server, based on the. mxml file ( Pure XML descriptors and ActionScript produce a corresponding. swf file, delivered to the client, interpreted by the client's Flash Player or Shockwave Player, giving the user a rich customer experience.
The famous Macromedia Flash is a powerful vector animation editing tool, after making the animation, Flash has been seeking the supremacy of rich Internet application (RIA rich client), the most influential is that object-oriented Scripting actionscript2.0 has been introduced, and class libraries and corresponding component (components) similar to Java Swing have been built. Flex interprets the. mxml file organization components and generates a corresponding. swf file through a non-flash path, such as Java or. Net. Flex's component is similar to Flash's component, but has improved.

The use of Flash is completely able to achieve the effect of flex, why also need flex? I understand there are two reasons for this: 1, to cater to more developers (developers). Flash is born to designer (designer) design, interface and Flash animation concept and write program developers out of tune, in order to attract more jsp/asp/php and other programmers, Macromedia introduced flex with very simple. Mxml to describe the interface and jsp/asp/php program personnel use. (X/D) HTML is very similar, and mxml more standardized and standardized.

2, for a standard. You must have heard of Microsoft's next Generation System Longhorn, and Microsoft will also launch a new language XAML, an interface description language, that corresponds to what smart client and flex are like in Longhorn. Mxml and XAML are very similar ... Some of the benefits of the list are not for me to say.

Flex and J2ee/.net actually does not matter, Macromedia use Java to make an application to the Flash technology into the Java, and then use the. NET technology to make a. NET application to integrate flash technology into. NET; It should be said that flex solves the most tedious problems in the Java EE and the. NET problem that is the Web client. Microsoft is more despicable in IE built-in (installed in advance) a lot of space, can be called by. NET such as Datagrid,java there is no way, can only use the most original HTML tag a tag to print, really headache, And the client's JavaScript is the most difficult to debug, whether Java or. NET is helpless.

What is Flex Builder?

A Visual Flex application development tool that can generate flash user interface with markup language, convert the designer's expected XML tags into flash components, and compile into Flash SWF files for customers to browse, so that designers and developers can more efficiently create flex Application.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.