Ajax Patterns

Link  •  DHTML  •  Share
here is one helluva "Ajax" resource that's just incredible, since it links to so many damn fine articles and posts by various guru's on this whole "Ajax" thing... i just spent the last hour combing through it and reading some of this, and some of that... pretty awesome, and already bookmarked here Wink
  • ClientSideInteraction Ensure most events are handled locally, resorting to server-side interaction only when there is no local facility.
  • ClientSideCache Maintain a local cache of information.
  • PredictiveFetch Anticipate likely user actions and pre-load the required data.
  • SubmissionThrottling Instead of submitting upon each Javascript event, retain the data in a local buffer and upload it periodically.
  • ExplicitSubmission Instead of submitting upon each Javascript event, require the user to explicitly request it, e.g. submit upon clicking a button
  • PeriodicRefresh The browser should refresh any volatile information by periodically calling the server.
  • UniqueURLs Use a URL-based scheme or write distinct URLs whenever the input will cause a fresh new browser state, one that does not depend on previous interaction.
  • MultistageDownload Quickly download the page structure with a standard request, then populate it with further requests.
  • ServerSideEncryption Store encrypted data on the server, and have the client decrypt it on the fly.
  • RicherPlugin [New] Make your application "more AJAX than AJAX" by offering an application-specific browser plugin.
  • CrossDomainTransmitter [Speculative] Expose server facilities to transmit traffic between the browser and selected third-party applications.

with the addition of more "Ajax" widgets here and there around here, i've been feeling more and more that this is almost getting out of hand in a weird way... am i going overboard with this shit? does it make my blog any more useable, and fun to use? in many ways, it feels like it's become more like the FooBlog Application than merely a "blog"... yet on the flipside, it's from messing around here on my personal site that i've learned a few things about it, which i can then reuse in other projects and sites that i work on... i think my boss at work can appreciate that in a way.

oh, and why do i keep throwing quotes around "Ajax"? well, cuz i'm not really sure why, but i still dont really like the damn word... even though it's now caught on and i think we're stuck with it, kinda like the word "blog".

p.s. all this talk about "Ajax" has me thinking that maybe i should blog about the new feature i added the other day... hmmmm.