Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Phonegap for Enterprise
  • Table Of Contents Toc
Phonegap for Enterprise

Phonegap for Enterprise

By : Kerri Shotts
4.5 (6)
close
close
Phonegap for Enterprise

Phonegap for Enterprise

4.5 (6)
By: Kerri Shotts

Overview of this book

This book is intended for developers who wish to use PhoneGap to develop useful, rich, secure mobile applications for their enterprise environment. The book assumes you have working knowledge of PhoneGap, HTML5, CSS3, and JavaScript, and a reasonable understanding of networking and n-tier architectures.
Table of Contents (11 chapters)
close
close
10
Index

Chapter 4. Building the Middle-Tier

If you browse any Cordova/PhoneGap forum, you'll often come across posts asking how to connect to and query a backend database. In this chapter, we will look at the reasons why it is necessary to interact with your backend database using an intermediary service. If the business logic resides within the database, the middle-tier might be a very simple layer wrapping the data store, but it can also implement a significant portion of business logic as well. The middle-tier also usually handles session authentication logic.

Although many enterprise projects will already have a middle-tier in place, it's useful to understand how a middle-tier works, and how to implement one if you ever need to build a solution from the ground up.

In this chapter, we'll focus heavily on these topics:

  • Typical middle-tier architecture
  • Designing a RESTful-like API
  • Implementing a RESTful-like hypermedia API using Node.js
  • Connecting to the backend database
  • Executing...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Phonegap for Enterprise
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon