Mastering PhoneGap mobile application development : take your PhoneGap experience to the next level and create engaging real-world applications /

Saved in:
Bibliographic Details
Author / Creator:Shotts, Kerri, author.
Imprint:Birmingham : Packt Publishing, 2016.
Description:1 online resource : illustrations.
Language:English
Series:Community experience distilled
Community experience distilled.
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11755970
Hidden Bibliographic Details
ISBN:9781783288441
1783288442
9781783288434
1783288434
Notes:Includes index.
Online resource; title from PDF title page (EBSCO, viewed April 20, 2016)
Summary:Annotation Take your PhoneGap experience to the next level and create engaging real-world applicationsAbout This Book Create a useful PhoneGap workflow for larger projects in order to simplify and manage the development process Use third-party plugins, IndexedDB, and SQLite for PhoneGap to develop large-scale, data-driven, and highly accessible applications A pragmatic guide to construct top-notch large-scale applications using PhoneGap Who This Book Is ForIf you have created simple applications using PhoneGap in the past and now want to take your workflow and apps to the next level, this book will help you reach your goals. You should have a good working knowledge of HTML, CSS, and JavaScript, and prior experience with PhoneGap.What You Will Learn Construct build workflows that simplify complex application development Integrate the next version of JavaScript to simplify your code Create accessible hybrid applications Persist and query data using third-party database plugins Create your own PhoneGap plugins for your unique use cases Create icons and splash screens suitable for submission to app stores Publish your app to the Google Play and Apple iTunes storesIn DetailPhoneGap is a useful and flexible tool that enables you to create complex hybrid applications for mobile platforms. In addition to the core technology, there is a large and vibrant community that creates third-party plugins that can take your app to the next level.This book will guide you through the process of creating a complex data-driven hybrid mobile application using PhoneGap, web technologies, and third-party plugins.A good foundation is critical, so you will learn how to create a useful workflow to make development easier. From there, the next version of JavaScript (ES6) and the CSS pre-processor SASS are introduced as a way to simplify creating the look of the mobile application. Responsive design techniques are also covered, including the flexbox layout module. As many apps are data-driven, you'll build an application throughout the course of the book that relies upon IndexedDB and SQLite. You'll also download additional content and address how to handle in-app purchases. Furthermore, you'll build your own customized plugins for your particular use case. When the app is complete, the book will guide you through the steps necessary to submit your app to the Google Play and Apple iTunes stores.Style and approachThis book is a step-by-step guide, in which the concepts covered are explained with the help of hands-on examples.
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Task Automation; Before we begin; About Logology; Why use Gulp for task automation?; Setting up your app's directory structure; Installing Gulp; Creating your first Gulp configuration file; Creating a modular Gulp configuration; Copying assets; Performing substitutions; How to execute Cordova tasks; Managing version numbers; Supporting ES2015; Linting your code; Uglifying your code; Putting it all together; Summary; Chapter 2: ECMAScript 2015 and Browserify
  • Getting startedBenefits of ES2015; Block scope; Arrow functions; Simpler object definitions; Default arguments; Variable arguments; Destructuring and named parameters; String interpolation; Promises and a taste of ES2016; Classes; Modules; More information; Using Browserify; Modifying our Gulp configuration; Including Node.js packages; Summary; Chapter 3: Sassy CSS; Getting started; Learning Sass; Comments; Calculation; Variables; Nesting; Mixins and functions; Object-oriented CSS; Modules and partials; Integrating Sass with Gulp; Including the Stylesheets installed via npm; Summary
  • Chapter 4: More Responsive DesignGetting started; Pixel densities; The CSS3 units; Media queries; Image sizing; Using flex-box layout; Summary; Chapter 5: Hybrid Application Accessibility; Getting started; Types of accessibility features; Color vision deficient; Low vision; Blindness; Auditory disabilities; Motor disabilities; Dyslexia; Seizures; Accessibility for free; What is WAI-ARIA?; The WAI-ARIA roles; Accessibility examples; Separation of presentation and content; Accessible icon buttons; Accessible navigation; Accessible lists; Accessible alerts and dialogs
  • Fitting in with native accessibility featuresInstalling the Mobile Accessibility Plugin; Detecting the user's preferred text size; Detecting a screen reader; Speaking custom text; Useful tools; Summary; Chapter 6: Testing and UI Automation; Getting started; An introduction to assertions; Writing tests using Chai; Language chains; Logical words; Testing existence and types; Testing equality; Testing collections; Running test suites using Mocha; Writing UI automation tests; Installing Appium; Exploring your app with Appium; Creating test cases; Running UI Automation tests using Appium and Mocha
  • Integrating our tests with GulpSummary; Chapter 7: IndexedDB; Getting started; IndexedDB support and polyfills; Differences between relational and key-object storage; Creating a database; Creating an object store within the database; Handling database upgrades; Transactions; Storing objects; Getting objects; Deleting objects; Using cursors and indexes; Closing the database; Additional resources; Summary; Chapter 8: Web SQL Database; Getting started; Web SQL Database support; The Cordova SQLite plugin; Creating and opening databases; Transactions; Creating tables