TIENE EN SU CESTA DE LA COMPRA
en total 0,00 €
Ionic in Action teaches web developers how to build cross-platform mobile apps for phones and tablets on iOS and Android. You´ll learn how to extend your web development skills to build apps that are indistinguishable from native iOS or Android projects.
About the book
Wouldn´t it be great if you could build mobile apps using just your web development skills? With Ionic, you can do just that: create hybrid mobile apps using web technologies that you already know, like HTML, CSS, and JavaScript, that will run on both iOS and Android.
Ionic in Action teaches web developers how to build mobile apps using Ionic and AngularJS. Through carefully explained examples, the book shows you how to create apps that use UI components designed for mobile, leverage current location, integrate with native device features like the camera, use touch gestures, and integrate with external data sources. Learn to test your apps to improve stability and catch errors as you develop. Finally, you´ll discover the command-line utility, and how to build and deploy to app stores.
What´s inside
Create mobile apps with HTML, JavaScript, and CSS
Design complex interfaces with Ionic´s UI controls
Build once and deploy for iOS and Android
Use native device hardware and device-specific features
Covers the entire mobile development process
TABLE OF CONTENTS
FOREWORD
PREFACE
ACKNOWLEDGMENTS
ABOUT THIS BOOK
AUTHOR ONLINE
ABOUT THE COVER ILLUSTRATION
PART 1 GETTING STARTED WITH IONIC
1. INTRODUCING IONIC AND HYBRID APPS
1.1. What is Ionic?
1.2. Types of mobile experiences
1.2.1. Native mobile apps
1.2.2. Mobile websites (web apps)
1.2.3. Hybrid apps
1.3. Understanding how the Ionic stack works
1.3.1. Ionic: user interface framework
1.3.2. Angular: web application framework
1.3.3. Cordova: hybrid app framework
1.4. Why Ionic?
1.4.1. Why Ionic is good for developers
1.4.2. Drawbacks of using Ionic
1.5. Prerequisites for building apps with Ionic
1.5.1. Experience with HTML, CSS, and JavaScript
1.5.2. Experience with web applications and Angular
1.5.3. Access to a mobile device
1.6. Supported mobile devices and platforms
1.6.1. Apple iOS
1.6.2. Google Android
1.7. Summary
2. SETTING UP YOUR COMPUTER TO BUILD APPS
2.1. Quick-start guide
2.1.1. Setting up your development environment
2.1.2. Starting a new project
2.1.3. Project folder structure
2.1.4. Previewing in a browser
2.2. Setting up previewing environments
2.2.1. Installing platform tools
2.2.2. Setting up emulators
2.2.3. Setting up a connected device
2.2.4. Adding a platform to the
2.2.5. Previewing in an emulator
2.2.6. Previewing on a mobile device
2.3. Summary
3. WHAT YOU NEED TO KNOW ABOUT ANGULARJS
3.1. AngularJS at a glance
3.1.1. Views and templates: describing the content
3.1.2. Controllers, models, and scope: managing data and logic
3.1.3. Services: reusable objects with methods
3.1.4. Two-way data binding: sharing between controller and view
3.2. Setting up for the chapter project
3.2.1. Getting the project files
3.2.2. Starting the development server
3.3. Basics for an Angular app
3.4. Controllers: for controlling data and business logic
3.5. Loading data: using the controller to load and display data in the view
3.5.1. Filters: convert data to display in the view
3.6. Handling click events to select a note
3.7. Create a directive to parse a note with Markdown
3.8. Using models to manage content editing
3.9. Saving and deleting a note
3.9.1. Adding the save() method
3.9.2. Using Angular forms for validation
3.9.3. Adding the remove method
3.10. Continuing with Angular
3.11. Chapter challenges
3.12. Summary
PART 2 BUILDING APPS WITH IONIC
4. IONIC NAVIGATION AND CORE COMPONENTS
4.1. Set up chapter project
4.1.1. Create a new app and add code manually
4.1.2. Clone the finished app and follow along
4.2. Setting up the app navigation
4.2.1. Designing good app navigation
4.2.2. Declaring the app views with the state provider
4.3. Building the home view
4.3.1. Creating a content container
4.3.2. Using CSS components and adding a simple list of links
4.3.3. Adding icons to the list items
4.4. Using a controller and model for the reservation view
4.5. Loading data into the weather view
4.5.1. Adding the template for the weather view
4.5.2. Create weather controller to load external data
4.5.3. Adding a loading indicator to the weather view
4.6. Infinite scroll with cards for the restaurants view
4.7. Using the slidebox component for app intro tour
4.8. Chapter challenges
4.9. Summary
5. TABS, ADVANCED LISTS, AND FORM COMPONENTS
5.1. Set up chapter project
5.1.1. Create a new app and add code manually
5.1.2. Clone the finished app and follow along
5.2. ionTabs: adding tabs and navigation
5.2.1. Adding tabs container and three tabs to the app
5.3. Adding ionNavView for each tab
5.4. Loading and displaying current Bitcoin rates
5.5. Display a currency's details in the same tab view
5.6. Refresh the Bitcoin rates and display help
5.6.1. ionRefresher: pull to refresh the rates
5.6.2. $ionicPopover: showing help in a popover
5.7. Charting historical data
5.7.1. Setting up third-party libraries
5.7.2. History tab template using Highcharts and a select box to toggle currency
5.7.3. History tab controller loads data and sets up chart
5.8. Currencies tab with list reordering and toggles
5.8.1. ionReorderButton: adding reordering to a list
5.8.2. ionToggle: adding toggles to list items
5.9. Chapter challenges
5.10. Summary
6. WEATHER APP, USING SIDE MENUS, MODALS, ACTION SHEETS, AND IONSCROLL
6.1. Setting up the chapter project
6.1.1. Create a new app and add code manually
6.1.2. Clone the finished app and follow along
6.2. Setting up the side menu and views
6.3. Searching for locations
6.4. Adding settings view and data services
6.4.1. Create services for locations and settings
6.4.2. favorites in side menu list
6.4.3. Adding the settings template
6.4.4. Settings view controller
6.5. Setting up the weather view
6.5.1. Get a Forecast.io API key
6.5.2. Using Ionic CLI proxies
6.5.3. Add the weather view controller and template
6.6. ionScroll: building custom scrolling content
6.6.1. Using ionScroll with paging
6.6.2. Creating filters for forecast data
6.7. Action sheet: displaying a list of options
6.8. ionModal: displaying the sunrise and sunset chart
6.8.1. Setting up a modal
6.8.2. Collection repeat: making the sunrise and sunset list fast
6.9. Popup: alert and confirm changes to favorites
6.10. Chapter challenges
6.11. Summary
7. ADVANCED TECHNIQUES FOR PROFESSIONAL APPS
7.1. Set up chapter project
7.1.1. Get the code
7.2. Custom Ionic styling using Sass
7.2.1. Setting up Sass
7.2.2. Customize Ionic with Sass variables
7.2.3. Using Sass for your own styling
7.3. How to support online and offline mode
7.4. Handling gesture events in Ionic
7.4.1. Listen for events with Ionic event directives
7.4