Thanks for the response Matt :)

 

I am trying to exclusively use e4x for exchanging data between the server and the client. I have a growing assumption that the e4x implementation is not quite ready in beta 1 based on the fact that often I need to devise a work around in order to properly use it. Am I correct?

 

For example binding sometimes causes binding warnings. I'm seeing that results returned/converted on the client to objects (not a formatted result as e4x) seem to behave better, and are smoother for Flex to consume.

 

80% of the data the client is consuming is stored as xml on the server. Not sure if it's the best way to do things but I want to eliminate as much as possible being locked into a specific RDMS. That said the DB is basically just for file lookup, search indexing, and user profiles.

 

Direct Disk access is much faster and consumes less resources then having your web service poll the db, then transform to xml then send over the wire. Especially when working with multiple table relationships. Say if a Task can be related to many contacts. Storing this relation in xml gets rid of allot of overhead on the server side, and seems natural for xml file formats.

 

I need to be able to load it, modify it, then send it back in a xml format to a web service which has the job of serializing the physical file to the users storage space.

 

This has gotten off topic, sorry. I should probably start a new post, but what is (if there is) the preferred way to store/access data from your point of view?

 

Anyone else please jump in here ;)

 

Jason
 
 -----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Matt Chotin
Envoyé : mercredi 15 mars 2006 07:55
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] XMLEncoder Question [Flex 2.0 b1]

It's not really documented right now.  However all it will do is convert
an XML structure into an anonymous object graph.  It's not useful for
deserializing to typed classes.  So in many respects you're often better
off just using e4x unless getting typed objects is important.

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sourcecoderia
Sent: Tuesday, March 14, 2006 1:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] XMLEncoder Question [Flex 2.0 b1]

Any one know where i can find more info or examples on the XMLEncoder?
Or has anyone used this yet for encoding objects to xml ?

Samples, pointers, idea?

Thanks

Jason





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to