Thanks. I konw how to do what you were suggesting. I was hoping to find an even cheaper / simpler solution. Oh well. No big :)
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > You are going to have to have some middle tier on the server to persist > your data. (umm, local shared objects maybe, but, naw.) A very simple > testing tier might consist of a JSP page that reads and writes to a text > file. Use HTTPService to communicate with it. > > Reading it into flex and parsing the string into a dom is easy. > > I am not sure if you can toString() an xml dom in Flex and get out the > string. I manually generate my strings (concatenate). > > Let me know if a sample file access JSP would be helpful. > > Tracy > > -----Original Message----- > From: stealthbaz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 15, 2005 9:59 AM > To: [email protected] > Subject: [flexcoders] Flex and Persistence -- namlely XML file > persistence? > > > > Hi all. Im new to the flex world, and I'm still trying to get my > arms around the whole picture. I think that i have the > rudimentaray stuff under wraps, but I have some questions about > persistence. > > I have been through Chris Coenraet's restaurant tutorial (never knew > how badly i spelled restaruant till then!) at > http://coenraets.com/tutorials/restaurant/index.jsp > > And in that he demonstrated 3 different ways to approach data > services (HTTP services, Remote Objects, and Web Services), but in > alot of the other training materials, its common to work from an XMl > file to load in the data model. > > I see lots of way to alter the data structure in memory, but as a > poor man's prototype, is there a way to persist the changes to the > xml document? > > I guess i could go through all the work to make a business tier to > store the data, but it seems like alot of overhead while im just > training and messing around. > > Thoughts? > > > > > > > Yahoo! Groups Links

