Tag Archives: javascript

XHR / AJAX Performance – GET or POST?

During the summer of 2009 I posted about XMLHttpRequest (XHR) using multiple packets for HTTP POST, but HTTP GET requests only used one (in most cases). This led to several people recommending HTTP GET requests for AJAX when possible, to … Continue reading

Posted in Posts | Tagged , , , , | Leave a comment

Showing Your Last Tweet With Javascript

Phil Windley wrote about using Kynetx (his new startup) to show your last tweet on a site. My question was: why would this be better than using plain Javascript to do the same thing? Phil then wrote a follow up … Continue reading

Posted in Posts | Tagged , , | 7 Comments

XMLHttpRequest (XHR) Uses Multiple Packets for HTTP POST?

A recent Think Vitamin article, The Definitive Guide to GET vs POST, mentioned something that I hadn’t seen before about XMLHttpRequest (XHR). Their Rule #4 states: When using XMLHttpRequest, browsers implement POST as a two-step process (sending the headers first … Continue reading

Posted in Posts | Tagged , , , , | 20 Comments

Detecting Client Side Time Zone Offset Via Javascript

Dealing with time zones can cause some real pains. As a result when storing a date/time in an application it is standard to store the date/time as GMT. This makes it easier on the application in comparing dates, but isn’t … Continue reading

Posted in Posts | Tagged , | 5 Comments

Introducing jQuery Edit In Place (JEIP)

The first version of jQuery Edit In Place (JEIP) is ready. The UI and features basically the same as my older Prototype based edit in place code, with a few extra tidbits thrown in for good measure. It works in … Continue reading

Posted in Posts | Tagged , , | 8 Comments