setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { echo $e->getMessage(); } Web Interface – Initial Development – Bone BrewsWeb Interface for Brewing on a Beaglebone Black

Web Interface – Initial Development

 Jan, 27 - 2014   no comments   WebUI


I wanted to show what I have done so far for a web interface. I’m using a lot of different CSS and JS to add functionality. I hope to one day put this on GitHub. Right now, it is not very expandable to other server configurations so for the time being it will stay with me.

The core UI is built around bootstrap and a free admin template that’s available online. Bootstrap makes designing pages very simple and straight forward.
I am using a lot of JS libraries to add some ‘flair’ and functionality. To help with managing these dependencies, I’m using the package manager Bower. Here is a look of <code>bower list</code> showing what I’m using so far:

I hope to have everything controlled and all of the data displays on the same page. There is a heavy amount of AJAX to perform all of the sensor updates. Updates are performed on a set number of seconds. Data is returned back in easy to work with JSON format. The possibilities of control with using these multiple languages really is limitless. I’ll cover in a future post on how to execute bash commands as sudo using PHP and the drawbacks of doing so.
This will be under revision for a while longer. I’ll keep you updated on how it progresses.

Related articles

Leave a Reply

Your email address will not be published. Fields with * are mandatory.