Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-07-2006, 10:00 AM   #31 (permalink)
Right Off the Assembly Line
 
indian_blues's Avatar
 
Join Date: Apr 2006
Posts: 24
Default Re: AJAX tutorial


great tutorial.....keep going mate. ....will u clear doubts if i post them here?
__________________
To Err is human and Stupid.
indian_blues is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 07-07-2006, 03:39 PM   #32 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: AJAX tutorial

I suggest post doubts in new threads. That will ensure this thread remains clean and also there are more people applying their minds to it.
tuxfan is offline  
Old 08-07-2006, 08:45 PM   #33 (permalink)
In The Zone
 
rohan's Avatar
 
Join Date: Mar 2004
Location: Bangalore
Posts: 297
Default Re: AJAX tutorial

I think it would be better if you post it here only, as it will keep the doubts and it's solution within the same thread as that of the tutorial. Feel free to ask. I'll try my best to help you.

Rohan
__________________
If there wasn't greed, we still would have been single-celled organisms.
rohan is offline  
Old 08-07-2006, 09:46 PM   #34 (permalink)
Right Off the Assembly Line
 
Join Date: Jul 2006
Posts: 3
Default Re: AJAX tutorial

Wow Excellent !!! :d
Rosted is offline  
Old 11-07-2006, 01:57 PM   #35 (permalink)
Right Off the Assembly Line
 
Join Date: Jun 2006
Posts: 6
Default Re: AJAX tutorial

Well done for ur good work! I am very much interested in this tutorial & in future tutorials too..
Shinx is offline  
Old 11-02-2007, 03:08 PM   #36 (permalink)
In The Zone
 
rohan's Avatar
 
Join Date: Mar 2004
Location: Bangalore
Posts: 297
Default Re: AJAX tutorial

There have been some inaccuracies reported in this article which are stated below:

1. [Inaccuracy] Mentioned in Chapter 2. The XMLHttpRequest() Object

The responseXML property is said to be the 'same as' responseText otherwise for the MIME type. Please note that the responseXML is actually an object which implements the Document interface i.e the client parses it and the object represents the parsed document.

Correction noted from W3:

Quote:
If the readyState attribute has a value other than 4 (Loaded), user agents must raise an INVALID_STATE_ERR exception. Otherwise, if the Content-Type header contains a media type (ignoring any parameters) that is either text/xml, application/xml, or ends in +xml, it must be an object that implements the Document interface representing the parsed document. If Content-Type did not contain such a media type, or if the document could not be parsed (due to an XML well-formedness error or unsupported character encoding, for instance), it must be null.
2. [Inaccuracy] Mentioned in Chapter 2. The XMLHttpRequest() Object

It is mentioned that getAllResponseHeaders() and getResponseHeader() differ in the headers they receive, which is not so. getResponseHeader(header) returns the corresponding value to the header argument supplied to it as a single string, while getAllResponseHeaders() returns all the HTTP headers as a single string separated by CRLF [Carriage Return Line Feed] pair.

3. [Inaccuracy] Mentioned in 2nd Part, 1.4 The POST method

'Security' is stated as a field in which POST has an advantage over GET, which is not true. POST, is sent very much the way GET is sent, other than the fact POST data is part of the request while GET is part of the URL, it doesn't make much difference security-wise.

4. [Additional Info] It has been shown that httpr.open() commonly uses two values for the method attribute. Actually, W3 mentions these minimum methods that a client must support:

Code:
GET         PROPPATCH   VERSION-CONTROL   
POST        MKCOL       REPORT
HEAD        COPY        CHECKOUT
PUT         MOVE        CHECKIN
DELETE      LOCK        UNCHECKOUT
PROPFIND    UNLOCK      MKWORKSPACE

UPDATE      MKACTIVITY  BASELINE-CONTROL 
LABEL       ORDERPATCH
MERGE       ACL
5. [Update]{Thanks to MrBlueSky for pointing this out}

The createRequestObject () used in this tutorial is not recommended, and it is recommended that you use the following function as it is more browser friendly, more accurate and has wider support for IE7:

Code:
function createRequestObject() 

    if (typeof XMLHttpRequest != "undefined") { 
        return new XMLHttpRequest(); 
    } else if (window.ActiveXObject) { 
      var aVersions = [ "MSXML2.XMLHttp.5.0", 
        "MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0", 
        "MSXML2.XMLHttp","Microsoft.XMLHttp" 
      ]; 

      for (var i = 0; i < aVersions.length; i++) { 
        try { 
            var oXmlHttp = new ActiveXObject(aVersions[i]); 
            return oXmlHttp; 
        } catch (oError) { 
            //Do nothing 
        } 
      } 
    } 
    throw new Error("XMLHttp object could be created."); 
}
I apologize for the errors. Hope they won't happen again

Sincerely,
Rohan Prabhu
__________________
If there wasn't greed, we still would have been single-celled organisms.
rohan is offline  
Old 10-05-2009, 01:41 PM   #37 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: AJAX tutorial

Man! Excellent tuts! Two thumbs up to you!
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 16-06-2009, 10:11 AM   #38 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2009
Posts: 1
Default Re: AJAX tutorial

i want learn ajax for my website http://www.ghoslya.com
nkjskj is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2