What is Gadget?

Transkript

What is Gadget?
Main - gadget
What is Gadget?
Gadget is small application embeddable into the web page (such page is called gadget container). Gadget is
defined as XML file (gadget specification) which must be in compliance with standard Gadgets API . This file
is exposed by gadget developer on public URL. Vodafone Park contains functionality which is able to transform
gadget specification (thus XML document) to HTML+JavaScript displayable in web browser (this process is
called gadget rendering) Generated JavaScript embedded in gadget can call certain services provided by
Vodafone Park. These services are accessed by JavaScript API. There are core part of the API and extensions
called features.
Gadget principle
Gadgets on Vodafone Park
Page 1 - naposledy upravil Ond#ej Králík - 2009/10/06 15:17
Main - gadget
The services available to gadget can be accessed outside of gadget (on server side) via REST API.
Actually, implementation of JavaScript API is based on top of REST API. It means that an invoking of any
function from JavaScript API is translated to REST API call.
Responsibility Split
The diagram below outlines a contract between 3rd party and Vodafone. The 3rd party supplies source code of
gadget (XML) and potentially can consume Vodafone service from its web site. Vodafone offers capabilities for
basic gadget rendering and provides services which can be consumed from both the 3rd party's gadgets and 3rd
party sites.
Responsibility split
See also
Integration view: UC Gadget
Integration view: UC Site
URL Gadget Example
Gadget rewriting
Page 2 - naposledy upravil Ond#ej Králík - 2009/10/06 15:17