Full Stack Web Development with Raspberry Pi 3
eBook - ePub

Full Stack Web Development with Raspberry Pi 3

Soham Kamani

Partager le livre
  1. 214 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Full Stack Web Development with Raspberry Pi 3

Soham Kamani

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Discover how to build full stack web applications with the Raspberry Pi 3About This Book‱ Leverage JavaScript, HTML5, and Cloud APIs to create visual representations and interactive web pages.‱ Learn to install and use a Node.js-based web framework to develop Raspberry Pi 3-powered web applications.‱ A step-by-step guide that will cover from setting up a embedded system to developing embedded, device-powered interactive web applications.Who This Book Is ForThis book is aimed at hobbyist, enthusiasts, and developers eager to develop embedded device-powered web applications. Prior programming experience with JavaScript, HTML5, and Node.JS will be beneficial.What You Will Learn‱ Get up and running with your Raspberry Pi‱ Go full stack! Learn about the end-to-end development process for web applications, right from the OS up to the actual HTML web interface‱ Discover that JavaScript is one of the fastest growing languages today, and is the only language that can be used both on a browser and server. This book will empower you to develop in a complete JavaScript stack‱ See that the IoT is everywhere!Connect your application to the outside world. Make use of sensors in your Raspberry Pi to give your application an edge, and unleash the full power of the Internet of Things‱ Build a rich UI with beautiful charts and data visualizations that can run on any browser‱ Make your software data-driven. Learn how to utilize SQLite to collect and analyze data from multiple systemsIn DetailModern web technology and portable computing together have enabled huge advances in the Internet of Things (IoT) space, as well as in areas such as machine learning and big data. The Raspberry Pi is a very popular portable computer for running full stack web applications. This book will empower you to master this rapidly evolving technology to develop complex web applications and interfaces.This book starts by familiarizing you with the various components that make up the web development stack and that will integrate into your Raspberry Pi-powered web applications. It also introduces the Raspberry Pi computer and teach you how to get up and running with a brand new one. Next, this book introduces you to the different kinds of sensor you'll use to make your applications; using these skills, you will be able to create full stack web applications and make them available to users via a web interface. Later, this book will also teach you how to build interactive web applications using JavaScript and HTML5 for the visual representation of sensor data. Finally, this book will teach you how to use a SQLite database to store and retrieve sensor data from multiple Raspberry Pi computers.By the end of this book you will be able to create complex full stack web applications on the Raspberry Pi 3 and will have improved your application's performance and usability.Style and approachStep-by-step instructions on developing a full stack web application and deploying it to the Cloud.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Full Stack Web Development with Raspberry Pi 3 est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Full Stack Web Development with Raspberry Pi 3 par Soham Kamani en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatique et MatĂ©riel. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2017
ISBN
9781788290418
Édition
1
Sous-sujet
Matériel

Enhancing Our UI - Using Interactive Charts

An important thing to note during the development of any application is that the experience of the user is paramount. In the end, all we are really doing when we make applications is valuing our users' time. If we manage to save the user some effort in thinking or understanding some piece of data, we know we are moving in the right direction.
In the previous chapter, this is exactly what we were focusing on by combining the temperature and humidity readings into a single interface and, after that, by highlighting the relevant pieces of information through the modification of size and color by using CSS.
In this chapter, we will be continuing with the concept of user experience improvement by introducing advanced UI elements such as charts, which will help us interpret and understand the data even further.
Here's what we will be covering in this chapter:
  • Introducing the the Chart.js library
  • Building HTML5 charts using the Chart.js library
  • Enhancing our server to provide consumable responses
  • Injecting our sensor data into our chart

Considerations when implementing complex features

When it comes to building complex features in any software application, it often boils down to two options:
  • Building each feature from scratch, thoroughly testing and integrating it into your application
  • Using an existing library that has already taken care of the preceding point
Each option has its own trade-offs. If we decide to implement a feature and build it from scratch, we will have full control over what happens, and can customize it the way we like without any dependency. However, we must also take into consideration the time and effort that we will have to spend in building it. Even after spending months, there may still be scenarios and optimizations that we did not think of. These will, of course, be fixed as time passes, but this is time that could be spent elsewhere.
In contrast, we have numerous libraries available in the open source ecosystem at our disposal. Many smart people have spent time to develop code that we can reuse for our own purposes...

Table des matiĂšres