GarageGames.com AJAX'ified
by Rick Overman · 02/13/2006 (11:28 pm) · 23 comments
This web update contains the soft launch of an AJAX (Asynchronous JavaScript and XML) library that I have been working with. If you care it's cool, if you don't you'll never notice, because the page should "just do" what you expect it to.
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
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
#2
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.
02/13/2006 (11:45 pm)
Hey Rick,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.
#3
02/13/2006 (11:59 pm)
@ Todd. I have not looked at the community page problems with Opera. I only tested these latest changes. Again if anyone wants to submit a fix for Opera I will include it.
#4
02/13/2006 (11:59 pm)
Hahha.. cool post Todd. I wonder if you can see thi
#5
BEAUTIFUL!!
02/13/2006 (11:59 pm)
So, you are saying, that if i type out all this comment, and then click the Notification check box *which i am doing now* i won't lose my comment.BEAUTIFUL!!
#6
02/14/2006 (12:14 am)
@ Phil ...woops, got distracted, I'll go edit it.
#7
02/14/2006 (12:16 am)
Damn, I just wrote a huge reply only to lose it after pressing the notify checkbox! hehe
#8
Im using Firefox.
02/14/2006 (12:19 am)
I keep having an issue where I want to post on a thread but the bottom is cut off, like it's in a frame with no scrollers... When I click and drag on the text it scrolsl for me.Im using Firefox.
#9
Just kidding, great stuff! :)
02/14/2006 (12:24 am)
The site is translating everything to Cyrillic for me.....?Just kidding, great stuff! :)
#10
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..
02/14/2006 (1:01 am)
Cyrillic? lest do some test - привет всем русским..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..
#11
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
02/14/2006 (3:09 am)
Rick: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
#12
02/14/2006 (5:13 am)
Cool. I just happened to notice a small graphic issue on the main community page - doesn't seem to be related to new features. Right now four of the five blog tabs have the "new post" icon for me. The icons have extended the width of the tabs over the space allocated for the blog box and make Firefox vertically seperate that box from everything else so that there's no overlap with the snapshots, and that of course causes a massive amount of whitespace to appear above the blogs and below the snapshots.
#13
02/14/2006 (6:44 am)
Awesome... No more Comment Swallowing when clicking on "Notify..."
#14
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).
02/14/2006 (8:23 am)
@Jameson: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).
#15
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).
02/14/2006 (8:27 am)
Rick,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).
#16
02/14/2006 (10:15 am)
@Rick: what ajax library did you use? I'd be currious to know.
#17
02/14/2006 (3:08 pm)
Now that is a nice addition to the website, I've lost a fair few replys by seeing and clicking the notify box just before clicking post. Nice work.
#18
Seriously though, great work and addition, Rick! Thanks!
02/14/2006 (3:38 pm)
You know, I read this and thought "Interesting, but I bet I never notice it." Ho-ho-hoooo boy was I wrong - I hadn't realized I had developed a subconcious hesitation to click the "Notify me" box! Now I click without fear - I'll watch every thread and resource I visit!Seriously though, great work and addition, Rick! Thanks!
#19
02/14/2006 (11:29 pm)
Using SACK from www.twilightuniverse.com
#20
02/15/2006 (12:40 pm)
thanks for that link rick, it seems like a good resource.
Torque Owner Anton Bursch