NativeScript
This article, NativeScript, has recently been created via the Articles for creation process. Please check to see if the reviewer has accidentally left this template after accepting the draft and take appropriate action as necessary.
Reviewer tools: Inform author |
Original author(s) | Telerik AD |
---|---|
Developer(s) | Telerikand community |
Initial release | 2014 |
Stable release | 1.7
/ March 18, 2016 |
Repository | |
Written in | JavaScript |
Platform | Cross-platform |
License | Apache_License |
Website | www |
NativeScript is an open-source JavaScript library providing a cross-platform mobile application development where the application code interacts directly with native platform APIs and controls. NativeScript applications can be written in JavaScript, TypeScript or Angular.[1] NativeScript applications are styled with a subset of CSS specific to the needs of the NativeScript UI layer.
It is maintained by Telerik and a community of individual developers and corporations.
Notable features
Direct access to native platform APIs and Controls
While application source code is written in JavaScript, TypeScript or Angular, the source code is not compiled or otherwise mutated. The source code as is runs directly on the device. This architectural choice eliminates the need for cross-compiling or transpiling. Additionally, while the application source code is written in languages commonly encountered in a browser, or in a WebView contained mobile application, NativeScript applications run directly on the native device. There is no DOM manipulation or any mandatory browser interaction.[2]
Native API Reflection (A.K.A 0-Day Access)
Another notable feature is the use of reflection to handle native API end points. Rather than require separate binding layers between NativeScript and each mobile platform API, NativeScript uses reflection to gain information and metadata about the native platform APIs. New features added to any native platform API are available immediately.[3] http://sdtimes.com/sd-times-github-project-of-the-week-nativescript/ Another way the reflection feature is used is in working with 3rd party libraries. As JavaScript (or TypeScript/Angular) can talk directly to native code, there is no need to write binding layers in Objective-C, Swift or Java.
References
- ^ http://sdtimes.com/sd-times-github-project-of-the-week-nativescript/
- ^ http://www.infoworld.com/article/2893706/mobile-development/javascript-native-ios-android-and-windows-phone-apps.html
- ^ http://www.infoworld.com/article/2893706/mobile-development/javascript-native-ios-android-and-windows-phone-apps
External links
- List of NativeScript resources – NativeScript Resources
- NativeScript GitHub Project of the Week
- NativeScript on Github GitHub NativeScript