Chapter 25. Wrapping up a project
This chapter covers
- Loading applications with wrappers
- Deploying applications
Look at you, Mr./Mrs./Ms. fancy Flex developer: You’ve come a long way in a short time. You’ve conquered things like using data services to hook into databases, you know how to lay out an application, you can address usability with up-front validation, and you can deliver an engaging user experience with effects.
You have the power to have managers beg you for cool business intelligence charts, and your AJAX friends are secretly jealous of you. Now it’s just a matter of tying up loose ends and getting the project out the door by customizing the HTML wrapper and deploying it to a production server.
Your beautiful new application needs just a bit more work to get it ready for presentation to the world. Most browsers will load an SWF file directly, but this approach can have unusual results and lacks the control you’ll want when deploying your applications. This is where the HTML wrapper comes in. The internet is HTML’s kingdom, and to get along in HTML’s world you need to play by its rules. With Flash Builder 4, Adobe has standardized on the excellent standards-based SWFObject 2 JavaScript library for the loading and placement of SWFs in HTML pages.