| By Anatole Tartakovsky | Article Rating: |
|
| September 21, 2006 02:45 PM EDT | Reads: |
20,048 |
While a large Flex application is loaded, the user may experience
unpleasant delays, which can be used productively to logon to this
application. Besides, it'll give the user perception that your
application loads faster.
I recently had a chance to use Ted Patrick's (Adobe) sample to mitigate the load time of the application. While Ted is displaying a splash screen while the application is loaded and initialized in the background, I wanted to use a very dull logon window to keep the user occupied with a bit more useful stuff. Here are 3 challenges you would face with that task:
1. The logon screen has to be very lightweight - under 10K - so it may not be based on the Flex framework
2. The application may not remove logon window on load as the user has to login first.
3. If the user completes his/her login but the application did not finish its load, the standard progress bar has to appear.
Confronted with all these problems I timidly thought of writing a small HTML/JavaScript dialog and calling it from Flex, but overcame those thoughts and did the only right thing to do - called for help from Konstantin - our Flex AND Flash developer, and he has created LightweightPreloader.zip
Inside of this zip file you'll find a simple login window with a typical user and password fields over a plain screen that sends the login info to the server and expects some XML back. It also includes Ant build files and support classes. After you are done deploying you should get a small (<6K) SWF login window (4K accounts for buttons and the window background, the rest is actual code).
The lesson learned: there is a large class of tasks that can only be solved using native Flash APIs and coding techniques. In the last year I came across at least 6 cases when the native Flash code was the only reasonable way to go. I believe it is time for Flex and Flash developers to start working on common shared libraries covering the "non-visual" domain.
For additional info on what's happening while the Flex application is being loaded, refer to this article.
Published September 21, 2006 Reads 20,048
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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
- The Top 150 Players in Cloud Computing
- Kindle 2 vs Nook
- 4th International Cloud Computing Conference & Expo Starts Today
- Yahoo! to Keynote 4th Cloud Expo: Accelerating Innovation with Cloud Computing
- Is the PR Business Extinct? Yes
- Exclusive Q&A with Rich Marcello - Unisys President, Systems & Technology
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Ulitzer News: Search vs New Media
- Typhoon Ondoy (Ketsana) and Floods Hit the Philippines
- Publishing Synergy: Blog, Twitter and Ulitzer
- Will PR Firms Survive The New Media Avalanche?
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- The Top 150 Players in Cloud Computing
- Kindle 2 vs Nook
- 4th International Cloud Computing Conference & Expo Starts Today
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Yahoo! Named “Platinum Sponsor” of Cloud Computing Expo
- Yahoo! to Keynote 4th Cloud Expo: Accelerating Innovation with Cloud Computing
- Is the PR Business Extinct? Yes
- Exclusive Q&A with Rich Marcello - Unisys President, Systems & Technology
- BEA Updates WebLogic SOA Portal for Web 2.0 Era
- Deputy CIO of the CIA to Keynote 1st Annual GovIT Expo
- Ulitzer News: Search vs New Media
- Typhoon Ondoy (Ketsana) and Floods Hit the Philippines
- Who Are The All-Time Heroes of i-Technology?
- Where Are RIA Technologies Headed in 2008?
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Personal Branding Checklist
- i-Technology Viewpoint: Attack of the Blogs
- Web 2.0 News and Wrapping Up "Real-World AJAX" Seminar
- Appcelerator Building Out the RIA Open Source Community
- The Top 150 Players in Cloud Computing
- i-Technology Viewpoint: It's Time to Take the Quotation Marks Off "Web 2.0"
- Coach Wei's "Direct From Web 2.0" Blog: The Converging Developer Community
- SOA 2 Point Oh No!
- The Top 250 Players in the Cloud Computing Ecosystem
































