Learning Node.js for Mobile Application Development

Make use of Node.js to learn the development of a simple yet scalable cross-platform mobile application
Preview in Mapt

Learning Node.js for Mobile Application Development

Stefan Buttigieg, Milorad Jevdjenic

2 customer reviews
Make use of Node.js to learn the development of a simple yet scalable cross-platform mobile application

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$18.00
RRP $35.99
Save 49%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$18.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning Node.js for Mobile Application Development Book Cover
Learning Node.js for Mobile Application Development
$ 35.99
$ 18.00
Node.js Essentials Book Cover
Node.js Essentials
$ 19.99
$ 10.00
Buy 2 for $27.50
Save $28.48
Add to Cart

Book Details

ISBN 139781785280498
Paperback248 pages

Book Description

Node.js is a massively popular JavaScript library that lets you use JavaScript to easily program scalable network applications and web services. People approaching Node.js for the first time are often attracted by its efficiency, scalability, and the fact that it's based on JavaScript, the language of the Web, which means that developers can use the same language to write backend code. Also, it’s increasingly being seen as a "modern" replacement for PHP in web development, which relies on fast-paced data exchange. The growing community and the large amount of available modules makes Node.js one of the most attractive development environments.

This book takes a step-wise and incremental approach toward developing cross-platform mobile technologies using existing web technologies. This will allow you to truly understand and become proficient in developing cross-platform mobile applications with Node.js, Ionic Framework, and MongoDB.

The book starts off by introducing all the necessary requirements and knowledge to build a mobile application with a companion web service. It covers the ability to create an API from scratch and implement a comprehensive user database that will give you the opportunity to offer a mobile application with a personalized experience.

Midway through the book, you will learn the basic processes to create a successful mobile application. You will also gain higher-level knowledge, allowing you to develop a functional and secure mobile application to ensure a seamless user experience for end users.

Finally, the book ends with more advanced projects, which will bring together all the knowledge and expertise developed in the previous chapters to create a practical and functional mobile-application that has useful real-world features.

Table of Contents

Chapter 1: Setting Up Your Workspace
The Node.js backend
Installing Node.js on different systems
Setting up the Ionic framework and Cordova for Mac OS X
Setting up the Ionic framework and Cordova for Windows
Setting up Android Studio for Android, Mac, and Windows
Setting up the Android Software Development Kit
Setting up your physical Android device for development
Setting up the Environment Variables on Windows 7 and higher
Setting up the Environment Variables for iOS on Mac OS X
MongoDB
Summary
Chapter 2: Configuring Persistence with MongoDB
Learning outcomes of MongoDB
An introduction to MongoDB
Connecting to MongoDB
Creating a database
Creating our collections
Creating relations between documents
Querying MongoDB
Advanced queries
Connecting MongoDB and Node.js
Summary
Chapter 3: Creating an API
Learning outcomes of the RESTful API
RESTing easy
It's all hypermedia
Building a RESTful API with Node.js
Implementing our GET handlers
Moving forward
Summary
Chapter 4: Securing Your Backend
Understanding the outcomes of token-based authentication
Adding the new collections
Adding an authentication module
Summary
Chapter 5: Real-Time Data and WebSockets
Polling
WebSockets
Using WebSockets in Node.js
An alternate chat
The efficient serving of static files
Summary
Chapter 6: Introducing Ionic
Setting up your Ionic web account
Creating your first Ionic application
Checking out your Ionic applications with Ionic View
Going further
Summary
Chapter 7: Building User Interfaces
The structure of an Ionic project
Introducing AngularJS
Modifying an Ionic project
Adding a new tab
Going further
Summary
Chapter 8: Making Our App Interactive
Creating a new project
Creating a basic MVC project
Accessing the device data
Building for native devices
The list view revisited
Summary
Chapter 9: Accessing Native Phone Features
Creating the project
Angular directives
Putting it all together
Adding geolocation via GPS
Summary
Chapter 10: Working with APIs
Setting up Parse
Setting up the Ionic project
Connecting Parse to our project
Testing our application
Summary
Chapter 11: Working with Security
An overview of client-side security
Building a secure app
Summary
Chapter 12: Working with Real-Time Data
A refresher – WebSockets
Getting the lay of the land
Creating the server
Building the chat app
Going further
Summary
Chapter 13: Building an Advanced Chat App
We need some room!
Namespaces
Creating a multiroom chat application
Summary
Chapter 14: Creating an E-Commerce Application Using the Ionic Framework
Designing our application
Summary

What You Will Learn

  • Develop an API from scratch
  • Set up a MongoDB Database as part of your mobile application backend
  • Deploy a cross-platform mobile application from the command line
  • Incorporate features within your mobile application that use native phone features such as a gyroscope, GPS, and accelerometer
  • Implement mobile applications that use web-enabled APIs
  • Build a mobile application with real-time chat messaging features
  • Develop a secure mobile application that is capable of functioning with real-time data

Authors

Table of Contents

Chapter 1: Setting Up Your Workspace
The Node.js backend
Installing Node.js on different systems
Setting up the Ionic framework and Cordova for Mac OS X
Setting up the Ionic framework and Cordova for Windows
Setting up Android Studio for Android, Mac, and Windows
Setting up the Android Software Development Kit
Setting up your physical Android device for development
Setting up the Environment Variables on Windows 7 and higher
Setting up the Environment Variables for iOS on Mac OS X
MongoDB
Summary
Chapter 2: Configuring Persistence with MongoDB
Learning outcomes of MongoDB
An introduction to MongoDB
Connecting to MongoDB
Creating a database
Creating our collections
Creating relations between documents
Querying MongoDB
Advanced queries
Connecting MongoDB and Node.js
Summary
Chapter 3: Creating an API
Learning outcomes of the RESTful API
RESTing easy
It's all hypermedia
Building a RESTful API with Node.js
Implementing our GET handlers
Moving forward
Summary
Chapter 4: Securing Your Backend
Understanding the outcomes of token-based authentication
Adding the new collections
Adding an authentication module
Summary
Chapter 5: Real-Time Data and WebSockets
Polling
WebSockets
Using WebSockets in Node.js
An alternate chat
The efficient serving of static files
Summary
Chapter 6: Introducing Ionic
Setting up your Ionic web account
Creating your first Ionic application
Checking out your Ionic applications with Ionic View
Going further
Summary
Chapter 7: Building User Interfaces
The structure of an Ionic project
Introducing AngularJS
Modifying an Ionic project
Adding a new tab
Going further
Summary
Chapter 8: Making Our App Interactive
Creating a new project
Creating a basic MVC project
Accessing the device data
Building for native devices
The list view revisited
Summary
Chapter 9: Accessing Native Phone Features
Creating the project
Angular directives
Putting it all together
Adding geolocation via GPS
Summary
Chapter 10: Working with APIs
Setting up Parse
Setting up the Ionic project
Connecting Parse to our project
Testing our application
Summary
Chapter 11: Working with Security
An overview of client-side security
Building a secure app
Summary
Chapter 12: Working with Real-Time Data
A refresher – WebSockets
Getting the lay of the land
Creating the server
Building the chat app
Going further
Summary
Chapter 13: Building an Advanced Chat App
We need some room!
Namespaces
Creating a multiroom chat application
Summary
Chapter 14: Creating an E-Commerce Application Using the Ionic Framework
Designing our application
Summary

Book Details

ISBN 139781785280498
Paperback248 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Node.js Essentials Book Cover
Node.js Essentials
$ 19.99
$ 10.00
Node.js Design Patterns - Second Edition Book Cover
Node.js Design Patterns - Second Edition
$ 39.99
$ 20.00
RESTful Web API Design with Node.js - Second Edition Book Cover
RESTful Web API Design with Node.js - Second Edition
$ 23.99
$ 12.00
Node.js Web Development - Third Edition Book Cover
Node.js Web Development - Third Edition
$ 35.99
$ 18.00
Node.js 6.x Blueprints Book Cover
Node.js 6.x Blueprints
$ 39.99
$ 20.00
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 13.50