| By Anatole Tartakovsky | Article Rating: |
|
| August 25, 2006 07:00 AM EDT | Reads: |
13,767 |
From Farata Systems FlexblogAbout a half year ago I made few comments in a Flex mailing list regarding tricks I like to use when developing large Flex 2 applications. SInce then I have been receiving steady stream of emails - once every week in the beginning, up to few per days lately. They are asking for information from the upcoming RIA book we are writing. Apparently, there are quite a few developers that a) become impatient if the build takes more then 5 seconds, and b) are concerned that their application will be delivered to the users with similar attention span that could walk away in 10 seconds or less - regardles of the artwork in the progress meter.
That pretty much forces developers to break the applications in the manner similar to the current generation of loosely applications:
- application has to use RSL methodology to speed up development and minimize linkage time
- bootstrap application has to be kept to bare minimum - just initialize global managers and list common runtime libraries - to keep “rebuild” time low and initial load fast
- optimized runtime libraries - while it is tempting to load complete framework SWC with every application, it would amount to extra 500-600KB on the initial download - better managememt via automatic extract to shared RSL is required
- application should make use of automatic download of “pages” - essentially parts of application that are either optional or independent or can be customized/added due to subscription /security.
Given those requirements the book talks about static linkage of Flex applications (unlike classical environments that compile everything and then link object modules Flex starts from the “application” and pools necessary resources via sophisticated linker/preprocessor/compiler/optimizer/packager workflow. The book describes the differences between MXML and ActionScript applications, differences between compile-time and run-time linkage, class loading, self-initialization of dynamically loaded SWFs, and other small details that you only need to know when your application grows over 10-15 screens /1MB of statically linked SWF.
Published August 25, 2006 Reads 13,767
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About Anatole Tartakovsky
Anatole Tartakovsky is a Managing Principal of Farata Systems. He's responsible for creation of frameworks and reusable components. Anatole authored number of books and articles on AJAX, XML, Internet and client-server technologies. He holds an MS in mathematics. You can reach him at atartakovsky@faratasystems.com
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Java Kicks Ruby on Rails in the Butt
- Ulitzer’s Amazing First 30 Days in Public Beta
- "Government IT Expo" to Highlight Cloud Computing and SOA
- Will Ulitzer Dominate News Content on The Web? -Gartner
- Clear Toolkit 4: The Road Map
- Creating Adobe AIR Native Menu with Flash CS4
- Menu Interaction in Adobe AIR
- The Darker Sides Of Cloud Computing: Security and Availability
- Ulitzer vs. Ning - a Quick Review
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Creating PDF Documents from Flex Applications
- Java Kicks Ruby on Rails in the Butt
- WebORB Launched for Flex, Flash, AJAX and Silverlight
- Adobe Takes LiveCycle into the Cloud
- Ulitzer’s Amazing First 30 Days in Public Beta
- Adobe Creates a Sandbox in the Sky
- AJAX and RIA Market Is Heating Up: Sun CEO
- "Government IT Expo" to Highlight Cloud Computing and SOA
- Will Ulitzer Dominate News Content on The Web? -Gartner
- Cover Story: How to Increase the Frame Rates of Your Flash Movies
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Your First Adobe Flex Application with a ColdFusion Backend
- Adobe Flex 2: Advanced DataGrid
- Adobe/Macromedia - Microsoft, Look Out!
- i-Technology Blog: Death-Knell For "Rich Media? Hardly!
- Adobe Flex Interface Customization - Themes, Styles, Skins
- Personal Branding Checklist
- How To Create a Photo Slide Show ...
- "Real-World Flex" by Adobe's Christophe Coenraets






































