Friday, October 18, 2002, 7:07:58 PM, you wrote: B> Does it make sense to take an XML doc from the DB and store it as a client B> variable for persistence? And if this XML document was used internally via B> the app and was modified and parse very frequently, would there be a B> decrease in the performance of parsing arrays,structures and so forth. Are B> the array functions that work on an XML doc, as fast as the standard Array B> functions?
I can't say for sure, but it's a pretty safe bet that the array and structure functions are magnitudes faster than the XML manipulation functions. B> The XML doc will eventually be shared via web services and I want to get B> the application ready to handle the XML docs internally. I'm not sure if B> using the XML doc internally (modifying, parsing and re parsing) is a B> suitable use of the XML features in CFMX. I guess it all really depends on how you want to build your app. If you are building the entire data layer using XML, you are obviating the need for a DBMS to handle the data, persistence could be handled in memory or the file system. It also would make the app a lot more portable since there isn't a platform on the planet that can't manipulate strings. Other than those reasons, I'd stick with arrays/structures/objects and SQL within the app itself, they have their advantages. -- jon mailto:jonhall@;ozline.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

