Cover image for PhoneGap for Enterprise.
PhoneGap for Enterprise.
Title:
PhoneGap for Enterprise.
Author:
Shotts, Kerri.
ISBN:
9781783554768
Personal Author:
Physical Description:
1 online resource (223 pages)
Contents:
PhoneGap for Enterprise -- Table of Contents -- PhoneGap for Enterprise -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- 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 -- Errata -- Piracy -- Questions -- 1. PhoneGap and Enterprise Mobility -- Why PhoneGap/Cordova? -- History behind PhoneGap and Cordova -- Easy cross-platform development -- Cordova app architecture -- Cordova app structure -- Summary -- 2. Building the Data Store and Business Logic -- Introducing Tasker -- Server architecture -- Designing your data models -- Designing the business logic -- Permissions model -- Summary -- 3. Securing PhoneGap Apps -- General security precautions -- Filtering and validating input -- Encoding and escaping output -- JavaScript/browser security -- Avoiding JavaScript cryptography in the browser -- Avoiding the use of JavaScript eval -- Using strict mode -- Avoiding untrusted HTML injection -- Using Strict-Transport-Security -- Securing your cookies -- Using Content-Security-Policy -- Avoiding JSONP -- Avoiding the use of iframes -- Using TLS/SSL always -- Authentication -- Server-specific security precautions -- Securing your backend -- Hardening your backend against attack -- Avoiding SQL injection -- Preventing cross-site request forgeries -- Avoid trusting your client's state -- Verify message integrity with HMACs -- Quick Node.js and Express server security settings -- Cordova-specific security precautions -- Targeting modern mobile devices -- Source code protection -- Using InAppBrowser for external links -- Whitelisting domains -- Avoiding self-signed certificates.

Using a well-known certificate authority -- Man-in-the-middle attacks -- Local data store security/encryption -- Summary -- 4. Building the Middle-Tier -- Middle-tier architecture -- Designing a RESTful-like API -- Building our API using Node.js -- Connecting to the backend database -- Executing queries -- Using Passport to handle authentication and sessions -- Building API handlers -- Summary -- 5. Communicating between Mobile and the Middle-Tier -- Getting started -- Promises -- Ensuring secure communication -- Communicating with the backend using XHR -- Authenticating the user with the backend -- Summary -- 6. Application Events and Storage -- Getting ready -- Determining network connectivity -- Getting the current network type -- Detecting changes in connectivity -- Handling connectivity issues -- Handling changes in the application state -- Responding to application-level events -- Storing local data using SQLite -- Storing data in the iOS Keychain -- Summary -- 7. Push Notifications -- Delving into Push Notification architecture -- Boxcar Universal Push Notifications Platform -- Setting up Apple Push Notifications with Boxcar -- Setting up Google Cloud Messages with Boxcar -- Downloading the Boxcar PhoneGap SDK -- Integrating Boxcar with PhoneGap/Cordova -- Additional iOS configuration steps -- Additional Android Configuration steps -- Receiving Pushes from Boxcar -- Background vs foreground Push Notifications -- Sending a Push via Boxcar -- Summary -- 8. Building the Presentation Tier -- Mock-up design tools -- Libraries and frameworks -- Common patterns -- MVC (Model-View-Controller) -- The publish-subscribe pattern -- The observables pattern -- The templates pattern -- The data binding pattern -- The URL routing pattern -- Presentation of the app -- User Interface frameworks -- View management -- Forms and the validation.

Data visualization -- Seeing it in action -- Summary -- A. Useful Resources -- Chapter 1 - PhoneGap and Enterprise Mobility -- Chapter 2 - Building the Data Store and Business Logic -- Database servers -- Designing Data Models -- Chapter 3 - Securing PhoneGap Apps -- Security resources -- Chapter 4 - Building the Middle-Tier -- RESTful-like API resources -- Chapter 5 - Communicating between Mobile and the Middle-Tier -- Communication with the backend -- Chapter 7 - Push Notifications -- Push Notification services and BaaS -- Chapter 8 - Building the Presentation Tier -- Additional utility libraries and frameworks -- User Interface frameworks -- Index.
Abstract:
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.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: