Very simple example of a todo list application developed using Apache Flex 4.8 and the very latest version of Robotlegs.
Below is a list of frameworks & libraries used for the project.
- Apache Flex 4.9
- Robotlegs 2
- FlexUnit 4.1.0.16076
- Mockito 1.4M5
- Hamcrest 1.1.3
- AS3 Signals 0.9 BETA (built using the Apache Flex 4.8 SDK.)
- AS3 Signals Utilities 0.9 BETA (built using the Apache Flex 4.8 SDK.)
- SignalCommandMap Robotlegs Extension (built using the latest source code from 5th May 2013)
- User can add a task to the todo list.
- User can delete an existing task from the todo list.
- User can modify an existing task from the todo list.
- User is presented a message notify that there are no tasks when the todo list is empty.
- User can't enter a task that has no description.
The project is covered with tests wherever possible. In order to run the tests you must have ant installed. To run the tests simply navigate your current directory to the build directory and then run the command displayed below.
ant test
This will compile the code and execute the test runner. It also outputs a JUnit report to a deploy folder. Should be noted that you may need to change the path to your Flex SDK, which can be done by changing the FLEX_HOME property in the build/build.properties.
This code is not perfect, and I'm sure you would do things different and I would love to know what changes you'd make or what you would do differently. Send me an email at peter@moov2.com or a tweet to @peterkeating.