Creating Mobile Native Apps in JavaScript with NativeScript

added by JavaScript Kicks
3/6/2015 5:59:37 PM


Telerik has opened for public access NativeScript, a framework for creating native cross-platform applications for Android, iOS and Windows Universal. NativeScript is not a new JavaScript flavor nor a wrapper around native functionality, but it includes a JavaScript runtime and a mechanism to translate JavaScript calls to native ones. Applications are written in JavaScript (or TypeScript, CoffeeScript, etc.) and they are interpreted by V8 on Android and by WebKit JavaScriptCore on iOS and Windows Phone. After that, the NativeScript runtime discovers the native API that is targeted, converts the JS data types to corresponding native types, and calls native APIs, returning whatever values are coming from them, as shown in the following diagram: