public
Description: Code samples for the Flex on Rais book.
Homepage: http://flexonrais.com
Clone URL: git://github.com/danielwanja/flexonrails.git
Daniel Wanja (author)
Sun May 03 14:25:16 -0700 2009
commit  ae9aa71829c5ddb364e810d14c504c0315bc29f5
tree    fae5b2bf2809501a277951a0d81583261273d07b
parent  01b6430e41a567e9d28fdce016f959223f7a0fa3
flexonrails / 04_Using_Fluint_to_Test_a_Flex_with_Rails_Application
name age message
..
file README Loading commit data...
directory flex/
directory rails/
04_Using_Fluint_to_Test_a_Flex_with_Rails_Application/README
This is the code used for chapter 04 - Using Fluint to Test a Flex with Rails Application.

The Rails application can be found in the /rails folder. Before starting the Rails application don't forget to create 
and migrate the database by doing the followoing:

  rake db:create
  rake db:migrate

The Flex main Flex application is NoteTaker.mxml a Cairngorm based application. All the source can be found in the 
/flex/src folder. You will see the classical Cairngorm structure under the flexonrails/examples/notetaker folder
  business
  command
  control
  event
  model
  view

Each of these folders contains the different Flex ActionScript classes and views used in the chapter.

Additionally you will find the test harness in TestRunnerFlex.mxml. Before running this harness start the server in test 
mode: ./script/server -e test

Note the test harness evolves during the chapter and older version can be found in the flex/src_versions folder. The 
actual test suite and test cases are found under the flex/src/tests folder.

Note that for the NoteTaker application I create a NotesResource.mxml class that evolves through out the chapter. The 
final version is NotesResource.mxml and prior version can also be found in the flex/src_versions folder.

To be able to run the different versions while I copyedited the book I also created the src_v1 and src_v2 folder.