Telerik is doubling down on its cross-platform frameworks, announcing NativeScript: a new offering dedicated to native mobile development.
Telerik product line manager and developer Valentin Stoychev revealed NativeScript in a recent blog post, explaining the goal of providing code reuse across platforms, as well as a framework for developers to build and publish native apps with native UX on Android, iOS and universal Windows apps. The application’s UI stack is built on the native platform rendering and layout engine, using native UI components.
(Related: Native vs. Web: The debate continues)
“There is no physical VM we have to compile and build that sits between NativeScript and the actual native app,” Satrom said. “As a result, when iOS 8 ships, you don’t have to wait on Telerik to give you the iOS-compatible version. You don’t have to wait for us to come and build a new version for iOS 8. It’s already future-proofed.”
A tale of two frameworks
The big question surrounding NativeScript (since Telerik already has Kendo UI) is what do developers need another cross-platform framework for?
According to Satrom, it’s about options. Development teams may need access to device APIs to build a hybrid mobile app. They may prefer a native approach to a mobile Web application.
“We’re not supremely invested in who wins the hybrid versus native debate because the right answer depends on the app you’re trying to build,” Satrom said. “When a developer comes to the table, they’re going to have questions about the skill sets of their team, the type of app they’re looking to build, who the ultimate consumers of the app are, the timeline, the budget, everything. That leads you down a path of preferring one approach to the other. In order to truly serve that entire spectrum of needs in context, we felt we needed to have something like NativeScript.”
Kendo UI and NativeScript occupy separate development spaces, but that doesn’t necessarily mean they can’t be used in tandem. Telerik is exploring scenarios where developers could theoretically load an Android or iOS WebView in a NativeScript app and then use Kendo UI inside the WebView.
“Certain apps are considered ‘native’ because they use native navigation, but the actual content inside of the app is hybrid,” Satrom explained. “It’s actually a Web page loaded inside a Web view. Really just the shell is native; the nav, the transition, but the core content is pulled via another Web experience and then loaded up onto the device. We’ll probably build some sample apps and scenarios around this where you could combine both.”
Where NativeScript is going
At the moment, NativeScript is still in private beta, with a list of 500 developers being whittled down by the company for invites to it. Over the next several months, those invited will start creating NativeScript apps and provide feedback to help shape the API.
“We’re hoping to help get the community involved,” Satrom said. “We want this to be something that anyone can use regardless of the app they’re building. We want to give people the ability to remix, experiment and try out new things without having to be inside of our walled garden.”
Others designs on the framework’s future include a possible XML-flavored syntax for expressing screen layout, and a CSS variant to style native applications, but Telerik’s road map for NativeScript leads right from open source to a public beta, all leading up to the planned release of NativeScript 1.0 in early 2015.