KBD

Keith Devens .com

Friday, March 19, 2010 Flag waving
And if you go too far up, abstraction-wise, you run out of oxygen. Sometimes smart thinkers just don't... – Joel Spolsky

Tag: Ajax

Parents:

Daily link icon Wednesday, April 23, 2008

  1. Reading binary files using Ajax « nagoon97’s Weblog (via).

       (0) Tags: [Ajax]

Daily link icon Thursday, June 29, 2006

  1. codejanitor » AJAX Timeouts with Prototype.

       (0) Tags: [Ajax]

Daily link icon Thursday, April 27, 2006

  1. developer.apple.com: Dynamic HTML and XML: The XMLHttpRequest Object.

       (0) Tags: [Ajax]
  2. XML.com on cross-domain XMLHttpRequest.

       (0) Tags: [Ajax]
  3. Sarissa (via) "is a cross-browser ECMAScript library for client side XML manipulation, including loading XML from URLs or strings, performing XSLT transformations, XPath queries and more. Supported: Gecko (Mozilla, Firefox etc), IE, KHTML (Konqueror, Safari)." Here's the documentation. Haven't tried it yet, but it looks excellent.

       (0) Tags: [Ajax]

Daily link icon Saturday, February 25, 2006

Ajaxian » Troubles with Asynchronous Ajax Requests and PHP Sessions

Ajaxian » Troubles with Asynchronous Ajax Requests and PHP Sessions. Links to Marc Wandschneider's post explaining why you need to think about about possible race conditions with session data when using Ajax. Via Keith Gaughan, who posts some good comments on the Ajaxian thread about causes and possible solutions.

In short, server-side technologies like PHP don't let you lock access to your session across requests. So, you can A. try to do some complicated locking of your own on the server. B. store the critical session data in a MySQL RAM table (or some other equivalent) which AFAIK will handle the locking for you (of course, you're still not safe in this case unless you're careful). C. give the client knowledge of what changes the session state on a server that could lead to a race condition, and make sure those requests are serialized (i.e. get a response from the server before sending the next request).

Update: Harry Fuecks has a follow-up article on this.

Daily link icon Thursday, February 16, 2006

ASK - AJAX Source Kit, and Ajax problems

ASK - AJAX Source Kit:

The purpose of ASK is to offer you a simple way to get content into your page on-the-fly through asynchronous JavaScript and XmlHttpRequest, without sacrificing accessibility or usability.

Via Paul Hammond. And, actually, the other day I went through a whole bunch of links about Ajax, most of them having to do with Ajax behavior regarding Internet latency (i.e. with Ajax, you have to worry about what happens if your connection drops, or your responses arrive out of order), that I found on Paul's blog, including everything from Harry Fuecks over here and most or all of the links in his presentations. Interesting stuff I hadn't thought about before, including examples using small proxy servers written in Python (bonus!).

Hmm, for more on Ajax for this evening, see Mastering Ajax, Part 3: Advanced requests and responses in Ajax (via Michael). Also to look at in more detail, and also via Michael, Script Callbacks in ASP.NET 2.0. Both these articles I haven't yet read.

Daily link icon Saturday, January 21, 2006

  1. FireBug:

    FireBug is a new tool that aids with debugging Javascript, DHTML, and Ajax. It is like a combination of the Javascript Console, DOM Inspector, and a command line Javascript interpreter.

    Update: Ed Dumbill has a glowing review.

       (0) Tags: [Ajax, Firefox, Programming, Web]

Daily link icon Thursday, December 29, 2005

  1. A Brief History of Ajax (Aaron Swartz: The Weblog) (to read), via Chris Langreiter, who provides his own good account.

       (1) Tags: [Ajax]

Daily link icon Friday, December 16, 2005

  1. IBM developerWorks: Mastering Ajax, Part 1: Introduction to Ajax (via) and Using Closures To Support Object-Oriented AJAX (via).

       (0) Tags: [Ajax]

Daily link icon Thursday, December 8, 2005

  1. Alex Bosworth's Weblog: 10 Places You Must Use Ajax (via Paul Hammond).

       (0) Tags: [Ajax]
  2. AHAH: Asychronous HTML and HTTP (via Paul Hammond). The idea is, it's basically Ajax, but instead of grabbing arbitrary XML and processing it on the client-side with Javascript or XSLT and inserting things into the DOM, you just grab bits of (X)HTML from the server and inject them directly into your page. So, the client side does much less logic and merely needs to say "replace the content in the element with this ID with the (X)HTML at this URI".

       (0) Tags: [Ajax]

Daily link icon Monday, November 7, 2005

  1. Ian Bicking: Ajaxy Exception Catching, via Ned Batchelder, who writes:

    But when I saw Ian Bicking's Ajaxy Exception Catching screencast, my mouth dropped open. He's built something (WSGI middleware, what the heck is that?) that catches exceptions in your web application, and displays a stack trace in your browser. Big deal. But you can also expand the line numbers to see context lines of code around the lines themselves. Nice. Then you can expand some more to see all of the local variables at each frame in the stack. Whoa! Then you can type arbitrary Python into an edit control and have it evaluated in the context of that frame. Magic!!

    Really was impressive. Check out the screencast.

       (0) Tags: [Ajax, Python, Web]

Daily link icon Monday, September 26, 2005

  1. AjaxTags - "The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in JavaServer Pages."

       (1) Tags: [Ajax, JSP, Programming]
March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.134s.

(Used 10 db queries)