Read an Excerpt
This book gives you the knowledge, from a professional developer's perspective, of just how easy it is to program for AIR. From installing the AIR runtime to leveraging popular integrated development environments (IDEs), from creating your AIR applications to packaging and deploying them to end users, from debugging AIR applications to profiling them for improving performance, each hour presents you with new, important concepts, reinforced with a workshop, hands-on section at the end of each chapter.
The first 10 hours of chapters introduce you to getting started with AIR, and include the following topics:
- In Hour 1, "Taking in a Deep Breath of AIR," you'll learn about the pieces that make up AIR, who benefits from AIR's easy-to-grasp learning curve, a short history lesson about AIR, and just how big AIR is expected to be.
- In Hour 2, "Ready to Install AIR," safety considerations for the AIR runtime are discussed, along with differences for your operating system (Windows, Mac OS X, and Linux), and how to install the AIR runtime on the different operating systems.
- In Hour 3, "Harnessing the AIR SDK," you learn about the AIR software development kit (AIR SDK), including using the Adobe AIR Debug Launcher (ADL), using the Adobe AIR Developer Tool (ADT), and creating a badge (seamless) installer for AIR application deployment.
- In Hour 4, "Preparing to Build Your First AIR Application," you learn about the Adobe suite of tools recommended for building AIR applications, including Flex Builder 3, Flash CS3 Professional, and Dreamweaver CS3, as well as a third-party IDE, Aptana Studio.
- In Hour 5, "Writing Your First AIR Application with Flex 3," you see how to use Flex Builder 3 to build an AIR application. You will walk through building a Hello AIR World application, testing it, and packaging it for deployment.
- In Hour 7, "Writing an AIR Application with Flash CS3 or Dreamweaver CS3," you see how to use Flash CS3 Professional and Dreamweaver CS3 to build AIR applications, test them, and package them for deployment.
- In Hour 8, "Writing an AIR Application with PDF Integration," you learn how to add PDFs to your AIR applications and how these integrated PDFs can be controlled within the AIR API.
- In Hour 9, "Debugging AIR Applications," you learn about debugging your AIR applications, including debugging with the Flex Builder Debugger, the Flash Debugger, the AIR HTML Introspector, and even some third-party debugging tools.
- In Hour 10, "Distributing Your AIR Application," you see additional information about packaging and distributing your AIR applications, including suggestions on where to distribute them.
The next nine chapters introduce you to the AIR APIs and include the following topics:
- In Hour 11, "Opening Doors with AIR," you discover how to open one or more windows for your AIR application's user interface.
- In Hour 12, "Screening an AIR Application," you learn how to control the screens and the screen real estate that your AIR applications utilize.
- In Hour 13, "File This API with AIR," you get a first-hand look at the AIR File API and how you can interact with the files and folders on the end user's file system.
- In Hour 14, "Drag and Drop, Copy and Paste in AIR," you learn the capabilities of the AIR API related to drag and drop and copy and paste, two must-have capabilities for a professional desktop application.
- In Hour 15, "AIR and the Natives," you see how to build native menus on Windows and the Mac OS.
- In Hour 16, "Connectivity with AIR Networking," you learn how to detect an end user's connectivity to a network or the Internet and how to transition from a connected to a non-connected state in your AIR applications.
- In Hour 17, "Local Data in an AIR Application," you discover how you can leverage a SQLite local database as an AIR application's data repository.
- In Hour 18, "Encryption and Security in AIR," you learn about AIR's encryption and security features.
- In Hour 19, "AIR and User Notifications," you see how AIR can access the operating system's notification capabilities to build a full-featured desktop application.
The final five chapters discuss some important development-related topics for many AIR applications as follows:
- In Hour 20, "Leveraging Server-Side Features for AIR," you see examples of connecting an AIR desktop application to a server-side infrastructure.
- In Hour 21, "Building an AIR Application," you see a step-by-step walkthrough of building an AIR application that can help you continue learning more about the AIR API.
- In Hour 22, "Signing AIR Applications," you learn more about the digital code-signing of AIR applications.
- In Hour 23, "Updating AIR Applications After Deployment," you discover strategies for updating AIR applications, including suggestions for dynamic updates using a form of pull technology.
- In Hour 24, "Where Do I Go from Here?" you read some suggestions on how to continue learning about and improving your understanding of AIR.
Appendix A includes details about downloading an AIR Flex 3 API as an AIR application and how to re-create the most recent AIR Flex 3 API as an AIR application.
Appendix B includes a compilation of useful AIR-related links to help you continue to learn and improve your AIR applications.
© Copyright Pearson Education. All rights reserved.