I'd like to see more like this as I think this is a technology that's taking off. Maybe more complicated XML requests and responses, how to send data with POST, etc.
to POST instead of GET:
xmlHttpRequestInitialize();
req.onreadystatechange = xmlHttpRequestProcessReqChange;
req.open('POST', self.location.pathname);
req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
req.send('Whatevername=wahatevervalue&Whatevername2=wahatevervalue2');
you need to set the header
and put the data into the req.send.
(obviously better to fill the req.send by a function instead of hardcoding it!)
My current Mvc framework in asp has caused some quite advanced challenges for our programmers. Dependencies include controller, views and more. We have been successful at implementing it, at a quite high price though. It takes some time to get used to the dependency inversion model. betalningsanmärkningar (http://www.kreditkontroller.se)