AJAX - The Complete Reference

(avery) #1

254 Part II: Developing an Ajax Library^


style sheet being sometimes applied properly and sometimes not, as shown in Figure 6-14.
As you see even in very basic applications (http://ajaxref.com/ch6/xsltdependency.html),
if you have any dependencies at all you may need to force response sequencing.

Are Race Conditions Possible?


Given that there can be trouble on the client side with requests and responses happening
out of order, the next question is: are there similar problems on the server side? The answer
is a resounding “maybe.” You might imagine a problem resulting from the ideas previously
presented to occur in the following example:

FIGURE 6-14 Even simple applications may have dependencies
Free download pdf