NativeScript in Action

NativeScript is written in html,js,css.then run on the js virtual machine.

NativeScript最终渲染出来的都是Native component,而非web component

Button UI在android和iOS上的默认外观对比,在iOS上更像一个标签

补充知识

Mobile App 分类

Ns run on the virtual machine. it is an kind of JIT Compiled mobile framework.

RN is an kind of cross compiled mobile framework

Except the graphic-sensitive games app ,all is ok with nativescript

The Javascript virtual machine is like the chrome v8 virtual machine that run on the pc.

This virtual machine just run on the mobile device in nativescript framewrok.

after we wrote the code,run the tns command for build the entire application.

The cli bundle your code ,nativescript runtime,and the nativescript core modules into one nativescript app.

------------------\

Javascript virtual machine is alone from the host env, the v8 engine didn't know about the dom. the chrome browser integrate the v8 in it. so nativescript integrate this virtual machine in it for mobile platform.

results matching ""

    No results matching ""