Project Description
azureQuery provides a jQuery-style JavaScript library that can perform Windows Azure cloud operations. Currently the library provides blob storage operations.

Chaining

Like jQuery, azureQuery is a fluent API that supports chaining. For example, to store or retrieve a text blob one can use succinct single JavaScript statements like these:

aq.container('documents').blob('myBlob').text('This is a text blob');

var text = aq.container('documents').blob('myBlob').text();

Selectors

Like jQuery, azureQuery has powerful selectors. The statement below finds all blobs in all containers ending in .xml and deletes them.

aq.containers().blobs('*.xml').remove();

JSON

azureQuery has strong JSON support. For example, JavaScript objects can be stored and retrieved from blob storage using statements like these.

var order = { company: 'ACME Inc.', lastName: 'Smith', .... orderItems: [ ... ] };
aq.container('orders').blob('order-1001').json(order);

...

var loadedOrder = aq.container('orders').blob('order-1001').json();


neudesic_rounded_small.jpg

azureQuery is a community donation of Neudesic. For support or inquiries, contact David Pallmann at http://davidpallmann.blogspot.com.

Last edited Jul 28, 2012 at 10:57 PM by dpallmann, version 19