万本电子书0元读

万本电子书0元读

顶部广告

Ionic Framework By Example电子书

售       价:¥

2人正在读 | 0人评论 9.8

作       者:Sani Yusuf

出  版  社:Packt Publishing

出版时间:2016-01-27

字       数:145.6万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build amazing cross-platform mobile apps with Ionic, the HTML5 framework that makes modern mobile application development simpleAbout This BookLearn how to use one of the most exciting mobile development frameworks around to build even better appsFollow the featured sample projects to experience Ionic’s impressive capabilitiesExtend your developer skillset to build, test, and launch mobile apps with confidenceWho This Book Is ForThis book is for anyone who wants to see Ionic in action - and find out how it could transform the way they build mobile apps. If you’re a JavaScript web developer, you’ll be building great projects in no time.What You Will LearnLearn Ionic by creating three complete mobile applicationsGet to know the Ionic CLIAdd basic and advanced features to the Ionic frameworkConnect an Ionic app with a Firebase back endIntegrate PhoneGap plugins with NG-CordovaTest your apps to improve and optimize performanceIn DetailChange doesn’t have to be challenging. Sometimes it can be simple – sometimes it just makes sense. With Ionic, mobile development has never been so simple, so elegant and obvious. By helping developers to harness AngularJS and HTML5 for mobile development, it’s the perfect framework for anyone obsessed with performance, and anyone that understands just how important a great user experience really is.This book shows you how to get started with Ionic framework immediately. But it doesn’t just give you instructions and then expect you to follow them. Instead it demonstrates what Ionic is capable of through three practical projects you can follow and build yourself.From a basic to-do list app, a London tourist app, to a complete social media app, all three projects have been designed to help you learn Ionic at its very best. From setting up your project to developing on both the server side and front end, and best practices for testing and debugging your projects, you’ll quickly become a better mobile developer, delivering high performance mobile apps that look awesome.Ionic Framework by Example is for people who don’t want to learn now, build later – it’s for people who want to learn and build at the same time – so they can meet today’s mobile development challenges head on and deliver better products than anyone else.Style and approachThis book isn’t just an instruction manual. It doesn’t just tell you what to do – it shows you. Featuring three sample projects, it’s been created so you can get started with Ionic immediately.
目录展开

Ionic Framework By Example

Table of Contents

Ionic Framework By Example

Credits

About the Author

Acknowledgments

About the Reviewer

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. First Look at Ionic

The beginning

The problem

Apache Cordova

Early hybrid apps

What is Ionic?

Short history of Ionic

Features of Ionic

CSS features

JavaScript features

The Ionic CLI

Setting up Ionic

Summary

2. To-Do List App

Creating our first application

Creating our to-do list app

The Ionic workflow

In-depth look at our project

Envisioning our app

Building our todo app

Creating the UI

The code

Wiring things up

Summary

3. Running Ionic Apps

Running our todo app

The ionic serve technique

Emulating with Chrome

Ionic serve labs

The Ionic view

Testing todo app with the Ionic view

Device

Android

iOS

Summary

4. Ionic Components

Creating a new to-do list application

Overview of the Bucket-List app

Breaking down the app

Designing the UI

Implementing the input box

Implementing the ion-list application

Using ion-list for our Bucket-List app

The ion-list component

ion-item

ion-option-button

Writing the Angular code for our Bucket-List app

Coding our input box

Creating the controller

Creating the input box model

Creating an array for the Bucket-List items

Implementing code for the Add button

Implementing the Delete button

Wire it all up

Binding the controller

Binding the input box model

Wiring up the Add button

Binding ion-item

Using ng-repeat to render the list

Wiring up the ion-option-button element

Testing our Bucket-List app

Summary

5. The London Tourist App

Introduction to the London Tourist App

Creating the London Tourist app

The side menu app design

Using the Ionic side menu template

Seeing the LTA side menu app in action

Exploring the LTA side menu app's code

The index.html file

The menu.html file

The <ion-side-menus>element

The <ion-side-menu-content>element

The <ion-side-menu>element

Developing the LTA application

The local JSON database

Creating the local JSON database file

Populating the JSON file

Designing the view

Wiring up the data

Retrieving the data with the $http service

Summary

6. Advanced Ionic Components

The Ionic Popover

Implementing the popover

Adding the menu button

Coding the popover

Adding the $ionicPopover service

Finishing the popover code

Creating the popover.html file

Wiring up the popover

The Ionic Modal

Creating the modal

Implementing the modal

Creating the modal.html file

Wiring up the modal

Summary

7. Customizing the App

Customizing the look and feel of your app

Ionic styles with SASS

Ionic SCSS overview

The ionic.app.scss file

Setting up SCSS

Customizing the SCSS

$ionicConfigProvider

Summary

8. Building a Simple Social App

The Ionic tabs application

Creating an Ionic tabs application

Running the tabs-app application

Overview of the tabs-app application

Overview of the tabs.html file

The <ion-tab> element

Adding tabs to the tabs-app application

Adding the state for the new tab

Creating the tab-wall.html file

Creating the WallController controller

Creating the tab

Summary

9. Connecting to Firebase

Extending our tabs-app Ionic app

Implementing the post wall feature

The backend challenge

Firebase

Setting up a new Firebase account

Integrate Firebase into tabs-app application

Adding Firebase and Angular-Fire scripts

Implementing Firebase to our app

Pulling from database

Adding to database

Summary

10. Roundup

Uncovered features of Ionic

Appcamp.IO

The Ionic documentation

The Ionic creator

The Ionic code pen

Ionic.IO

The Ionic playground

The Ionic community

Useful resources

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部