Code Monkey home page Code Monkey logo

arena-webhub's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

marwatayyar1

arena-webhub's Issues

things as simple objects

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.

Handling visibility state

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.

account management example

I need to work on the account management example to demonstrate how to support account registration, second factor authentication, JWT processing, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.