Live data from Hacker News

Nativescript: Build truly native apps with JavaScript

nativescript.org

41–50 of 71 posts

Re: Nativescript: Build truly native apps with JavaScript

#41
post #9

Do they have a showcase where the same app is implemented on both iOS and Android?

I don't think so, but I'll second a request for that! I think it would be good to have on the Showcases page.

Here are some examples that have some UI widgets in common, like list elements/navigation, but they are clearly different apps so it's not blatantly obvious which differences are based only on the platform:

https://www.nativescript.org/showcases

Re: Nativescript: Build truly native apps with JavaScript

#42
post #30

Is it actually "native" if it is a JS interpreter passing calls into the runtime? Yes, it is native widgets and UI, but the "brains" of the operation are seemingly outside. PS - I have no idea what I'm talking about.

If is not 1's and 0's is not native for the CPU so why downplay the intelligent attempt to empower humans with easier scripted interfaces?

Yes, I called language an interface. And most suck.

Re: Nativescript: Build truly native apps with JavaScript

#43
post #14

I tried out their little Tasks app on Android that is supposedly build with this. It's very unfinished. Slow too. I was kind of getting excited about this, but so far I'm not impressed.

Extraordinarily slow, it took me about 30 seconds to load the app initially on the newest Moto X.

Re: Nativescript: Build truly native apps with JavaScript

#44
post #38
post #28

Earlier quoted context omitted.

They lost me with the switch to Alloy.

Exactly, I started on Alloy and quickly found that there was too much magic in going from templates to js code. Once I took a step back to Titanium it all felt a lot more sane. Yes it is a little more verbose, but at least I can follow the data flow in code. Appcelerator is going through some changes as of this week[1] which I hope will improve the documentation and ecosystem around the product. [1] - http://techcrun…

Also, their by far best evangelist, Kevin Whinnery, left for Twilio a year or two ago.

Re: Nativescript: Build truly native apps with JavaScript

#45
post #32

Native apps with JavaScript? Give me a break. The only "Native" apps worth writing in JavaScript are web apps. Thank you coming out Nativescript - pack a lunch.

Whoever eventually delivers a viable offering will clean up in the corporate apps market. Companies have lower expectations for internal apps and don't want to hire Java and Swift developers to create each.

But if your expectations are low enough you can just use an HTML-based framework like Cordova.

Re: Nativescript: Build truly native apps with JavaScript

#46
post #32

Native apps with JavaScript? Give me a break. The only "Native" apps worth writing in JavaScript are web apps. Thank you coming out Nativescript - pack a lunch.

Whoever eventually delivers a viable offering will clean up in the corporate apps market. Companies have lower expectations for internal apps and don't want to hire Java and Swift developers to create each.

Companies who have such low expectations already have alternatives in the form of a WebView with extra bells and whistles, like cordova or any of the numerous JS-based native-but-not-really frameworks and libraries. This is just one more among many, many similar alternatives.

Re: Nativescript: Build truly native apps with JavaScript

#47
AWT sallies forth once again! :)

No surprise that their screenshot shows a calendar widget. Such things are very easy to abstract. We know from bitter experience in the desktop world that the pain starts in more complex scenarios than a few buttons and complex widgets that have thin interfaces.

Re: Nativescript: Build truly native apps with JavaScript

#48
post #32

Native apps with JavaScript? Give me a break. The only "Native" apps worth writing in JavaScript are web apps. Thank you coming out Nativescript - pack a lunch.

Whoever eventually delivers a viable offering will clean up in the corporate apps market. Companies have lower expectations for internal apps and don't want to hire Java and Swift developers to create each.

NativeScript: The Framework for developers with low expectations!

Re: Nativescript: Build truly native apps with JavaScript

#49
post #36
post #30

Is it actually "native" if it is a JS interpreter passing calls into the runtime? Yes, it is native widgets and UI, but the "brains" of the operation are seemingly outside. PS - I have no idea what I'm talking about.

Native is mostly about widgets and UI -- which is what matters to the user. Else even Objective-C apps, with the Obj-C messaging system are not native, e.g. they delegate a lot to C-based APIs...

    Else even Objective-C apps, with the Obj-C messaging 
    system are not native, e.g. they delegate a lot to 
    C-based APIs...
For starters, that doesn't make any sense. Note the `C` part of Objective-C.

Secondly, native infers compiled to executable native code, not interpreted or JIT'd via an intermediary.

Re: Nativescript: Build truly native apps with JavaScript

#50
post #30

Is it actually "native" if it is a JS interpreter passing calls into the runtime? Yes, it is native widgets and UI, but the "brains" of the operation are seemingly outside. PS - I have no idea what I'm talking about.

I think what makes it "native" or not is how the app is rendered. You can basically take any web application and wrap it into an app, but it displays in a "web view" whereas a "native" app uses the built-in display components of the OS. For example, the little slider gray/green icon instead of radio buttons on iOS. Also, native apps have access to certain device APIs like the camera while non-native apps don't (at le…

Cordova, which uses HTML in a WebView paradigm, lets you wrap native API's as plugins, so you can access them from JavaScript. You can access most (all?) native functionality from within JS using either Corfova-supplied or third party plugins. Honestly, Cordova + Ionic/Angular has been a great experience so far. Very few problems and a super quick time to market. I can't imagine iterating as quickly for two platforms at once (three if you care about Windows Mobile).
Post reply on HN