Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Intel Galileo Blueprints

You're reading from  Intel Galileo Blueprints

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781785281426
Pages 192 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Marco Schwartz Marco Schwartz
Profile icon Marco Schwartz

Table of Contents (19) Chapters

Intel Galileo Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Setting Up the Galileo Board and the Development Environment Creating a Weather Measurement and Data Logging Station Controlling Outputs Using the Galileo Board Monitoring Data Remotely Interacting with Web APIs Internet of Things with Intel Galileo Controlling Your Galileo Projects from Anywhere Displaying the Number of Unread Gmail E-mails on an LCD Screen Automated Remote Gardening with Intel Galileo Building a Complete Home Automation System Building a Mobile Robot Controlled by the Intel Galileo Board Controlling the Galileo Board from the Web in Real Time Using MQTT Index

Using Express to structure our application


Firstly, we need to create a structure for our application. As previously mentioned, we are going to use Express to do this.

Through Express, we will separate the data acquisition from the interface. You can visit the official site given here to learn how Express works, how to use it for the first time, how to handle errors, and a lot more at http://expressjs.com/.

The measurement part will stay in Node.js. Since Node.js is an asynchronous event-driven type of framework, it can easily build fast and scalable net applications. This is what makes it efficient and lightweight to use, and a perfect choice if one wants to run real-time and data-intensive apps on multiple devices.

Meanwhile, the interface will use Jade, which is a Node.js templating engine created for HTML.

We will then link up both Node.js and Express to the Jade interface using JavaScript.

As for the hardware, we can reuse the one that we made for our data monitoring project - the one that...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}