User Authentication in a jQuery Mobile and PhoneGap Application

User authentication in a PhoneGap application

This article shows you how to implement user authentication in a jQuery Mobile and PhoneGap application. We will use the Meeting Room Booking app as the sample application for this tutorial. User registration (which we added in the previous chapter of this series) and authentication are the door that users have to go into the application.

The authentication feature has two subsystems that work together. One lives inside the mobile application and captures the user’s credentials, performs a first round of validation, and sends the credentials to the server.

Continue Reading →

Packaging a jQuery Mobile Application with Cordova / Phonegap

In this article we are going to learn the process of packaging a jQuery Mobile Application with Cordova / Phonegap. The application that we will use in the article is the Meeting Room Manager app that we’ve been building over the past months.

jqm-cordova-1

While we haven’t finished developing the Meeting Room Manager app (only the user registration features are completed at this point), I want to show you how to convert it from a mobile web app to a native hybrid app that you can deploy to a device.

Continue Reading →

How to Build a User Registration System for a jQuery Mobile Application

User registration is the foundation that allows you to provide a personalized experience for the users of your mobile apps. In this jQuery Mobile tutorial we are going to create a user registration system for a jQuery Mobile application.

signup-flow-2

In a previous jQuery Mobile tutorial of this series we designed and created the jQuery Mobile pages that we will use in the application that is the subject of this article. In a recent NodeJs and MongoDB tutorial, we also created the backend that will perform the registrations and store the user profiles.

Now we are going to connect the two pieces and create and end-to-end system that allows users to register with the application. Let’s start by creating a few helper files.

Continue Reading →

Using MongoDB and Mongoose for User Registration, Login and Logout in a Mobile Application

This mobile application tutorial shows you how to create a user registration, login and logout backend using MongoDB and Mongoose. This article is part of a series of mobile application development tutorials that I have been publishing on my blog MiamiCoder.com, which shows you how to create a Meeting Room Booking mobile application. This app will be used to browse an inventory of meeting rooms and reserve rooms for conference calls and other types of events.

Using MongoDB and Mongoose for User Registration, Login and Logout in a Mobile Application

The backend that we will create in this article will connect with the user account management screens that we built in a previous chapter of this series. This backend will consist of the following modules:

Continue Reading →