Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 inconsistency in abstraction, failure to implement VirtualDom, and insufficient performance

Active Publication Date: 2020-05-01
河北鼎联科技有限公司
View PDF4 Cites 0 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 objectives, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0037] figure 1 It shows 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. Such as figure 1 As shown, the cross-platform front-end development system based on the virtual document object model of thi...

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] The existing solutions for front-end cross-platform development are mainly divided into a pure webview version and a native hybrid development version. Among them, pure webview versions typically include apache cordova, jquery mobile, etc., and native hybrid development versions include Facebook and Reactive Native. [0003] The apache cordova framework based on pure webview, because the underlying implementation is based on webview, its application is still a web page in essence, which has insufficient performance and experience. Cordova just bridges some call interfaces that interact with native devices by adding a bridge to the webview, shielding the difference between iOS and Android in device call interfaces. Since cordova has not done more on the inte...

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 Patents(China)
IPC IPC(8): G06F8/38G06F8/20
Inventor 陈鑫鑫
Owner 河北鼎联科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products