What exactly is NativeScript?
There are quite a few reasons to use cross-platform or hybrid frameworks. For starters, it’s easier to maintain a single code base. Also, existing developer skills can be leveraged to develop apps. Quite a few hybrid frameworks are available for developers. The majority of those are based on Apache Cordova or WebView-based. Then there is C# based Xamarin which is a cross-compiled framework. NativeScript is one such platform.
It currently supports the following stacks:
Why you need NativeScriptNative Performance
Beautiful, accessible, platform-native UI — without WebViews. Define once and let NativeScript adapt to run everywhere, or tailor the UI to specific devices and screens.
With NativeScript, you have 100% direct access to all iOS and Android APIs. You can easily reuse CocoaPods and Android SDKs, plus find free plugins, templates, and application samples on the Marketplace.
Easy to learn
Write and deploy native mobile apps for iOS and Android from a single codebase. Use Angular or Vue to share existing web-based code.
NativeScript is surrounded by an enthusiastic and vibrant community. Decisions and direction for the framework come directly from day-to-day real world projects.
Free and Open Source
NativeScript is 100% free and open source, Apache 2 licensed.
Step #1: NativeScript Playground
NativeScript Playground is a browser-based environment for getting started with NativeScript fast. Playground offers a set of comprehensive tutorials that walk you through building a real-world iOS and Android app from scratch.
Once you have the basics of NativeScript down in Playground, you need to set up a local development environment that lets you build and test your apps locally. To do that you’ll want to go through our documentation on installing the NativeScript command-line interface.
Now that you have the NativeScript CLI installed, you’ll want to learn the basics of how the CLI works, including how to run, build, and debug your apps.
Regardless of what you choose to do next with NativeScript, joining the NativeScript community is a great way to keep up with the latest and greatest in the NativeScript world. Here are some ways you can get involved:
- Follow @nativescript on Twitter for updates on all things NativeScript.
- Sign up for the NativeScript newsletter. The newsletter will deliver NativeScript articles, news, plugin updates, and more straight to your inbox.
- Join the NativeScript Community Slack. The community Slack is a great place to chat with others in the NativeScript community.
- Bookmark the NativeScript tag on Stack Overflow, as it’s a great place to ask questions when you need help.
- Consider contributing to the NativeScript repository on Github. Fixing a bug or adding to the documentation is always welcome and very appreciated.
This was a brief overview of the framework. I would suggest you to take NativeScript for a spin using Playground.