Computer and Modernization ›› 2014, Vol. 0 ›› Issue (1): 114-120.
Previous Articles Next Articles
Received:
Online:
Published:
Abstract: In order to obtain the pages of information generated by JavaScript scripts, better access to Web-depth information, A minimally invasion method that can improve Rhino engine is proposed. Through in-depth analysis on the process that Rhino engine parses JavaScript script, this paper draws the key to extend Rhino engine. On this basis, low-invasive design is used, Rhino engine is improved by low coupling expansion method, thereby Rhino engine parsing on the client JavaScript script is improved. Through the use of minimally invasive extension method, the expansion and use of Rhino engine are completely separated, the developers of the expansion do not have to understand the implementation details of Rhino engine, simplifying extension development. Finally, this paper verified the effect of Rhino engine improvements through experiments.
Key words: parsing, DOM tree, Java extensions
NIE Kun-lin, HUANG Wei, HU Guo-chao. Extensions of Client-side JavaScript Built-in Objects by Low Invasion Method#br# Based on Rhino Engine[J]. Computer and Modernization, 2014, 0(1): 114-120.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.c-a-m.org.cn/EN/
http://www.c-a-m.org.cn/EN/Y2014/V0/I1/114