万本电子书0元读

万本电子书0元读

顶部广告

Phonegap and Angularjs for Cross-platform Development电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Yuxian, Eugene Liang

出  版  社:Packt Publishing

出版时间:2014-10-31

字       数:40.3万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This book is intended for people who are not familiar with AngularJS and who want to take their PhoneGap development skills further by developing apps using different JavaScript libraries. People with some knowledge of PhoneGap, HTML, CSS, and JavaScript will find this book immediately useful.
目录展开

PhoneGap and AngularJS for Cross-platform Development

Table of Contents

PhoneGap and AngularJS for Cross-platform Development

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. Introduction to AngularJS

A brief overview of AngularJS

Core concepts

Controllers

Data-binding

Directives

A conceptual example

A simple to-do list using AngularJS

Preparing your code structure

HTML for our to-do list

Adding in JavaScript with AngularJS

Summary

2. Getting Ready for PhoneGap

Preparing for PhoneGap development

Installing Android

Installing iOS

Command-line interface for both Android and iOS

Running on real devices

AngularJS on PhoneGap

What just happened?

Creating a to-do list app using AngularJS on PhoneGap

A basic version of a to-do list using AngularJS on PhoneGap

Summary

3. From a Simple To-do List to an Advanced To-do List

Rewriting the simple to-do list app

Splitting index.html into multiple files

Splitting todo.js into multiple files

Checkpoint

Wiring up a backend server

Coding our server

Changing AngularJS to perform RESTful requests

Using the $http module of AngularJS

Rewriting controllers to make use of the $http module

Checking our code

Preparing for PhoneGap

Testing our code on iOS

Testing our code on Android

Summary

4. Adding Authentication Capabilities Using PhoneGap Plugins

Adding Facebook Connect to the to-do list app

Initializing and preparing for Facebook Connect

Writing the user controller

Adding a login page

Adding a logout function

Checking the login status

Facebook login for PhoneGap

Installing the Facebook plugin

Testing out Facebook Login on PhoneGap

From web to PhoneGap

Importing Facebook and PhoneGap plugins

Changing FB to facebookConnectPlugin

The to-do list app with Facebook Login on PhoneGap

Summary

5. Sprucing Up the App Using Animations and Mobile Design

Adding animations to your web app

Adding mobile CSS styles to your app

Porting your web app to PhoneGap

Testing your app on iOS

Testing your app on Android

Summary

6. Getting Ready to Launch

Deploying server.py

Using phonegap.com

Preparing your PhoneGap app for an Android release

Testing your app on real devices

Exporting your app to install on other devices

Preparing promotional artwork for release

Building your app for release

Signing the app

iOS

Running your app on an iOS device

Other techniques

Using Xcode

Summary

A. References

AngularJS and related libraries

PhoneGap and related references

Others

Other tutorials

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部