Chapter I-3. Development


For the next phase of creating the jukebox application, my team will begin the development work. We'll use the UI and flowcharts that have been created to guide us through the development process. Based on the UI and the flowchart, we see that we can isolate the application into three development areas. On the Flash side there are seven pieces to develop: the ticker, a Sound object, a SharedObject, the volume controls, the playlist, the search pane and the play controls. On the ColdFusion side, we have one CFC, which will contain one method used to retrieve the search results. Additionally, a database and a connection to it need to be created.

As we develop the jukebox, where it's applicable we'll want to treat each element in Flash as an object and create methods that will allow us to retrieve and manipulate the properties. By using objects and methods, we'll be able to separate the inner workings of each element and only expose objects via methods.

In the development process of the Flash side, my team will use a naming convention for objects that was introduced with the release of Flash MX, a convention that will allow for code hinting in the ActionScript panel. When we append "_" and then the object type, the ActionScript panel will show code hinting relevant to the object. For example, if a MovieClip is named search_mc, then the ActionScript panel will show a list of the built-in methods for a MovieClip object. In addition to the code hinting, this convention also makes it easier to identify the type of object when stepping through the ActionScript.



Reality Macromedia ColdFusion MX. Macromedia Flash MX Integration
Reality Macromedia ColdFusion MX: Macromedia Flash MX Integration
ISBN: 0321125150
EAN: 2147483647
Year: 2002
Pages: 114

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net