06-07-2008 07:33
Hi guys,

I'm designing a system to display a questionnaire on a blackboard, and let the user answers to the questions interactively.

The system consists of:

- a blackboard displaying the questions using xyzzy text
- several spheres representing the possible answers in front of the blackboard

The questions are retrieved from a web server, and the answers are uploaded to it.
Thus, the blackboard consists of 3 modules:

- web server communication
- text visualization
- sphere manager

I've already implemented the 3 modules separately. Now I'm thinking how to integrate them.

I saw there are several possibilities. I could use

- several scripts in the same object (blackboard) (i.e. webserver script, text script and sphere manager script).

- include everything in one script and use different states (i.e. state webserver, state text script and state sphereManager).

- use several objects (for example the 2 post of the blackboard and the blackboard itself).

I worry about messages between linked prisms. Since I already used them for the spheres, I don't want to complicate the things now, using several objects.

If using only one script with several states is a good solution, I would be inclined to use it.

thanks!


ps. I forgot to mention: I also need my sistem to be multiuser system. So here I have 2 possibilities:

- to build more blackboards communicating with the same web server
- to make visible spheres and text to only one user ( I don't know if it is possible... is it ?)