Re: jQuery Ajax request to update a PHP variable

From: Nate Vack <njvack_at_nyob>
Date: Tue, 6 Dec 2011 08:04:52 -0600
To: CODE4LIB_at_LISTSERV.ND.EDU
On Mon, Dec 5, 2011 at 5:00 PM, Nate Hill <nathanielhill_at_gmail.com> wrote:

> Here's the work in process, and I believe it will only work in Chrome right
> now.
> http://www.natehill.net/vizstuff/donerightclasses.php

In this case, it looks like there really isn't that much data. I'd
preprocess everything into a big JSON object and just have all the
data instead of using AJAX for this task.

And actually, if you have some automated process writing the .CSV
file, I might have that same process (or a follow-on process) generate
your JSON and serve it statically instead of doing it on the fly in
PHP.

-n
Received on Tue Dec 06 2011 - 09:06:57 EST