GarageGames.com AJAX'ified
02/13/2006 (11:28 pm) by Rick Overman
AJAX is the buzzword of the web with everyone using "it" for all the wrong reasons in all the wrong places. I finally found a nice small "library" without all the framework baggage that lets me inject a little RPC anywhere I want without all the overhead of most the "libraries" floating around the web.
So after too many lost posts -- rating resources and the notification checkbox are finally AJAX background calls! I have tested this with Firefox, IE, Safari and Opera! If you have any problems, please let me know.
If this test goes well I will be expanding into other areas of the site, form posing comes to mind (no more broken back button). Suggestions welcome.
--Rick
About the author
One of the founding four (Jeff, Tim, Mark and Myself) and have one of the best jobs around (although each of us thinks we have the best job). Here at GarageGames I have done a little of everything over the last seven years: management, engine programming, game programming, web programming, community building and IT. Working with Indie developers has been the most rewarding parts of the journey although everything has been rewarding in its own way. Looking forward to a HUGE 2008 with the launch of InstantAction.com and lots of new technology bringing exciting new opportunities to Indies! The engine team is stronger than ever with the addition of many new faces helping to bring all the pieces together. view profile »
I didn't understand a word of that except the "I have tested this with Firefox, IE, Safari and Opera! If you have any problems, please let me know." part.
I don't know if thats suppose to mean the whole site, but with Opera, ...she no worky.
BEAUTIFUL!!
Im using Firefox.
Just kidding, great stuff! :)
will see... doing "post"..
edit: nope.. it's not displaying.. but when I open post for edit - I still can see the russian test. huh...
but anyway, I like the progress going on the site!
edit2: huh.. now I need to click on "notify" and then on POST with empty message box just to subscribe to the thread..
What library are you using? Ive been looking for a nice clean one myself.
You may want to check older versions of safari... i dont have one available myself to check with but I used to have issues with it a little over a year ago.
Thanks
Check out importXML.js by Mark Wilton-Jones at http://www.howtocreate.co.uk.
It's very small and handles all browsers. It uses the optimal method for each platform and then falls back to iFrame XML parsing if need be. (Although I had to change it to recognise and cater for ActiveX being disabled in IE, to reuse internal indexes, and to failsafe the IFrame fallbacks for IE).
He also created a parser which strips fat off the script and takes script size to 1k. (The entire script ends up being eval'ed, which does entail a performance hit).
I'm not getting much joy with the site today. All this on Firefox 1.5.01.
1) When I select 'Unread posts', it shows I have 0 unread (which cannot be) and then shows me everything.
2) Similarly for 'unanswered posts'.
3) The watched threads is now sort-of 'fixed', ie. the first X show up, but because there are more of them than the block can show, they extend beyond the boundaries. Also, there doesn't seem to be a 'more watched threads line' to cater for this overflow condition.
4) Watched threads still only shows watched threads with new posts. Is that how it is supposed to be? How do we see all watched threads?
Edit: I checked it for IE and item 3) extends the block to cater for all watched items.
In IE all threads also appear as read. (it's been almost 24 hours since I last checl posts, so there must be at least a few I haven't read).
Seriously though, great work and addition, Rick! Thanks!

Torque Owner Anton Bursch