draggett / arena-webhub Goto Github PK
View Code? Open in Web Editor NEWLightweight application hub for the web of things
License: MIT License
Lightweight application hub for the web of things
License: MIT License
The aim is to simplify the API used by client developers still further by using getters and setters for synchronous updates to object properties, and by treating actions as object methods that return promises. The client platform should validate data and thrown an exception if the app tries to pass a value that is invalid in respect to the thing description. Asynchronous errors are reported via events, e.g. loss of connection or an error reported by the server, but note that actions are asynchronous and the app should deal with errors through the promise returned when invoking an action. We need to agree on a means to separate the system events from the events declared in thing descriptions. One idea is by event name, but another idea would be to an API for subscribing to system events, e.g. to set onerror handlers. The error pattern is common place for node and for the browser DOM.
The client library needs to handle the visibility state API in order to re-open Web Socket connections that were closed when a tab has been hidden for some time. The following probably is also true for Server-Sent events - that needs testing. The client library in "wot.js" could listen for "visibilitychange" event on the document to determine when to test if the socket has closed and re-open it. Code that sends to a web socket should likewise test for a closed socket and reopen it - note that this will mean deferring a send until the socket opens.
I need to work on the account management example to demonstrate how to support account registration, second factor authentication, JWT processing, etc.
I need to implement and test the remote access API as described in the README
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.