Jim, >But the library was browser compatible for Netscape 3... there is an
Which is why in my original post I said they wrote for maximum compatibility. You said (and I summarize) "Actually no... there was no other way to do it." I was just pointing out that there were other ways to do it, but maximum compatibility was the most important thing (and rightly so) at the time. >The only major addition since the beginning was the addition of the >"binary" >and "null" data types. The latest library available from openwddx.org is >dated 11/9/1999 (it was updated by Nate Weiss to add those two data types). If you look at the version of the wddx.js that ships with CFMX 7, it was lasted edited February 2, 2001. I remember testing the code for Sim back in early 2001. You're right, there was much done to the code. If memory serves me correctly, they basically just tried to increase the string concatenation for large string sets by moving everything into an array instead of always concatenating the string together. >You can compare the libraries currently available with those given out at >the first Allaire User conference in 1998 - there are very, very few >changes. I just download the last WDDX SDK released and noticed it doesn't contain the most current wddx.js file. Looking at the code in the SDK, I see they are indeed still using string concatenation the wddxSerializer_write function. They really ought to at least put the latest wddx.js file in the SDK. I wonder if anyone is actively monitoring the OpenWDDX e-mail... >(One of the major initial bugs in my parser was the fact that it would fail >if the same instance was used to both serialize and deserialize... I didn't >catch it until a few minutes before I uploaded it since none of my testing >did that.) Like I said, I don't think I've ever used JS to deserialize WDDX. I always try to deliver data to the browser in native JS or I've used specialized XML that specific to my project. I do use the <cfwddx /> tag to convert native CF data straight to JS though. Where I have made extensive use of the wddx.js files in the past, was send complex JS data structures back to the server via a hidden form field. It's extremely useful for that and I've used that technique since WDDX was first introduced back in 1998. - Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220239 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

