Tuesday, March 11, 2008

it's time to go deeper.....

Hello again...
It has been almost a week, we couldn't get time writing the blog. Recently, we were busy with all the documentations about the technical design.
We found it very helpful that we made the design after having Proof of Concepts and implementing some simple functionalities. By doing this, we know exactly how the flow is going and how to apply our project into that system. We also already discovered some possibilities (and impossibilities) Flex/ColdFusion application.

I like this method of working (implement some proof of concepts before start designing), it made the design much easier because I already got something in mind how this really works! It's pretty cool and it works for me...

Anyway, here are some major things we did:

1. GUI
We decided to have two states in the GUI, which refers to 2 MXML files. The first state is for the Project Overview and the other one is for the Single Project screen. The states will change from State 1 to State 2 according to the timer. In the state 2 itself, different data will be pulled for one certain project for each timer tick. When all single projects are shown, it goes back to the state 1, Project Overview and then go cycle.

2. Class Diagram
Each GUI Component (MXML file) has a remote object to handle the communication with the database. The remote object is a CFC file (coldfusion component). In this CFC file, all the queries from database are handled. The CFC file returns a query to be displayed.
There would be one global CFC that handle configuration from XML file (as already discussed in the last posts).

We also plan to have some ActionScript files that map particular CFCs when necessary. Having ActionScript files would be helpful when we need to get/set and process some data from the database without touching any remote objects (CFC files).

3. Sequence Diagram
We also made the sequence diagram for the general flow of the application as well as more specific sequence diagrams that define the flow per class/component of the application. At least we have two flows of the application. First, it's the initialization of all components. And once it's started, the pages will cycle according to the timer for infinite time.

Today, Ikram is still fixing the XML errors. I am going to implement the code for page cycling and later we will talk about the presentation. Next Friday we need to present our projects in our department meeting. It would be a short one, only 10 minutes. And probably we will show lots of screenshots to get the whole department excited!

No comments: