Not every dynamic website which runs on Sideboard will necessarily want to run on websockets. This may stop being true after we address #33 but for now a high-traffic website wouldn't be able to use websockets.
So it would be nice to include a Javascript library for consuming exposed Sideboard services over JSONRPC. I believe this would be best specifically as an Angular service, for the reasons I outlined at https://github.com/appliedsec/sideboard/issues/28#issuecomment-39144846 plus I think a promise API is way nicer than a callback API. (Come to think of it, perhaps there should be a promise-based API for SocketManager.call() - EDIT: I actually did this, and it will be documented as part of #28.)
This is not super high-priority at the moment, but it is something I will definitely want if/when I eventually refactored the MAGFest prereg system to be an Angular app.
Not every dynamic website which runs on Sideboard will necessarily want to run on websockets. This may stop being true after we address #33 but for now a high-traffic website wouldn't be able to use websockets.
So it would be nice to include a Javascript library for consuming exposed Sideboard services over JSONRPC. I believe this would be best specifically as an Angular service, for the reasons I outlined at https://github.com/appliedsec/sideboard/issues/28#issuecomment-39144846 plus I think a promise API is way nicer than a callback API. (Come to think of it, perhaps there should be a promise-based API for
SocketManager.call()
- EDIT: I actually did this, and it will be documented as part of #28.)This is not super high-priority at the moment, but it is something I will definitely want if/when I eventually refactored the MAGFest prereg system to be an Angular app.