(OLD / UNSUPPORTED) Creative, Open, Interface Development Platform for Flex, Rails, iPhone, and everything else on your list
ActionScript Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.settings
app
bin
build
config
data
db
html-template/history
lib
locale/en_US
public
script
test
thrive
.DS_Store
.actionScriptProperties
.flexProperties
.gitignore
.project
Capfile
Flash_vs_Flex.textile
Flex
README.textile
Rakefile
TLF_Graphic.mxml
dependencies.txt
flashlog.txt
ideal_rakefile
link_report.xml
todo.txt

README.textile

Application TODO

Overview

  1. Components
    1. Make Metadata processing work with Rake tasks (Controllers and Components)
    2. Two-way binding with Slider and CheckBox
    3. Controller to change the sizes of a component, using Metadata
    4. TransformElement / TransformElementSkin
    5. Transform Controller based on Metadata
    6. Fill Editor (color, alpha, gradients)
    7. Graphic Editor (corner radii, fills, width/height)
    8. Filter editor (properties)
    9. Skin Editor (transitions, effects, shapes, width/height)
    10. Layout Editor (padding, layoutType)
    11. Effect Editor (duration, repeat)
    12. Layer Editor (tree of application, to skin, to graphics and effects, to fills)
  2. Application Components
    1. Image Editor (load, upload, hue/saturation)
    2. Text Editor
    3. Sound Editor
  3. Application Architecture (Runway)
    1. Create Generators for Runway Scaffold
    2. Run generator from UI (Run command from UI)
    3. Compile application from UI

Components

User should be able to:

  1. Edit properties of the Component/Skin/Effect/Fill/Graphic/Filter/Layout/Layer
  2. Save those properties to an Mxml file (this will work by bundling up changes into a value object,
    editing the xml, and writing it to the Mxml file)
  3. See the tree of values in the Component, so when one is selected, it is focused, and you can edit
    the values.

TODO

  1. Create a Module Generator: Creates the 7-10 classes required for a module project
  2. Create a Theme Generator: Create a new theme project, with all the skins and a css file, and a rake file
  3. Create Dependency project for generating code
  4. Create XML Formatter (in Suit), so it can pretty-print MXML
  5. Implement URLKit, fix History Management
  6. Generate navigation constants from the views

Browser Management

We use URLKit and SWFObject to manage the URLs in our application. In addition, we try to follow RESTful url patterns, so application Views are structured to make this possible.

In order to use Flex’s Browser/History Management, you need to have the /history folder with the history.js javascript file. Flex uses the actionscript BrowserManager.as class to make ExternalInterface calls to this history.js file, to change the Browser title, and the url.

Creating URIs

In order to create URIs, and to architect your solution around them, read Chapter 5 from O’Reilly’s “RESTful Web Services”. It states:

  1. Figure out the data set
  2. Split the data set into resources. For each kind of resource:
  3. Name the resources with URIs
  4. Expose a subset of the uniform interface
  5. Design the representation(s) accepted from the client (from Flex/iPhone)
  6. Design the representation(s) served to the client
  7. Integrate this resource into existing resources, using hypermedia links and forms
  8. Consider the typical course of events: what’s supposed to happen?
  9. Consider error conditions: what might go wrong?

Strange Errors:

MESSAGE: “Cpool index 0 is out of range 127”
Reason: Because I had event metadata tags like this: [Event=(, instead of this: [Event(.