OZONE Asylum
Forums
DHTML/Javascript
Eclipse goes Ajax
This page's ID:
27748
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Yeh i'm using the same method to instanciate the XMLHttpRequest object, no problem with that it's working well. I didn't have a problem with instanciating it - just wasnt sure when to expect ActiveX confirmations in IE. Sorry i mentioned wrong with JSON, i was point out that you can use asyn data transfer with other things as well as xml, and that people are using the term AJAX when no xml is involved. I agree tho, i don't really care about it and it is showing new life to javascript for many people - which is great (myself included!) While eval() is evil(), there is a specific JSON parser out there which means you can only pass data in the correct format, removing the security issue. I really disagree that the XML method is much cleaner, the JSON method is very clean, can work with different type objects, arrays etc and requires less parsing. (The parsing involved is basically to deal with the security issues). Having said that - it depends on the context. For my use I am using it to run a php script, do a few things and return an object with only a couple of values, like result, message and a few other things. Really i dont need XML or JSON for that, but I am feeling that JSON is very flexible - and there shouldn't be any security issues even when using eval since it is verified. There are security issues with many things - as long as you know what they are and use the appropriate protection its all good. The next wave of browsers that don't already include XMLHttpRequest as standard will, like IE7 etc - i guess we still need to cater for the old browsers tho.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »