Decoding the Fetched Data - Ajax Tutorial - 16

http://www.ajaxtraining.blogspot.com - Decoding the Fetched Data. Sarissa is a JavaScript library (although it calls JavaScript by its formal name, ECMAScript) that specializes in working with XML — and recently, that's included some Ajax power.

Relatd javascript Articles

Cryptographic Extensions for Microsoft AJAX Extensions Framework

The Extensions for Microsoft AJAX Frameworkproject over at CodePlex provides cryptographic services including secure encoding and decoding of data, as well as hashing and random number generation, and new methods for JavaScript native objects. This project is pretty cool, and could really grow into a huge library offering us what Microsoft isn't putting into the AJAX Extensions themselves. And, now we have an object oriented, JavaScript way of doing MD5, SHA1, HMAC and AES!

Go check it out: http://www.codeplex.com/jsxfx

qUIpt: caching JS in window.name

Mario Heiderich has released qUIpt, a library that uses the window.nameproperty to store away useful data, in this case JavaScript.

How does it work?

  • It checks for the contents of window.namewhile your page is being loaded.
  • If there's nothing inside the window.namecache the JS files defined by you are fetched via XHR
  • The same happens if the users enters your site for the first time of his current browser session or if document.referreris off-domain or empty
  • After that the contents of window.nameare being evaluated
  • If the user requests the next page on your domain the JS files are directly taken from window.name - no more requests necessary

You can check out an example of it at work

Related javascript Projects

PBwiki JavaScript Testing
This is a test system built by members of the PBwiki engineering team in order to gather data about browser and javascript library performance. All results are published live on the summary page for public consumption.
jQuery
jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript.
Lily
Lily is an open source, browser-based, visual programming environment written in JavaScript. Lily enables users to build programs graphically by connecting functional modules to fetch and direct the flow of data, play sound or video, add animation or interactivity, and display results. Lily programs can be shared with other Lily users, installed as Firefox add-ons or run as standalone apps using XULrunner.
JSJaC

JSJaC is a jabber/XMPP client library written in JavaScript to ease implementation of web based jabber/XMPP clients. For communication with a jabber server it needs to support either HTTP Pollingor XMPP Over BOSH(formerly known as HTTP Binding). JSJaC has an object oriented design which should be quite easy to use. Communication is done by using the XML HTTP Request objectalso refered to as AJAX technology. Your browser must support this.

GWT(Google Web Toolkit)

Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications like Google Mapsand Gmaileasy for developers who don't speak browser quirks as a second language. Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatibilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.

GWT lets you avoid many of these headaches while offering your users the same dynamic, standards-compliant experience. You write your front end in the Javaprogramming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML.