My Flex workshop for the IECFUG
Kalen Gibbons
I recently presented a short beginner's workshop for the The Inland Empire ColdFusion User Group. In the workshop we created a simple application that displayed hypothetical tracking data. Through this application we covered many basic Flex topics and techniques, and I thought I would provide the files for anyone who wants them. Download them here.
Here is a list of files you'll find the in ZIP folder, and a brief summary for each:
- tracker_start.mxml - view
- This is where to get started. With only 2 lines of mxml code, we create an application that displays all our data to the user. Pretty cool! The sample XML data has been provided for you in the data folder.
- This is where to get started. With only 2 lines of mxml code, we create an application that displays all our data to the user. Pretty cool! The sample XML data has been provided for you in the data folder.
- tracker_filters.mxml - view
- This is the second file in the workshop. Now that we are displaying the data to the user, we need to make it more usable. We want to make it easy for users to find the information they are looking for. So, in this step we use the ArrayCollection's built in filterFunction capabilities to allow the user to easily and effeciently filter through the data.
- tracker_charts.mxml
- This is a charting component that will be used in the next step, the tracker_states application. It charts the popularity of all the processes in our data.
- tracker_states.mxml - view
- The third application in the workshop, in which we create a second state. In this new state we add the tracker_charts component, giving users an alternative representation of the data.
- The third application in the workshop, in which we create a second state. In this new state we add the tracker_charts component, giving users an alternative representation of the data.
- tracker_styles.mxml - view
- The final step, in which we turn our bland, boring application into something more presentable. All we do in this step is add a wonderful theme from ScaleNine.
- The final step, in which we turn our bland, boring application into something more presentable. All we do in this step is add a wonderful theme from ScaleNine.
- tracker_remoting.mxml
- This file does not actually create a viewable application, it is just a reference file. It is an example of how Flex can connect to ColdFusion; an alternative to using the Model data that we used in the preceeding applications.
- data folder
- Contains the XML data used in all applications.
- Contains the XML data used in all applications.
- assets folder
- Includes the theme that was used in the tracker_styles application.
Copy the files into the src folder of your project and give it a crack. I hope you find them useful.