Cross-platform front-end development system and method based on virtual document object model

An object model and virtual document technology, applied in the computer field, can solve problems such as not implementing VirtualDom, not having cross-platform development, and insufficient performance

Active Publication Date: 2018-01-19
河北鼎联科技有限公司
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of Reacive Native is that the abstraction of its Virtual Dom on android and iOS is not consistent, because it simply maps the controls of the two platforms into Virtual Dom, and does not completely shield the platform-related difference, which leads to developers having to develop a code for each of the two platforms. Although the development methods are very similar, it is impossible to achieve true cross-platform development
[0005] It can be seen that the disadvantage of cordova is that the essence of web pages and insufficient performance
The disadvantage of Reactive Native is that it does not implement a fully consistent Virtual Dom, and does not truly achieve cross-platform development.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-platform front-end development system and method based on virtual document object model
  • Cross-platform front-end development system and method based on virtual document object model
  • Cross-platform front-end development system and method based on virtual document object model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0037] figure 1 A schematic structural diagram of a cross-platform front-end development system based on a virtual document object model provided by an embodiment of the present invention is shown. Such as figure 1As shown, the cross-platform front-end development system based on the virtual document object model of this embodiment includes: Dom...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a cross-platform front-end development system and method based on a virtual document object model. The system comprises a Dom generator, a layout controller, an interaction adaptor and an animation controller; aiming at any native platform, the Dom generator generates a Virtual Dom tree by analyzing an input XML, a view control of the native platform is encapsulated in a Virtual Dom tree node, and a Real Dom tree of the native platform is generated; the layout controller calculates an interface layout result based on preset interface layout logic and synchronizes the result into the view control of the native platform; the interaction adaptor recognizes native platform bottom layer input events, and the native platform bottom layer input events are transformed into touch events based on preset gesture control logic and are distributed in the Virtual Dom tree; the animation controller sets attributes of the Virtual Dom tree node based on the preset animation control logic by driving each frame of an animation based on the Virtual Dom. The cross-platform front-end development system and method have thorough cross-platform front-end development characteristics.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a cross-platform front-end development system and method based on a virtual document object model. Background technique [0002] Existing solutions for front-end cross-platform development are mainly divided into pure webview version and native hybrid development version. Among them, the pure webview version typically includes apache cordova, jquery mobile, etc., and the native hybrid development version includes Facebook, Reactive Native, etc. [0003] The Apache Cordova framework based on pure webview, because the underlying implementation is based on webview, so its application is still a web page in essence, and there are performance and experience deficiencies. Cordova just bridges some call interfaces that interact with native devices by adding a bridge to webview, shielding the difference between iOS and android in terms of device call interfaces. Since cordova does not...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/38G06F8/20
Inventor 陈鑫鑫
Owner 河北鼎联科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products