|
|
Flex on Rails : Building Rich Internet Applications with Adobe Flex 3 and Rails 2 (Developer's Library)
Hillerson, Tony Wanja, Daniel
Paperback:紙装版/ペーパーバック版 |
Foreword xv
Preface xvii
Acknowledgments from Tony Hillerson xxi
Acknowledgments from Daniel Wanja xxii
About the Authors xxiv
I: Flex and Rails Essentials
Developing with Flex and Rails 3 (8)
Installation: What You Need to Get Running 3 (3)
SQLite 3 3 (1)
Ruby 3 (1)
Ruby Gems 4 (1)
Rails 4 (1)
Flex SDK 4 (1)
Mongrel 4 (1)
SQLite Gem 5 (1)
Editors 5 (1)
The Structure of a Flex and Rails 6 (3)
Application
The Example Code 9 (1)
Compiling MXML 9 (1)
Running the Rails Server 9 (1)
Summary 9 (2)
Passing Data with XML 11 (18)
XML in Rails 11 (3)
XML in Flex 14 (3)
Getting XML to Flex 17 (2)
Sending XML to Rails 19 (2)
Mapping Data Types 21 (4)
Flex to Rails 24 (1)
Rails to Flex 24 (1)
Error Handling 25 (3)
When Things Go Right (200s) 25 (1)
Active Record Validation (400s) 26 (1)
When Things Go Wrong (500s) 26 (1)
HTTP Error Codes 26 (1)
Flash Player Restriction 26 (2)
Summary 28 (1)
Flex with RESTful Services 29 (20)
Creating the Stock Portfolio Rails 29 (10)
Application
Accessing Our RESTful Application with 39 (9)
Flex
Accounts 39 (4)
Positions 43 (4)
Movements 47 (1)
Summary 48 (1)
Using Fluint to Test a Flex with Rails 49 (36)
Application
Using Fluint to Write Your Flex Unit Tests 50 (1)
The Basics of Testing a Flex Application 51 (8)
Create the Structure of the Flex Project 52 (1)
Set Up the Flex Test Environment 52 (1)
Create NotesResource.mxml to Call the 53 (1)
Rails Server
Write a Test to Query the Rails Server 54 (3)
Creating the Rails Application 57 (1)
Run the TestNotesResource Against a 57 (2)
Running Rails Server
Overview of Assertion Methods 59 (1)
Testing a Cairngorm-Based Application 59 (20)
The NoteTaker User Interface 60 (2)
Using the ServiceLocator and Delegate 62 (3)
to Support CRUD Actions
Testing the Delegate's CRUD Actions 65 (5)
Implementing the Cairngorm Commands 70 (4)
Implementing the ListView Class 74 (4)
Implementing the EditView Class 78 (1)
Testing EditView 79 (1)
Using Fixtures 79 (4)
Rails: FixturesController 80 (1)
Flex: TestHelper 81 (2)
Summary 83 (2)
Passing Data with AMF 85 (20)
What Is AMF? 85 (1)
Benefits of AMF 86 (1)
RubyAMF 87 (8)
Installation 87 (1)
RubyAMF Configuration 87 (4)
RubyAMF Generators 91 (1)
Workflow with RubyAMF 92 (2)
Using Flex with RubyAMF 94 (1)
A Simple RubyAMF Example 95 (6)
A RESTful RubyAMF Integration 101 (2)
Summary 103 (2)
Debugging 105
Logging 106 (4)
Rails Logging 106 (2)
Flex and Loggin 108 (2)
Debuggers 110 (7)
Scope 110 (1)
Call Stack and Stack Frames 110 (1)
Debugging Flex 111 (5)
Debugging Rails 116 (1)
Command Line Debuggers 117 (10)
Debugging Flex with fdb 117 (6)
Debugging Rails with ruby-debug 123 (4)
Debugging Communication 127 (2)
Summary 129
Data Visualization 13 (140)
Online Analytical Processing (OLAP) 133 (11)
The Flex mx.olap Framework 135 (5)
Using the OLAPCube for the Stock 140 (4)
Portfolio Application
Advanced DataGnd 144 (3)
Charting 147 (5)
PieChart 147 (2)
HLOCChart 149 (3)
Summary 152 (1)
Flex MVC Frameworks 153 (32)
What Do We Mean by a Framework? 153 (1)
Roll Your Own 154 (1)
Cairngorm at a High Level 154 (5)
Origin 154 (1)
Goals and Concepts 154 (1)
The Cairngorm Players 155 (4)
PureMVC at a High Level 159 (4)
Controller 159 (1)
Model 160 (1)
View 161 (1)
Service Layer 161 (2)
Stuff 163 (19)
Cairngorm Implementation 169 (7)
PureMVC Implementation 176 (6)
Summary 182 (3)
Performance and Optimization 185 (30)
Flex Performance 185 (21)
Simple Profiling Techniques 186 (1)
Flex Builder's Profiler 187 (19)
Rails Performance 206 (5)
Reading the Logs 206 (1)
Simple Benchmarking 207 (1)
The Rails Performance Scripts 207 (1)
script/performance/profiler 208 (1)
script/performance/benchmarker 208 (1)
script/performance/request 209 (1)
New Relic RPM 210 (1)
Summary 211 (4)
II: Cookbook Recipes
Source Control Flex and Rails Projects 215 (6)
Goal 215 (1)
Solution 215 (1)
Ignoring Files in Subversion 215 (2)
Git 217 (1)
Discussion 218 (1)
Subversion 218 (1)
Git 218 (1)
Summary 219 (2)
Building Flex with Rake 221 (6)
Goal 221 (1)
Solution 221 (1)
Rake Is Your Friend 221 (1)
The Rakefile 222 (3)
Summary 225 (2)
Deploying Flex and Rails Applications 227 (6)
Goal 227 (1)
Solution 227 (1)
Capistrano 227 (1)
Deploying with Capistrano 228 (4)
Summary 232 (1)
Read the Source! 233 (12)
Goal 233 (1)
Solution 233 (1)
The Beauty of Open Source 233 (2)
The Rails Source 235 (3)
Flex Source 238 (2)
Generated Flex Source 240 (3)
Summary 243 (2)
Using Observers to Clean Up Code 245 (6)
Goal 245 (1)
Solution 245 (1)
BindingUtils and ChangeWatchers in Flex 245 (3)
Taking Action on ActiveRecord Lifecycle 248 (2)
Events
Summary 250 (1)
Authenticating 251 (8)
Goal 251 (1)
Solution 251 (1)
Authenticating Users 251 (1)
Installing restful_authentication 251 (6)
Summary 257 (2)
Reusing Commands with Prana Sequences 259 (8)
Goal 259 (1)
Solution 259 (1)
Sequences 259 (2)
Prana's EventSequence 261 (4)
Summary 265 (2)
Hierarchical Data with RubyAMF 267 (8)
Goal 267 (1)
Solution 267 (1)
Nested Sets 267 (6)
Summary 273 (2)
Advanced Data Grid and Awesome Nested Set 275 (14)
Goal 275 (1)
Solution 275 (1)
Overview 275 (1)
Create the Rails Application and Database 275 (1)
Creating a Script to Load the Data 276 (3)
Flex Application 279 (3)
Adding CRUD 282 (5)
Create (Rails) 282 (1)
Create (Flex) 282 (1)
Update (Rails) 283 (1)
Update (Flex) 284 (1)
Destroy (Rails) 284 (1)
Destroy (Flex) 284 (1)
Move (Rails) 285 (1)
Move (Flex) 285 (2)
Summary 287 (2)
Runtime Flex Configuration with Prana 289 (6)
Goal 289 (1)
Solution 289 (1)
IoC, Eh? 289 (4)
Summary 293 (2)
Server Push with Juggernaut 295 (8)
Goal 295 (1)
Solution 295 (1)
Push Technology 295 (1)
Juggernaut 295 (2)
Creating the Rails Messaging Application 297 (2)
Creating the Flex Messaging Client 299 (2)
Application
Summary 301 (2)
Communicating between Flex and JavaScript 303 (10)
Goal 303 (1)
Solution 303 (1)
Communication between Flex and JavaScript 303 (1)
Security 303 (1)
Building the Samples 304 (1)
Externallnterface 304 (1)
SWFObject and Prototype 305 (1)
Externallnterface in Action 305 (4)
Flex-Ajax Bridge in Action 309 (2)
Summary 311 (2)
File Upload 313 (8)
Goal 313 (1)
Solution 313 (1)
File Upload 313 (2)
Creating the Rails Application and 315 (1)
Installing attachment_fu
Using Flex's FileReference Class to 316 (2)
Upload One or Several Files
Using Flex URLLoader Class to Upload a 318 (2)
PNG File
Summary 320 (1)
Index 321
- 提携先の海外書籍取次会社に在庫がございますので、お取り寄せ致します。 通常9日〜2週間で発送いたします。
- この商品は、国内送料無料でお届けします。
【ご注意事項】(表示の納期は標準的な場合の目安であり、確約は致しかねます。ご了解の上ご注文下さいませ)