kinokabaret / axiom-webremote Goto Github PK
View Code? Open in Web Editor NEWVue-ified webgui with development server, ES6 linting and tests
License: GNU General Public License v3.0
Vue-ified webgui with development server, ES6 linting and tests
License: GNU General Public License v3.0
On load we'll need to instruct the code to look at the registry and make sure that we have sensible ID's and VALUE's before we try to add them anywhere - or worse - post something nasty to the camera's server.
This also needs to be done server-side - but that is out of scope here.
It seems that we don't have access to either the i18n scope or Quasar from within the mutations.js provider. Some kind of hook will be required to call the Mutator so that we can have feedback on the screen as a chromed alert, instead of just in console.log(). Although not "necessary", I prefer to translate everything from strings instead of hardwiring content into anything. This is why the API replies with a translation primitive instead of a "real response".
We have access to this stuff in common.js - so that's probably where to put it.
it should be:
$ cd dist/spa-mat && python -m SimpleHTTPServer
I suggest that we define an API spec call where the SERVER provides a list of calls that it will accept - a kind of self-documenting spec.
This way, instead of hardwiring everything into the front-end, we expect that the SERVER tells us what it is currently capable of. This should be in JSON and include Translations for the interface. Once it arrives, we inject it into the front-end and alert the SERVER that the interface is ready to start C&C.
I imagine something like this:
<service.ip>:<service.port>/api/<api.version>/dictionary
to give us:
https://192.168.1.1:7070/api/v1/dictionary
And the last line is: dictionary.slice(-1)[0] // to get the last element in the array
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.