Flex record (1) About flex
Reference document "developing flex Applications"
When I first heard RIAS (Rich Internet Applications), when I first started touching flex, when I saw Flex from foreigners, I saw Flex what I could do? As a Java developer, I seem to have seen a revolution about the outbreak, this is a revolution about "presentation layer". This revolution will change the things and our interest.
When I found that I really can't let go of it, I started to record again. If you see these things, please don't treat it as a tutorial document, it's not, it seems maybe some messy It is just helping me memories.
- Written in front of JPlateau September 11, 2004
Flex defines such a development / running environment: it develops Rias in the case of Flash Player's developers who are familiar with server-side programming technology. When the program runs in Flash Player, the application can interact with the server-side module, such as database, web services, Java objects, and other server-side services.
Flex hits the developer who is familiar with the traditional programming language and server development environment, with Flex, you can use standard programming modules to develop applications, describe UI, define ui control, and data.
Compare the following two diagrams
Figure 1: Traditional N-layer application system
In a conventional N-layer application system, logical operation is on the server side, so each interaction data of the user must pass through the server.
Figure 2: FLEX N layer application system
In Flex, Flash Player provides such a platform that allows the logical operation of the client or the rendering layer to run locally. Flex applications can be used in Flash Player, data verification, sending HTTP, and SOAP requests, etc., etc., can only be operated by the server. Almost all mainstream operating systems and browsers are compatible with Flash Player, all everything is perfect.
Flex Server runs in the J2EE platform and servlet container, which provides integrated points for Flex applications and server-side applications, and contains Flex compiler and Web service proxy, and more.
More importantly, you don't have to make any changes to its application business logic in order to integrate Flex, which means you can develop applications as before any time, and through web services, HTTP, EJBS, and other methods and flex Integrate.
The application running in Flash Player is like a desktop app, Flex provides the following three benefits for your web application:
1. 1. Standards-based Architecture
2. 2. Reduction in Server Load and network bandwidth
3. 3. Common deployment environment
Usually develop a FLEX application is used as follows:
1. 1. Write MXML using ordinary text or good IDE (I pushed flex builder)
2. 2. Increase one or more containers (Container).
3. 3. Add (Control) control, such as input box, buttons, or output content, and more.
4. 4. Define the data model.
5. 5. Add a web service, HTTP service, or remote call Java object, etc. 6. 6. Verification of input data
7. 7. Write an ActionScript extended Flex component.
The next article will record the content of using MXML. JPLATEAU 2004-09-11 Recorded in Guangzhou.