Re: [wiki] Advanced Input and Editing Scenarios and API

Collaborative Software Community Group,




Greetings.  Towards enhancing the Document Services API, some topics include:




Data, stream and event stream formats, format descriptions and the interconnection of component services, or of service connections, where versioning services’ various inputs and outputs could consume and produce data in multiple formats including formats with various combinations of format features, ontologies or XML namespaces (http://lists.w3.org/Archives/Public/public-collaboration/2014Apr/0001.html).




The configuration of services, instances of services and of service connections providing asynchronous functionalities between document object model documents and trees and component services.  Services can have API for settings and configurations for platforms, browser applications and/or JavaScript.










Kind regards,




Adam Sobieski






From: Adam Sobieski
Sent: ‎Saturday‎, ‎April‎ ‎5‎, ‎2014 ‎8‎:‎44‎ ‎AM
To: public-collaboration@w3.org






Collaborative Software Community Group,




Greetings.  Here is another sketch of a Document Services API.










Kind regards,




Adam Sobieski











Service
interface Service
{
readonly attribute DOMString name;
readonly attribute DOMString version;

ServiceConnection connect(Element element);

sequence<ServiceOutput> invoke(Element content);
...
}


Services
interface Services
{
...
}


ServiceConnection
interface ServiceConnection
{
readonly attribute Element element;
readonly attribute Service service;

readonly attribute sequence<ServiceOutput> outputs;
...
}


ServiceConnectionCallback
callback ServiceConnectionCallback = void (sequence<ServiceOutputsRecord> updates, ServiceConnectionObserver observer);


ServiceConnectionObserver
[Constructor(ServiceConnectionCallback)]
interface ServiceConnectionObserver
{
void observe(ServiceConnection target);
void disconnect();
sequence<ServiceOutputsRecord> takeRecords(); 
};


ServiceOutput
interface ServiceOutput
{
readonly attribute Selection selection;
...
readonly attribute DataTransfer data;
...
};


HTMLServiceOutput
interface HTMLServiceOutput : ServiceOutput
{
readonly attribute HTMLMenuElement contextmenu;
...
};


ServiceDataConnection
interface ServiceDataConnection
{
readonly attribute ServiceConnection from;
readonly attribute ServiceConnection to;
...
};


Document Object Model
partial interface Range
{
DOMString getCanonicalURI();
};

partial interface Selection
{
DOMString getCanonicalURI();
};

partial interface Element
{
readonly attribute sequence<ServiceConnection> services; 
};

Received on Saturday, 12 April 2014 19:16:28 UTC