Professional Cairngorm™

Book description

Take advantage of Cairngorm, one of the leading Flex frameworks for building Rich Internet Applications (RIA)

Cairngorm is a framework that encourages best practices for RIA development. It is the most popular and widely deployed Flex framework, yet very few books provide the depth and detail necessary to thoroughly understand and utilize it. This helpful resource fills that void by going beyond the basics of Cairngorm and showing you the details behind its design.

Using a full-scale project throughout the book, the author shows you Cairngorm in a real-world situation. You'll examine the various parts of the framework and what those parts are designed to accomplish, plus you'll learn how to implement each of the individual parts to create a complete project.

  • Offers hard-to-find coverage of Cairngorm, the popular framework used for RIA development

  • Features a real-world case throughout the book to walk you through the process of using Cairngorm in a large-scale project

  • Explains the details behind Cairngorm and how you can best take advantage of this framework

With this resource, you'll get step-by-step guidance on how to best take advantage of all that Cairngorm has to offer.

Table of contents

  1. Copyright
  2. Dedication
  3. About the Author
  4. About the Technical Editor
  5. Credits
  6. Acknowledgments
  7. Introduction
  8. Introducing Cairngorm
    1. What Is Cairngorm?
    2. A Brief History of Cairngorm
    3. Overview of Cairngorm
    4. Basic Cairngorm Logic Flow
    5. Cairngorm Project Organization
    6. Benefits of Using Cairngorm
    7. Summary
  9. Frameworks and Design Patterns
    1. Types of Frameworks
    2. Micro-Architecture
    3. Design Patterns
    4. The Model View Controller Pattern
    5. The Observer Pattern
    6. The Singleton Pattern
    7. The Command Pattern
    8. The Proxy Pattern
    9. Summary
  10. The ServiceLocator
    1. What Is It?
    2. What Does It Look Like?
    3. How Do You Create It?
    4. How Do You Use It?
    5. Summary
  11. The ModelLocator
    1. What Is It?
    2. What Does It Look Like?
    3. How Do You Create It?
    4. How Do You Use It?
    5. Summary
  12. The FrontController
    1. What Is It?
    2. What Does It Look Like?
    3. How Do You Create it?
    4. How Do You Use It?
    5. Summary
  13. Events
    1. What Are They?
    2. What Do They Look Like?
    3. How Do You Create One?
    4. How Do You Use Them?
    5. Summary
  14. Commands
    1. What Are They?
    2. What Do They Look Like?
    3. How Do You Create One?
    4. How Do You Use Them?
    5. Summary
  15. Delegates
    1. What Are They?
    2. What Do They Look Like?
    3. How Do You Create One?
    4. How Do You Use Them?
    5. Summary
  16. Value Objects
    1. What Are They?
    2. What Do They Look Like?
    3. How Do You Create One?
    4. How Do You Use Them?
    5. Summary
  17. How the Pieces Work Together
    1. A Simple Cairngorm Logic Flow Example
    2. Summary
  18. Project Overview
    1. Meet the Client
    2. Project Overview
    3. Summary
  19. Flex Project Setup
    1. Why an AIR Project?
    2. Creating the Flex Project
    3. Linking Cairngorm to a Project
    4. Summary
  20. The Backend
    1. Description
    2. Database Classes
    3. Impact on Cairngorm Usage
    4. Summary
  21. Main Application Setup
    1. Creating the FrontController
    2. Creating the ModelLocator
    3. Main Application Setup
    4. Summary
  22. User Registration
    1. Registering Users Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  23. User Login
    1. Login and Logout Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  24. Adding Posts
    1. Adding Posts Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  25. Loading Posts
    1. Loading Posts Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  26. Adding a Commenting System
    1. Commenting Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  27. Adding Search Capabilities
    1. Searching Overview
    2. Value Objects
    3. Event Classes
    4. Delegate Classes
    5. Command Classes
    6. Views
    7. Implementation and Testing
    8. Summary
  28. Reviewing Version One
    1. The Application So Far
    2. How Value Objects Have Been Used
    3. How Events, Commands, and Delegates Have Been Used
    4. How Views Have Been Used
    5. Looking Toward Version 2
    6. Summary
  29. Combining Classes
    1. Identifying Related Events and Delegates
    2. Revising Registration
    3. Revising Login
    4. Revising Adding a Post
    5. Revising Loading Posts
    6. Revising Commenting
    7. Revising Searching
    8. Summary
  30. Calling Methods on Views
    1. The Problem
    2. ViewHelper and ViewLocator
    3. The iResponder Interface and the Responder Class
    4. Revising Registration
    5. Summary
  31. Sequencing Commands
    1. The SequenceCommand Class
    2. Revising Commenting
    3. Summary
  32. Criticisms of Cairngorm
    1. Criticisms of Cairngorm
    2. Data Binding
    3. Singled Out — Bad Singleton, Bad
    4. I Have To Write How Many Classes To Do That?
    5. Summary
  33. Best Practices
    1. Ten Tips
    2. RIA Development with Cairngorm: Adobe Max Presentation
    3. Summary
  34. Cairngorm Plug-in
    1. Installation
    2. Cairngorm Locations
    3. Cairngorm Project Nature
    4. Create a New Controller
    5. Cairngorm Project Properties
    6. Create a New Command
    7. Customizing the Templates
    8. Known Issues
    9. Summary
  35. Cairngorm Extensions
    1. What Are They?
    2. Notifying Callers
    3. Event Generators
    4. Summary
  36. Looking Back and Ahead
    1. Review
    2. Online Resources
    3. Where To Go from Here
  37. Index

Product information

  • Title: Professional Cairngorm™
  • Author(s): Jeremy Wischusen
  • Release date: November 2009
  • Publisher(s): Wrox
  • ISBN: 9780470497265