This trend towards cross-platform development can be seen in other languages as well. For example, Apple has open-sourced Swift, thus opening doors for independent developers who could bring the language to other platforms and use it beyond Apple’s closed ecosystem.
<Button text="Make Waffles" tap="makeWaffles" />
We’ve just created a button UI element. What is remarkable here is that this code will compile to a UIButton object in iOS and an android.widget.Button on Android. These are true native controls, not re-implementations and not running in a WebView. Plus the support for these native controls is comprehensive. The team behind NativeScript has been fanatical about maintaining parity with the underlying native APIs.
NativeScript also plans to support the AngularJS framework out-of-the-box (currently in beta). Not only will we share code between web and mobile projects, but porting an existing web app to a truly native experience will become a lot less expensive.
A core mission at Convective is to help our clients select the most suitable technology for their project. If we can help with yours please contact us!