Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds


Free Preview: Code a Mobile App With NativeScript


  • Overview
  • Transcript

NativeScript is a framework for building cross-platform native mobile apps. It allows developers to use JavaScript, TypeScript or Angular to build apps for iOS and Android. Unlike Cordova, which uses WebView for rendering the UI of the app, NativeScript uses the native platform's rendering engine and accesses the native APIs, so that it provides a truly native user experience.

In this course, Keyvan Kasaei will introduce you to NativeScript and show you step by step how to build a simple application. Along the way you'll learn how to implement a simple app workflow with network requests, an MVVM architecture, and some of the most important NativeScript UI components. By the end, you'll understand why you should consider NativeScript for your next mobile app project.

Strengthen your knowledge of NativeScript in our course Get Started With NativeScript and Mobile Angular 2.

We've also built comprehensive guides to help you learn JavaScript and Angular 2, whether you're just getting started or you want to explore more advanced topics.

1. Introduction

1.1 Introduction

Are you trying to build a mobile application for your startup? Are you a consultant offering professional technical services to your clients? Or simply you are interested in Native Mobile application development with technologies that you're already familiar with. Well, welcome to this tuts+ course, introduction to NativeScript. NativeScript is an open source framework for building mobile applications for iOS and Android. It allows you to use JavaScript technologies for development. Unlike solutions like Apache, Cordova, or Ionic, it doesn't use WebView for rendering the UI of the app. Rather, it uses native components and accesses native APIs directly to provide a truly firsthand user experience. In this course, we are going to take a look at NativeScript. At the end of the course, you should have a pretty good idea of what NativeScript is, and why you might want to try it for your next app project.

1.2 Why Use NativeScript?

NativeScript is an open source project hosted on GitHub. It is under Apache 2.0 license. Which means you can develop it and contribute to the code base. NativeScript allows you to build native applications for iOS and Android with UI components you find in the native SDK. The overall user experience of NativeScript is significantly richer than other solutions. NativeScript uses JavaScript to access Native platform APIs. This simply means, you don't need to know Java, objective C, or Swift. And one code base can handle both SDKs. Also NativeScript is written in TypeScript which is superset of JavaScript. And transfers ES2015 to plain JavaScript. It has futures like a static time checking assuming we're to C# or Java, and also class based object oriented programming of style. And finally, NativeScript strongly supports Angular 2. And it can leverage the cover of Angular 2 and typo script in your apps. NPM is no JSs package manager. And is used in NativeScript to handle dependency management. Most of the popular libraries found on NPM can be used within your NativeScript applications. Learning to develop mobile applications isn't an easy task, and it is sometimes discouraging for developers to experience it. But the good news is NativeScript's documentation is very well written and maintained. It has many useful samples and tutorials that can get you started. NativeScript has an active community of developers supporting the project. But Telerik, the company behind the project, offers enterprise support as well. You can always find your answers through Stack Overflow, Telerik forums, YouTube, as well as other mediums like Slack.