万本电子书0元读

万本电子书0元读

顶部广告

PhoneGap for Enterprise电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Kerri Shotts

出  版  社:Packt Publishing

出版时间:2014-12-26

字       数:111.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部