consuming open data using datajs - jsfoo

13
Consuming Open Data with DataJS Lohith G N

Upload: lohith-gn

Post on 05-Dec-2014

3.694 views

Category:

Technology


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

Page 1: Consuming Open Data using DataJS - jsFoo

Consuming Open Data with DataJSLohith G N

Page 2: Consuming Open Data using DataJS - jsFoo

Open Data Protocol

Open protocol for sharing data

REST + AtomPub (RFC 5023) + XML/JSON

Standard HTTP access

Page 3: Consuming Open Data using DataJS - jsFoo

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

Page 4: Consuming Open Data using DataJS - jsFoo

Great AJAX Apps

Reduced N/W Latency

More Interactive, Responsive

Improved User Experience

Page 5: Consuming Open Data using DataJS - jsFoo

Opportunities

Local Storage Language Network Advanced

Graphics Media

Netflix Ebay Twitter Flickr Stack Overflow Etc…

HTML5 Improvements Data Everywhere

Page 6: Consuming Open Data using DataJS - jsFoo

Demo

Local Storage, Data Everywhere

Page 7: Consuming Open Data using DataJS - jsFoo

Introducing dataJS

datajs

cache data smart prefetch cross domain

no browser diffs

same coderesilient to networkleverage capabilities

multiple sources

Page 8: Consuming Open Data using DataJS - jsFoo

Demo

datajs - JavaScript library for data-centric web applications

Page 9: Consuming Open Data using DataJS - jsFoo

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

Page 10: Consuming Open Data using DataJS - jsFoo

Supported Platform

Windows: Internet Explorer, Firefox, Safari, Chrome

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

Page 11: Consuming Open Data using DataJS - jsFoo

Download….

datajs.codeplex.com

Page 12: Consuming Open Data using DataJS - jsFoo

Q & A

???

Page 13: Consuming Open Data using DataJS - jsFoo

Thank You ….

About.me/kashyapa@kashyapa