I'm designing an online survey application in flash. The application will show N pages of questionaire to the survey participant. The survey is represented by a "survey_specification" xml file (that conforms to an xml schema of the same name) that's stored in a database on the server. My current plan is to have a very thin server component that basically authenticates the user and serves up a flash application (a .swf file). The flash application would download the survey_specification file and render each page according to the contents of that file (for example, if the file says that page 1 consists of these 4 multiple choice questions, it would render those questions). The app collects the data on the client side and submits it back to the server in the end (in the form of an xml document, of course). Is this realistic? What approach should I use to implement this design? Should I use remoting, or web services? In case you can't tell, I'm an enterprise java guy who's in over my head with this flash stuff. I could easily do this in jsp / javascript, but browser support for the various dynamic things I want to do makes flash a good candidate.
Oh, and I realize that flex might be a good way to go for this kind of thing (because you could obviously transform the xml file into an mxml file and use that to generate the swf), I'm just not postitive flex is ready for prime time yet, and server licences are pretty expensive (12k). Can anyone think of another way to do what I want?
Don't see what you're looking for? Try a search.
|