最新章節
- Summary
- Implementing the application process
- The application process architecture
- Securing our application
- Application server versus application process
- Using Firebase APIs to Update Our Application
品牌:中圖公司
上架時間:2021-07-15 16:57:58
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Summary 更新時間:2021-07-15 17:10:53
- Implementing the application process
- The application process architecture
- Securing our application
- Application server versus application process
- Using Firebase APIs to Update Our Application
- Summary
- Adding listeners to the client-side script
- Enabling access to the Firebase Database
- Adding the Realtime Database
- Adding Firebase tools
- Migrating the frontend assets
- Testing and deploying the application to the cloud
- Initializing a new Firebase application
- Logging in to Firebase on the command line
- Installing the Firebase CLI
- Creating your first Firebase application
- Server application and sensor interface
- Database
- The User interface
- Migrating to Firebase
- The Firebase platform
- Deploying our application to Firebase
- Summary
- Client-side implementation
- Creating our socket implementation in our application server
- Server-side installation
- Client-side installation
- The socket.io library
- Implementing web sockets in our application
- Web sockets
- Making our Application Real Time with Web Sockets
- Summary
- Adding the required APIs
- Adding new features - the ability to view readings from a custom time period
- Consuming the API on the client side
- Adding an API to get the latest ten readings
- Upgrading the sensor interface module
- Integrating the database module into our server application
- Putting the functions together in a module
- Fetching the average of readings between time periods
- Fetching readings between a certain time period
- Fetching the last "n" readings from a table
- Adding a new temperature to the database
- Making our database module
- Running queries with node
- Getting started: Interfacing SQLite with node
- Integrating SQLite into Our Application
- Summary
- Advanced aggregations using subqueries
- Aggregations
- Delete
- Update
- Read
- Create
- Running CRUD operations
- Creating the temperature and humidity tables
- Installation
- Picking the correct tool for the job
- SQLite - The Fast and Portable Database
- Summary
- public/script.js
- public/index.html
- index.js
- A code overview
- Integrating sensor data into our charts
- Modifying the sensor dashboards to consume JSON data
- Making the server response data-friendly
- Creating our first chart
- Installing Chart.js
- Introducing Chart.js
- Considerations when implementing complex features
- Enhancing Our UI - Using Interactive Charts
- Summary
- Adding style to the newly modified structure
- Changing the structure of our UI
- Visually enhancing the UI
- Fetching sensor readings using XHR
- Adding client-side JavaScript
- Building the UI's functionality
- Serving static files from the Express server
- Extending our application
- Creating a Web Page to Display Sensor Data
- Summary
- Caching our results
- Abstracting our sensor library code
- Optimizing our server
- Modifying our server code to show sensor readings
- Understanding how our node process takes readings
- Retrieving Sensor Readings from the Server
- Summary
- Reading from the sensor
- The DHT11 sensor
- Fine-tuning our control - using the GPIO command-line tools
- The Read mode
- The Write mode
- The pin as a standalone component
- The GPIO pins on the Pi
- Extracting Information from the GPIO Pins
- Summary
- Keeping the server running in the background
- Starting up the server
- Adding routes to the server
- Developing the application server
- Installing external libraries
- Back to our program
- Setting up a version control system
- Running our first node program
- Installing node on the Pi
- Introducing nodes - the server side JavaScript runtime
- Running a Node Server on the Pi
- Summary
- The overall architecture
- Integrating the database into our application
- The database - adding persistence to our data
- Interfacing with external hardware
- Client-server communication
- The server - the brains of the application
- The UI - the user's first encounter
- The web development stack
- The network
- Getting Up-and-Running with Web Development on the Raspberry Pi
- Summary
- Remote access
- Setting up our Raspberry Pi
- The application server - middleware
- The user interface - presentation
- The database - persistence
- The sensor interface - perception
- A brief look at our application
- The Internet of Things
- Getting Started on the Raspberry Pi
- Questions
- Piracy
- Errata
- Downloading the color images of this book
- Downloading the example code
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Customer Feedback
- Why subscribe?
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- Full Stack Web Development with Raspberry Pi 3
- Copyright
- Title Page
- cover
- cover
- Title Page
- Copyright
- Full Stack Web Development with Raspberry Pi 3
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Why subscribe?
- Customer Feedback
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Downloading the color images of this book
- Errata
- Piracy
- Questions
- Getting Started on the Raspberry Pi
- The Internet of Things
- A brief look at our application
- The sensor interface - perception
- The database - persistence
- The user interface - presentation
- The application server - middleware
- Setting up our Raspberry Pi
- Remote access
- Summary
- Getting Up-and-Running with Web Development on the Raspberry Pi
- The network
- The web development stack
- The UI - the user's first encounter
- The server - the brains of the application
- Client-server communication
- Interfacing with external hardware
- The database - adding persistence to our data
- Integrating the database into our application
- The overall architecture
- Summary
- Running a Node Server on the Pi
- Introducing nodes - the server side JavaScript runtime
- Installing node on the Pi
- Running our first node program
- Setting up a version control system
- Back to our program
- Installing external libraries
- Developing the application server
- Adding routes to the server
- Starting up the server
- Keeping the server running in the background
- Summary
- Extracting Information from the GPIO Pins
- The GPIO pins on the Pi
- The pin as a standalone component
- The Write mode
- The Read mode
- Fine-tuning our control - using the GPIO command-line tools
- The DHT11 sensor
- Reading from the sensor
- Summary
- Retrieving Sensor Readings from the Server
- Understanding how our node process takes readings
- Modifying our server code to show sensor readings
- Optimizing our server
- Abstracting our sensor library code
- Caching our results
- Summary
- Creating a Web Page to Display Sensor Data
- Extending our application
- Serving static files from the Express server
- Building the UI's functionality
- Adding client-side JavaScript
- Fetching sensor readings using XHR
- Visually enhancing the UI
- Changing the structure of our UI
- Adding style to the newly modified structure
- Summary
- Enhancing Our UI - Using Interactive Charts
- Considerations when implementing complex features
- Introducing Chart.js
- Installing Chart.js
- Creating our first chart
- Making the server response data-friendly
- Modifying the sensor dashboards to consume JSON data
- Integrating sensor data into our charts
- A code overview
- index.js
- public/index.html
- public/script.js
- Summary
- SQLite - The Fast and Portable Database
- Picking the correct tool for the job
- Installation
- Creating the temperature and humidity tables
- Running CRUD operations
- Create
- Read
- Update
- Delete
- Aggregations
- Advanced aggregations using subqueries
- Summary
- Integrating SQLite into Our Application
- Getting started: Interfacing SQLite with node
- Running queries with node
- Making our database module
- Adding a new temperature to the database
- Fetching the last "n" readings from a table
- Fetching readings between a certain time period
- Fetching the average of readings between time periods
- Putting the functions together in a module
- Integrating the database module into our server application
- Upgrading the sensor interface module
- Adding an API to get the latest ten readings
- Consuming the API on the client side
- Adding new features - the ability to view readings from a custom time period
- Adding the required APIs
- Summary
- Making our Application Real Time with Web Sockets
- Web sockets
- Implementing web sockets in our application
- The socket.io library
- Client-side installation
- Server-side installation
- Creating our socket implementation in our application server
- Client-side implementation
- Summary
- Deploying our application to Firebase
- The Firebase platform
- Migrating to Firebase
- The User interface
- Database
- Server application and sensor interface
- Creating your first Firebase application
- Installing the Firebase CLI
- Logging in to Firebase on the command line
- Initializing a new Firebase application
- Testing and deploying the application to the cloud
- Migrating the frontend assets
- Adding Firebase tools
- Adding the Realtime Database
- Enabling access to the Firebase Database
- Adding listeners to the client-side script
- Summary
- Using Firebase APIs to Update Our Application
- Application server versus application process
- Securing our application
- The application process architecture
- Implementing the application process
- Summary 更新時間:2021-07-15 17:10:53