Consuming Open Data using DataJS - jsFoo

Post on 05-Dec-2014

3.694 views 2 download

description

Presentation i delievered for jsFoo - Indias First Javascript Conference held in Bangalore on Oct 1. I tried to recreate Mix 11 talk on dataJS. Explained OData and dataJS the open source javascripy library from Microsoft to access OData

Transcript of Consuming Open Data using DataJS - jsFoo

Consuming Open Data with DataJSLohith G N

Open Data Protocol

Open protocol for sharing data

REST + AtomPub (RFC 5023) + XML/JSON

Standard HTTP access

Modern Web Apps

HTML Page

Server

http(s) transport

Response

Browser (Client)

Ajax Support(XMLHttpRequest)

Request

JavaScript Call

HTML+CSS+Data

HTML+CSS + JS

Initial Page Request

Great AJAX Apps

Reduced N/W Latency

More Interactive, Responsive

Improved User Experience

Opportunities

Local Storage Language Network Advanced

Graphics Media

Netflix Ebay Twitter Flickr Stack Overflow Etc…

HTML5 Improvements Data Everywhere

Demo

Local Storage, Data Everywhere

Introducing dataJS

datajs

cache data smart prefetch cross domain

no browser diffs

same coderesilient to networkleverage capabilities

multiple sources

Demo

datajs - JavaScript library for data-centric web applications

dataJS Capabilities

full write-back to servers (add, update, merge, delete, etc)

batching metadata cache configuration eviction policy works over Web Storage or in-

memory today, lights up on IndexedDB tomorrow

Supported Platform

Windows: Internet Explorer, Firefox, Safari, Chrome

Mac OS: SafariWindows Phone: Internet ExploreriOS: SafariAndroid: Chrome

Download….

datajs.codeplex.com

Q & A

???

Thank You ….

About.me/kashyapa@kashyapa