Freeboard / freeboard

A damn-sexy, open source real-time dashboard builder for IOT and other web mashups. A free open-source alternative to Geckoboard.
http://freeboard.io
MIT License
6.45k stars 1.2k forks source link

Databinding/Templating #68

Open jritsema opened 10 years ago

jritsema commented 10 years ago

Hello. I'm new to Freeboard and just checking it out for a project that I'm working on. Very cool concept! I like how the framework manages your data sources and exposes them to your widgets.

The HTML widget seems to be only useful for very simple things since generating HTML using string concatenation in JavaScript is not fun. Has anyone considered adding some sort of data binding (maybe Angular) or templating support? Has anyone built any widget plugins that make it easier to author HTML that is more loosely coupled to the datasource and JavaScript? I guess I'm just looking for a cleaner way to author more advanced widgets. I would love to hear some thoughts and ideas.

jritsema commented 10 years ago

So I had some time tonight to play around with this a bit more and here is what I came up with. Let me know what you think.

https://github.com/jritsema/freeboard-handlebars