evothings / evothings-studio

Evothings Studio
http://www.evothings.com/
Apache License 2.0
53 stars 33 forks source link

Implement basic node-red kick-the-tires branch that won't actively try to eat people #137

Closed psvensson closed 8 years ago

psvensson commented 8 years ago

Time-estimate: 3 days remaining(ish)

psvensson commented 8 years ago

Created some new repositories for this. Nrmodules, to create editors inside node-red for the front-end modules; https://github.com/psvensson/nrmodules A sample project which uses the new front-end parser for node-red flow files; https://github.com/psvensson/nrfe-hello-world The actual widgets to be created in the mobile front-end, styled (where applicable) by material design lite; https://github.com/psvensson/nrfe-widgets The nrfe parser, which consumes a node-red flows file definind nrfe-widget relations, and slaps out the widgets found in the nrfe-widgets project + wires them together; https://github.com/psvensson/nrfe

Had to switch module system from requuireJS to browserify mid-run since requireJS counterindicates with cordova.

The build of the actual studio packages introduced a subtle and alien-smelling bug where the wrong version of express was started, which in turn made node-red silently break when trying to load icons only (the api had changed from sendfile to sendFile - very funny to hunt down).

The .gitignore file of evothings-examples happily filters out any directory named 'ui' or 'lib' which makes total sense since noone would ever use those kind of names in A FRONT END WEB APPLICATION. Of course.