Talkilla/SPA API: Difference between revisions

Jump to navigation Jump to search
Use templated draft notice
(Update the event format: {topic: "foo", details: "bar"} becomes {topic: "foo", data: {details: "bar}})
(Use templated draft notice)
Line 1: Line 1:
{{Template:Draft}}
__TOC__
=SPA API Documentation=
=SPA API Documentation=
This documentation is currently a draft.


The SPA (service provider Adaptor) is a JavaScript file. Its purpose is to adapt a service provider's REST API to Talkilla's API. Each SPA is loaded in its own web worker (http://dev.w3.org/html5/workers/). Communication between the SPA and talkilla happen via a message port (using onmessage and postMessage, see https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers#Passing_data )
The SPA (service provider Adaptor) is a JavaScript file. Its purpose is to adapt a service provider's REST API to Talkilla's API. Each SPA is loaded in its own web worker (http://dev.w3.org/html5/workers/). Communication between the SPA and talkilla happen via a message port (using onmessage and postMessage, see https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers#Passing_data )
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628

edits

Navigation menu