Paul Krill
Editor at Large

NativeScript warms up to AngularJS for mobile dev

news
May 6, 20162 mins

The platform for JavaScript and TypeScript development of iOS and Android apps integrates with the upcoming AngularJS 2

NativeScript, Telerik’s open source platform for building native cross-platform mobile applications, has moved to a 2.0 release this week, highlighted by integration with the planned AngularJS 2 Web development framework.

NativeScript leverages both JavaScript and TypeScript and uses native components and direct access to native APIs for iOS and Android development. “NativeScript 2.0 [offers] the ability for the Angular community to reuse their Angular 2 code base or at least standardize on Angular 2 for both Web and mobile,” Dan Wilson, ‎product marketing manager for Telerik, said.

Version 2 of AngularJS, or Angular, is a rewrite of the framework that went into a release candidate stage this week. Integration between Angular 2 and NativeScript is being offered via a public beta.

NativeScript 2.0 also includes an experimental feature to make Android applications load much faster, and performance boosts are on the way. “The next major feature in terms of performance will be to allow background execution for tasks that do not belong on the main UI thread,” said Valio Stoychev, NativeScript product manager. “This will help in certain scenarios like image decoding or doing complex calculations using JavaScript only.

During the past year, NativeScript has added support for third-party libraries in iOS and Android, including native repositories like Maven, and support for npm.js plug-ins. Richer backing for CSS and Visual Studio Code support also have been added. Security and code encryption capabilities were shipped in March to select customers, and Windows Runtime capabilities were previewed in March.

The road map for NativeScript involves extending Windows support, and multi-threading and developer improvements are in the works as well. “We will be introducing significant improvements in the performance of our hot reload functionality, allowing you to preview the changes in code in less than a second on the device,” said Stoychev.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author