
NativeScript for Angular Mobile Development
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
All prices
More details
Persons
Nathanael J. Anderson has been developing software for over 20 years in a wide range of industries including games, time management, imaging, service, printing, accounting, land management, security, the web, and even, believe it or not, some successful government projects. He is currently the owner of Master Technology, co-founder of nStudio, LLC, and can create a solution for any type of application (native, web, mobile and hybrid) running on any operating system. As a senior devops engineer he can work, tune, and secure everything from your backend servers to the final destination of the data on your desktop or mobile devices. By understanding the entire infrastructure, including real or virtualized hardware; he can totally eliminate many different types of issue between all parts of the framework. He currently runs the entire NativeScript.rocks family of sites, has multiple highly rated cross-platform plugins for NativeScript and works heavily in the NativeScript community.Walker Nathan :
Nathan Walker has enjoyed the opportunity to work in the web/mobile app development arena for more than 15 years. He cofounded nStudio LLC, a professional software development services and consulting company specializing in Angular and NativeScript integrations, while also working with Tryon Creek Software based out of Portland, OR. His varied background rooted in the world of design and arts provides him with a unique approach to problem solving. Spending several years working across multiple industries, including entertainment, audio/video production, manufacturing, b2b marketing, communications, and technology, helped establish an attitude that is focused on client needs.
Content
- Cover
- Title Page
- Copyright
- Credits
- Foreword
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Get Into Shape with @NgModule
- Mental preparation
- The sketch exercise
- Low-level thinking
- Modularize with @NgModule
- Our app's module breakdown
- The module benefits
- Considerations?
- Getting started
- Create our module shells
- Injectable services
- Consistency and standards
- Finalizing CoreModule
- Summary
- Chapter 2: Feature Modules
- Player and recorder modules
- A shared model for our data
- Scaffolding out the service APIs
- Implementing LogService
- Implementing DatabaseService
- Create AuthService to help handle the authenticated state of our app
- Prepare to bootstrap the AppModule
- Summary
- Chapter 3: Our First View via Component Building
- Our first view via component building
- All about the GridLayout
- Back to our layout
- Building TrackList component
- Building a dialog wrapper service to prompt the user
- Integrating DialogService into our component
- Creating an Angular Pipe - OrderBy
- Building PlayerControls component
- Quick preview
- Preview on iOS
- Preview on Android
- Summary
- Chapter 4: A prettier view with CSS
- It's time to get classy
- Meet the NativeScript core theme
- Adjusting the status bar background color and text color on iOS and Android
- Summary
- Chapter 5: Routing and Lazy Loading
- Get your kicks on Route 66
- Providing NSModuleFactoryLoader for NgModuleFactoryLoader
- Creating MixerModule
- Understanding Angular's Dependency Injector when lazy loading modules
- Creating AuthGuard for RecorderModule
- Handling late feature requirements - managing compositions
- Summary
- Chapter 6: Running the App on iOS and Android
- Taking command.
- tns run &platform&
- tns debug &platform&
- tns build &platform&
- Android Keystores
- Creating a new keystore
- Android Google Play Fingerprints
- Back in command
- The tns plugin command
- The tns install &dev_plugin& command
- The tns create &project_name& command
- The tns info command
- The tns platform [add|remove|clean|upgrade] &platform& command
- The tns test &platform& command
- The tns device command
- The tns doctor command
- The tns help command
- TNS command-line cheatsheet
- Summary
- Chapter 7: Building the Multitrack Player
- Implementing our multitrack player via the nativescript-audio plugin
- Building the TrackPlayerModel for our multitrack player
- Let the music play!
- Polishing the implementation
- Using NativeScript's strengths by tapping directly into the native API of the underlying iOS AVAudioPlayer instance from the nativescript-audio plugin
- Creating a custom ShuttleSliderComponent
- Creating SlimSliderDirective for iOS and Android native API modifications
- Summary
- Chapter 8: Building an Audio Recorder
- Phase 1 - Building an audio recorder for iOS
- Challenge detour - Integrate Swift based library into NativeScript
- Integrating a custom-built iOS framework into NativeScript
- Setting up native API type checking and generate AudioKit TypeScript definitions
- Build recorder with AudioKit
- How to convert Swift/ObjC methods to NativeScript
- Building custom reusable NativeScript view for native audio Waveform display
- Integrate a custom NativeScript view into our Angular app
- Creating the Recorder View layout
- Finishing implementation with RecorderService
- Phase 2 - Building an audio recorder for Android
- Using nativescript-audio's TNSRecorder for Android in our RecordModel
- Summary
- Chapter 9: Empowering Your Views
- Multiple item templates with NativeScript's ListView
- Serializing data for persistence and hydrating it back upon retrieval
- Leveraging Angular directives to enrich the NativeScript Slider with more unique characteristics
- Graphic and resource handling for Android
- Summary
- Chapter 10: @ngrx/store + @ngrx/effects for State Management
- Understanding Redux and integrating @ngrx/store
- What is @ngrx/store?
- Designing the state model
- Installing and integrating @ngrx/store
- Providing the initial app state excluding any lazily loaded module state
- Installing and integrating @ngrx/effects
- Providing lazily loaded feature module state
- Inspect the code! Exploring more on your own
- Summary
- Chapter 11: Polish with SASS
- Polishing with SASS
- Using font icons with the nativescript-ngx-fonticon plugin
- Finishing touches
- Summary
- Chapter 12: Unit Testing
- Unit testing
- Angular testing
- Running the tests
- Unexpected test failure
- Why did it fail?
- Test passes
- NativeScript testing framework
- Running the tests
- Summary
- Chapter 13: Integration Testing with Appium
- Integration testing
- Configuration
- Creating a test
- More Appium testing
- Automated testing
- GitHub and Travis integration
- Summary
- Chapter 14: Deployment Preparation with webpack Bundling
- Using webpack to bundle the app
- Preparing to use webpack
- Solution #1: Unexpected value 'SlimSliderDirective...'
- Solution #2: Cannot determine the module for class SlimSliderDirective...
- Solution #3: Error encountered resolving symbol values statically
- Solution #4 and #5: Can't resolve './app.css'
- Detour - Overview of developing a webpack plugin
- Summary
- Chapter 15: Deploying to the Apple App Store
- Preparing for App Store distribution
- App ID, certificates, and profiles
- Configure the app metadata such as App ID and Display Name
- App ID
- Display name
- Create your app icons and splash screens
- Build the app for release
- Upload to iTunes Connect
- Uploading your .ipa file
- Summary
- Chapter 16: Deploying to Google Play
- Building an APK for Google Play
- Uploading to Google Play
- APK
- Summary
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.