|
Part 1 Getting startedIn this part, we’ll do the necessary setup work to get to the fun stuff in the rest of the book. We’ll install everything, do a Flex and Rails version of “Hello World,” and then get user creation and login working in Rails and hook up the Flex UI to it. Part 2 Building the application In part 2, we do a deep dive using Flex with Rails. By the end of it, you’ll have mastered the basics of using Flex with Rails. You’ll then be ready to think about higher-level topics, which we’ll do in part 3 where we refactor the work we’re doing in part 2 to use RESTful design and then Cairngorm. Part 3 Refactoring Now that we’ve made substantial progress in our application, we’ve added enough code that the design issues are starting to become apparent. First, we notice that we have lots of data and behavior, but we aren’t following a centralized approach—everything feels a little scattered. We’ll address this by refactoring the code to use the Cairngorm framework, which is an application framework for Flex. Next, we’ll address the issue that there is no object model on the client, just a bunch of XML. We’ll address this by doing a refactoring in which we add an object model. Part 4 Finishing up In this final part of the book, we’ll finish the application, refactor it to use RubyAMF, and extend it to running on the Adobe Integrated Runtime (AIR). First, in iteration 10, we’ll build the remaining features in pomodo. After we finish iteration 10, we’ll have a reasonably complete application. It will be more realistic than the applications in most books, anyway. In iteration 11, we’ll refactor pomodo to use RubyAMF instead of XML for sending data between Flex and Rails. Because AMF is a binary protocol and XML is text, this has the potential to lead to substantial performance improvements. In iteration 12, the last iteration of the book, we’ll convert the code to run on AIR and modify the Notely feature that we’ll build in this iteration to take advantage of AIR-specific features. This obviously won’t be a complete tutorial introduction to AIR; instead, it will give you a taste of one of the exciting ways to take your Flex + Rails applications beyond the traditional web application model. Download free ebooks of flash: Flexible Rails - FLEX 3 ON RAILS 2
|
More computer ebooks
Part 1 Getting started