封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
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 started
Benefits of ES2015
Using Browserify
Summary
Chapter 3. Sassy CSS
Getting started
Learning Sass
Integrating Sass with Gulp
Summary
Chapter 4. More Responsive Design
Getting 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
Accessibility for free
What is WAI-ARIA?
Accessibility examples
Fitting in with native accessibility features
Useful tools
Summary
Chapter 6. Testing and UI Automation
Getting started
An introduction to assertions
Writing tests using Chai
Running test suites using Mocha
Writing UI automation tests
Running UI Automation tests using Appium and Mocha
Integrating our tests with Gulp
Summary
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
Inserting data and binding values
Querying data (single table joins and so on)
Deleting data
The SQLite utilities
Summary
Chapter 9. Transferring Files
Getting started
Configuring the whitelist
Downloading files from a server
Receiving files using PHP on a server
Uploading files to a server
Monitoring progress
Aborting transfers
Security concerns
Summary
Chapter 10. Performance
Getting started
Defining performance
The performance difference between desktop browsers emulators and physical devices
Profiling your app
Correcting input lag
Correcting visual stutters
Correcting memory problems
Splitting up and delegating long computations
Summary
Chapter 11. Graphical Assets
Getting started
App icon requirements
Creating an app icon
Launch screen requirements
Creating a Launch Screen
Configuring your app
Useful resources
Summary
Chapter 12. Deployment
Build modes
Signing up for developer accounts
Generating signed release builds
Deploying ad hoc releases
Deploying app store releases
Resources
Summary
Index
更新时间:2021-07-16 13:04:16