By using NativeScript developer can write the application code once and build a native application for iOS, Android and Windows Universal. We aim for more than 90% code sharing and reuse which includes:
User Interface - use NativeScript class libraries to produce native user interface. Developer can use the native platform UI capabilities or add 3rd party libraries which are available to be consumed out of the box (no need for wrappers or anything else - just include the libraries in the project).
UI abstractions - available will be full UI abstraction to build application UI code. All the UI code is shared code. you do not need to have prior Android, iOS and Windows knowledge. Our abstraction includes the following components
UI components abstraction
Layout abstractions - linear/stack panel, grid panel, canvas layout and more.
XML-based UI declaration
MVC-esque framework including bindings support
No Mac machine required to build for iOS - we have our remote compilation for iOS for all of you who are using Windows machines. No need to buy a Mac machine to build iOS apps.
No need to install and manage many 3rd party SDK - its all in one package. No need to install Android SDK, iOS SDK, Windows SDK and many other tools that are needed along them to start developing. Just install our tooling and it is all out of the box - as simple as that.
There are two technical articles describing how NativeScript works:
NativeScript – a Technical Overview http://developer.telerik.com/featured/nativescript-a-technical-overview
On NativeScript for Android http://developer.telerik.com/featured/nativescript-android/
You can also check the API reference:
While both frameworks are created to solve the problem with cross-platform mobile application development, from technical perspective there are significant difference between them. PhoneGap framework is using the browser's layout and rendering engine to display the UI of the application. NativeScript is using the native platform default rendering and layout engine to display the UI of the application. This means that the applications using NativeScript framework are exposing exactly the same UX as natively written applications.
The other major difference is that with PhoneGap model you need to write a plugin to access the native capabilities of the platform, while with NativeScript the native APIs are available out of the box.
Progress is supporting these both approaches to mobile app development. We believe that these two approaches have their advantages for specific app scenarios.
While these frameworks serve the same goal - writing cross-platform mobile applications, NativeScript have several key advantages:
When using NativeScript you can use any native 3rd party libraries out of the box. There is no need for wrappers or any other actions are required. This is not the case in neither Appcelerator or Xamarin.
When using NativeScript the new additions to the native platform are available immediately. This is not the case in neither Xamarin or Appcelerator, where there are technical limitations and wrappers needs to be created when new native platform features are added.
Shared UI across platforms - this is currently not supported in Xamarin and has significant productivity value when building medium and large mobile applications targeting more than one OS. See our roadmap for our plan in this regard.
When you use NativeScript inside Telerik AppBuilder you get these additional benefits:
LiveSync support for huge debug productivity boost when used inside AppBuilder.
No need to buy a Mac machine to build applications for iOS. You can use the cloud builds feature and deploy directly on an iOS device from your Windows machine.
App store deployment from inside AppBuilder.
It is absolutely possible to use NativeScript framework without using the Telerik Platform. NativeSCript do not have any dependencies to Telerik Platform.
If you are not familiar with the AppBuilder integrated cloud environment please start by reading this article. You can use the AppBuilder environment directly from the browser or from Visual Studio.
Yes, both iOS and Android native libraries can be used as part of a NativeScript application. The recommended way is creating a plugin.
Here is the full list of currently supported features that you will get from Telerik Platform.
In-app client components and building blocks
Telerik Native UI controls
Data visualization components
Offline data storage and sync
Cloud Backend Services
Integration with existing databases
On Premise installation
Cloud Data Storage
Cloud File Storage
Company App Store distribution