Kris,
Thank you very much for the precious hints about JSON. I have tapped into your articles, and I will now explore the options of using JS Objects in that manner.
The only link that I do not see clearly yet is the Server Side of the process :
- I am building a WebApp with Ruby on Rails, which stores data for estimating House Remodeling Costs (Measurements,
Unit prices etc.) : the user inputs the measurements of the rooms (e.g. building elements) she needs to remodel, ideally with a visual interface (that's the reason for the use of Flash), and the App (Server and/or Client) calculates the resulting costs (Unit prices are fed via another 'back-office-modelUpdating interface)
- now how do I generate/serialize JSON data on the Server side to send back to be de-serialized on the Client side ? I suppose I can write parsing code for my Ruby-ServerObjects (which are connected to the MySql database) : I just need some hints about pitfalls to avoid and Best Practice essentials in that matter
Thank you again,
FDG