From web to mobile with NativeScript and Angular
summary
NativeScript plus Angular actually runs the same business logic on web Android and iOS by compiling platform metadata and using proxy marshalling to call native APIs from JavaScript. The workflow uses the Angular CLI command ng add to generate TNS files, separate app modules for browser and native, and optional shared services. A live demo builds and runs; caveats include marshalling overhead on heavy I/O and layout-measure hotspots sometimes rewritten in Java or Objective‑C to regain performance.
AI-written summary · about
chapters (10)
- 0:00Start
- 3:18The NativeScript Bridges
- 4:25Native API access in 4 steps
- 4:52JavaScript Virtual Machine
- 6:56Marshalling service
- 13:18ng-rev to the rescuel
- 15:46Sharing Code 101
- 16:022 apps -3 projects
- 16:13xplat
- 23:06MAGIC Angular CLI
related talks
27mFrom Web to Mobile with NativeScript and Angular
49mBuilding mobile apps with Angular2 and NativeScript
24mAdd Native Mobile to Your Angular Projects: The Migration Story
20mBuilding Mobile Apps with Angular and NativeScript
21mAdd Native Mobile to Your Angular Projects: The Migration Story
28mAdd Native Mobile to Your Angular Projects: The Migration Story
27mSharing Code Between Web and Mobile Native Apps
36mSharing Code Between Web and Native Apps
