Book description
Learn NativeScript to build native mobile applications with Angular, TypeScript, JavaScript
About This Book
- Power packed hands-on guide to help you become pro-efficient with NativeScript
- Harness the power of your web development skills with JavaScript and Angular to build cross-platform mobile apps
- Create highly maintainable and feature-rich apps with TypeScript and NativeScript APIs
Who This Book Is For
This book assumes you have a general understanding of TypeScript, have heard of NativeScript and know what it's about, and are familiar with Angular (2.0). You don't need to be an expert in any of these technologies, but having some sense of them before reading is recommended this book, which is ideal for intermediate to advanced users.
What You Will Learn
- Bootstrap a NativeScript for Angular app
- Best practices for project organization
- Style your app with CSS/SASS
- Use Angular together with NativeScript to create cross-platform mobile apps
- Take advantage of powerful Angular features, such as Dependency Injection, Components, Directives, Pipes, and NgModules right within your NativeScript apps
- Gain insight into great project organization and best practices
- Use Objective C/Swift and Java APIs directly from TypeScript
- Use rich framework features and third-party plugins
- Style your app with CSS/SASS
- Integrate @ngrx/store + @ngrx/effects to help with state management
- Test your app with Karma and Appium
In Detail
NativeScript is an open source framework that is built by Progress in order to build truly native mobile apps with TypeScript, JavaScript or just Angular which is an open source framework built by Google that offers declarative templates, dependency injection, and fully featured modules to build rich applications. Angular's versatile view handling architecture allows your views to be rendered as highly performant UI components native to iOS and Android mobile platforms. This decoupling of the view rendering layer in Angular combined with the power of native APIs with NativeScript have together created the powerful and exciting technology stack of NativeScript for Angular.
This book focuses on the key concepts that you will need to know to build a NativeScript for Angular mobile app for iOS and Android. We'll build a fun multitrack recording studio app, touching on powerful key concepts from both technologies that you may need to know when you start building an app of your own. The structure of the book takes the reader from a void to a deployed app on both the App Store and Google Play, serving as a reference guide and valuable tips/tricks handbook.
By the end of this book, you'll know majority of key concepts needed to build a successful NativeScript for Angular app.
Publisher resources
Table of contents
- Preface
- Get Into Shape with @NgModule
- Feature Modules
- Our First View via Component Building
- A prettier view with CSS
- Routing and Lazy Loading
- Running the App on iOS and Android
- Building the Multitrack Player
-
Building an Audio Recorder
-
Phase 1 – Building an audio recorder for iOS
- Challenge detour – Integrate Swift based library into NativeScript
- Setting up native API type checking and generate AudioKit TypeScript definitions
- Build recorder with AudioKit
- Building custom reusable NativeScript view for native audio Waveform display
- Integrate a custom NativeScript view into our Angular app
- Creating the Recorder View layout
- Phase 2 – Building an audio recorder for Android
- Summary
-
Phase 1 – Building an audio recorder for iOS
- Empowering Your Views
- @ngrx/store + @ngrx/effects for State Management
- Polish with SASS
- Unit Testing
- Integration Testing with Appium
- Deployment Preparation with webpack Bundling
- Deploying to the Apple App Store
- Deploying to Google Play
Product information
- Title: NativeScript for Angular Mobile Development
- Author(s):
- Release date: August 2017
- Publisher(s): Packt Publishing
- ISBN: 9781787125766
You might also like
book
Angular 5 Projects: Learn to Build Single Page Web Applications Using 70+ Projects
Learn to build single page web apps using Angular 5 and TypeScript by working through 70+ …
book
Building Large-Scale Web Applications with Angular
A definitive guide on frontend development with Angular from design to deployment Key Features Develop web …
book
Accelerating Angular Development with Ivy
Get a comprehensive introduction to the major Angular framework rewrite known as Angular Ivy Key Features …
book
Why Angular for Enterprise Development
Enterprises looking to build robust, reliable, and performant applications are increasingly turning to Angular, a cross-platform …