4 ms·
I think it's just unfamiliarity with anything else, and unawareness of the staggering complexity this introduces. Also, this is Mozilla who have a large concent
by userbinator 11y ago
I think it's just unfamiliarity with anything else, and unawareness of the staggering complexity this introduces. Also, this is Mozilla who have a large concentration of people familiar with browser technologies.
On the other hand, I think IoTs with web interfaces aren't a bad idea.
- jacquesm 11y ago> I think IoTs with web interfaces aren't a bad idea. I think it is. The internet-of-things does not need to suffer from massive power consumption and hard to implement on the micro-controller scale protocols. It needs something much more along the lines of encrypted UDP than that it needs to use 'web technologies'. Imagining a stack made on 'web technologies' running off power harvested over a relatively long period of time is painful.
- userbinator 11y agoI had in mind more things like routers, home automation management consoles, etc. which have had web interfaces for a very long time, but it doesn't take all that much power to do it[1], unless you want to run a full Linux kernel and JS and all that other bloat which tiny IoTs don't need. [1] http://www-ccs.cs.umass.edu/shri/iPic.html http://www-ccs.cs.umass.edu/shri/iPic.html (images also mirrored at http://cc2.savs.hcc.edu.tw/~chuavv/smallest/iPic/ipic.html http://cc2.savs.hcc.edu.tw/~chuavv/smallest/iPic/ipic.html )
- TeMPOraL 11y agoIndeed. Basic web technologies - client-side HTML, CSS and JavaScript (and I mean writing them directly, not via absurdly wasteful layers of JS frameworks) - are a great tools for adding UIs to connected devices. You don't need that much resources for a HTTP server if you already have TCP/IP connectivity, and you also don't need much resources to output some rudimentary HTML or to process POST requests. It's also a pretty cool tool for adding UIs to software you code locally. Embedding a HTTP server is simple in most languages, and for some cases, a web interface will be much simpler than building an equivalent from "native" UI components. -- Incidentally, one of the best demonstrations I saw of that was in the book Land of Lisp. The book teaches you Common Lisp by guiding you through writing a few games. At some point, you end up embedding in your game a very simple HTTP server - and suddenly, you get to have interactive graphics (via SVG) without the author having to teach you lots of stuff about some random UI library.
- IshKebab 11y agoI think a good option is CoAP.
- raffomania 11y agoThat's a good point. And running node.js on an IoT device still makes sense to me, but emulating a browser just seems unnecessary.
- gdamjan1 11y agoThen-again, chromecast does the same
- espadrine 11y ago> this is Mozilla who have a large concentration of people familiar with browser technologies. It does, but this is not the reason. Browsers have grown to contain a stellar collection of networking APIs (compared to the rest), and IoT devices depend on talking to each other. Indeed, the people at Mozilla working on this stuff know more about the nitty-gritty of the low-level than about standard Web development. The API is for the users.