Bonescript at oscon 2012

download Bonescript at oscon 2012

of 24

  • date post

  • Category


  • view

  • download


Embed Size (px)


Simple open hardware platforms, such as the Arduino, have reignited interest in electronic systems design as a hobby, accessible to those outside the industry. While the Arduino platform has given us a model of simplicity that enables novices to build their own inventions with components as complex as a microcontroller, even greater simplicity and collaboration are possible by utilizing the full capabilities of Linux and such familiar technologies as building web pages.JavaScript is the programming language of the web and a logical first choice for new programmers. By providing the development environment over the web using Cloud9 IDE, familiarity is maintained from top to bottom building on the same technology and language. Additionally, lengthy download and installation of tools is not required, nor any permission to alter a computer host that is often used for more passive experiences such as browsing the Internet. Avoiding any surprises is a critical aspect of building a platform for inexperienced users and the universality of JavaScript provides new opportunities to avoid such surprises or delays to success.The event-driven model of Node.JS’s JavaScript implementation provides an optimized approach to handling embedded I/O. When a sensor provides data, JavaScript closure functions provide an easy-to-use mechanism to efficiently and responsively update a web-based user interface providing visualizations of the data.An introduction to the reasoning behind building Bonescript is given along with a brief tutorial on the environment and API. The basics behind building add-on hardware is also covered along with concepts that will result in minimal software development.