Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,238 members, 7,818,811 topics. Date: Monday, 06 May 2024 at 05:05 AM

Javascript For Native Apps - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Javascript For Native Apps (624 Views)

Snow Effect On Blog: How To Add Snow Falling Effect Javascript For Blogger / Post All Your Web Development Issues Here (php, Sql, Html, Javascript, Css) (2) (3) (4)

(1) (Reply)

Javascript For Native Apps by toshodei: 6:13am On Mar 11, 2015
Link ~> http://www.infoworld.com/article/2893706/mobile-development/javascript-native-ios-android-and-windows-phone-apps.html

NativeScript, a Telerik technology for building multiplatform native mobile apps from a single code base, is set to go to a 1.0 release in late April. Telerik is launching a beta program this week for the open source NativeScript.

Microsoft slashes backup power costs with lithium-ion batteries
The company designed a system that's five times cheaper than a traditional data center UPS
READ NOW
The NativeScript website and GitHub page describe the runtime as enabling developers to use JavaScript and TypeScript to build native apps for iOS, Android, and Windows Phone (via the Windows Universal strategy) and share code across the platforms. "Developers who have that Web skill set who want to build truly native applications should be really excited because there is now a way for them to do that" without having to learn custom languages or frameworks, said Telerik Vice President Todd Anglin.

[ Find out how to handle the real-world problems faced by developers, with InfoWorld's professional programmer's business survival guide. | Keep up with hot topics in app dev with InfoWorld's Application Development newsletter. ]
NativeScript produces apps that have a native UI, Anglin said. "That is, the app is not HTML-rendered in a Web view -- as you get with hybrid apps or traditional browser apps. ... [NativeScript enables] the underlying JavaScript engines on iOS, Android, and Windows to control a native UI layer."

Developers use NativeScript libraries, which abstract away the differences between the native platforms; they also use CSS and ECMAScript 5. The Node.js server-side JavaScript platform "sort of [helps] play that JavaScript engine role that powers the mobile app," Anglin said.

NativeScript provides full access to the native platform API, and it features a prepackaged JavaScript virtual machine; JavaScript written for a NativeScript app still runs as JavaScript on a device. "NativeScript will execute this JavaScript on the native JavaScript virtual machines provided by iOS (JavaScriptCore), Android (V8), and Windows (Chakra)," Anglin said. NativeScript provides "a JavaScript proxy that exposes all of the underlying native iOS/Android/Windows APIs to these JavaScript engines, thereby giving full control to JavaScript to control native device capabilities."


NativeScript also handles the cross-platform native UI, providing a markup language that gets parsed in to platform-specific UI widgets when an application is built. "For example, when a developer adds a button to an app, NativeScript will automatically use the appropriate native button UI control from iOS, Android, and Windows."

Anglin sees NativeScript as being different from other mobile development technologies, such as Appcelerator Titanium, which also purports to enable the building of native mobile apps via JavaScript. Titanium has too much customization, making it proprietary, Anglin contends.

"The big distinction between a NativeScript app and a hybrid app [such as PhoneGap or Sencha] is that NativeScript does not rely on the browser/Web UI layer to render the app. It renders a native UI, independent of the browser. ... That browser/Web UI layer that is usually the performance bottleneck in mobile apps that want to have buttery smooth animations and scrolling."
Re: Javascript For Native Apps by Tectono: 3:54am On Mar 14, 2015
Have you visited this very popular site that reviews daily business activities in Nigeria? It is called Tectono Business Review. You can check it out: http://tectono..com/
Re: Javascript For Native Apps by thewebcraft(m): 5:37pm On Mar 16, 2015
Native App Development is the future of app dev.

(1) (Reply)

Spc 4 Api Integration Help / Earn Substantial Income Sharing Social Ads. / Be An Admin On Sunloaded.com And Win Prices

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 23
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.