[go: up one dir, main page]

CN101847147A - System and method for integrating independently edited script and style into webpage - Google Patents

System and method for integrating independently edited script and style into webpage Download PDF

Info

Publication number
CN101847147A
CN101847147A CN200910119729A CN200910119729A CN101847147A CN 101847147 A CN101847147 A CN 101847147A CN 200910119729 A CN200910119729 A CN 200910119729A CN 200910119729 A CN200910119729 A CN 200910119729A CN 101847147 A CN101847147 A CN 101847147A
Authority
CN
China
Prior art keywords
style
webpage
script
web page
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910119729A
Other languages
Chinese (zh)
Inventor
邱全成
翁佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN200910119729A priority Critical patent/CN101847147A/en
Publication of CN101847147A publication Critical patent/CN101847147A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明涉及一种将独立编辑的脚本及样式整合至网页的系统及其方法,其透过分析出网页所包含的脚本与样式名称后,将脚本所呼叫的函式写入函式文件中,并将网页中所使用的样式语法写入样式文件中,以及在网页中写入加载函式文件以及样式文件的网页语法,可以降低网页的原始码的复杂度,达成增加网页开发效率的技术功效。

Figure 200910119729

The present invention relates to a system and method for integrating independently edited scripts and styles into a web page. After analyzing the script and style names contained in the web page, the system writes the function called by the script into a function file, writes the style syntax used in the web page into a style file, and writes the web page syntax for loading the function file and the style file into the web page. This can reduce the complexity of the source code of the web page and achieve the technical effect of increasing the efficiency of web page development.

Figure 200910119729

Description

将独立编辑的脚本及样式整合至网页的系统及其方法 System and method for integrating independently edited scripts and styles into web pages

技术领域technical field

本发明涉及一种整合脚本(script)、样式与网页的系统及其方法,特别是指一种将独立编辑的脚本及样式整合至网页的系统及其方法。The present invention relates to a system and method for integrating scripts, styles and webpages, in particular to a system and method for integrating independently edited scripts and styles into webpages.

背景技术Background technique

在开发网页时,往往都需要依赖许多具有专业知识与技术的人员运用特定的应用软件在计算机上进行网页的编辑,在网页完成编辑之后,再由开发人员将网页上传至提供网站服务的服务器。When developing a webpage, it is often necessary to rely on many personnel with professional knowledge and technology to use specific application software to edit the webpage on the computer. After the webpage is edited, the developer uploads the webpage to the server that provides website services.

早期的网页主要是由超文本标记语言(HyperText Markup Language,HTML)语法与脚本组成,网页的开发人员大多是程序设计师,不过近来由于样式在网页中被大量的使用,因此网页的开发人员除了程序设计师之外,也增加了与程序设计师的专业领域完全不相同的视觉设计师。因此,目前网页开发的流程通常是由视觉设计师制作好加入了样式语法的网页后,交由程序设计师撰写在浏览器上执行的脚本以及在服务器上执行的程序。Early webpages were mainly composed of HyperText Markup Language (HTML) syntax and scripts. Most webpage developers were programmers, but recently, due to the extensive use of styles in webpages, webpage developers except In addition to programmers, visual designers whose field of expertise is completely different from that of programmers have also been added. Therefore, the current process of web page development is usually made by the visual designer to create a web page with style syntax added, and then handed over to the programmer to write the script executed on the browser and the program executed on the server.

不过,由于在网页开发的过程中,网页所呈现出来的画面以及提供操作的功能会不断的调整,另外,网页的原始码并非由同一个人编辑,而是由视觉设计师以及程序设计师共同开发,因此,当视觉设计师以及程序设计师对网页的原始码进行一次又一次的编辑之后,网页的原始码会越来越杂乱,在这样的情况下,一旦网页所要呈现的画面或程序代码的复杂度提高,网页的原始码会变的越来越长,如此,视觉设计师以及程序设计师将不易寻找需要修改的样式语法或是脚本。However, in the process of web page development, the screen presented on the web page and the functions provided for operation will be constantly adjusted. In addition, the source code of the web page is not edited by the same person, but jointly developed by the visual designer and the programmer. Therefore, when visual designers and programmers edit the source code of the web page again and again, the source code of the web page will become more and more messy. As the complexity increases, the source code of the web page will become longer and longer. In this way, it will be difficult for visual designers and programmers to find style syntax or scripts that need to be modified.

综上所述,可知现有技术中长期以来一直存在不易在网页的原始码中寻找特定的脚本以及样式语法的问题,因此有必要提出改进的技术手段,来解决此一问题。To sum up, it can be seen that there has been a problem in the prior art for a long time that it is difficult to find specific scripts and style grammars in the source code of web pages, so it is necessary to propose improved technical means to solve this problem.

发明内容Contents of the invention

有鉴于现有技术存在不易在网页的原始码中寻找特定的脚本以及样式语法的问题,本发明遂提供一种将独立编辑的脚本及样式整合至网页的系统及其方法,其中:In view of the problem that it is difficult to find specific scripts and style grammars in the source code of webpages in the prior art, the present invention provides a system and method for integrating independently edited scripts and styles into webpages, wherein:

本发明所提供的将独立编辑的脚本及样式整合至网页的系统,其包括有:脚本函式库,用以储存复数个函式;样式语法库,用以储存复数个样式语法;输入模块,用以输入网页,网页至少包含脚本或样式名称;网页分析模块,用以由网页中分析出脚本及样式名称;函式文件建立模块,用以于网页分析模块由网页中分析出脚本后,至脚本函式库中读取执行脚本所需的函式,并将函式写入函式文件中;样式文件建立模块,用以于网页分析模块由网页中分析出样式名称后,至样式语法库中读取对应样式名称的样式语法,并将样式语法写入样式文件中;整合模块,用以于网页中写入加载函式文件的第一网页语法及加载样式文件的第二网页语法;输出模块,用以输出包含第一网页语法或第二网页语法的网页,其透过网页分析模块分析出网页中的脚本与样式名称后,函式文件建立模块会至脚本函式库中读取函式并写入函式文件中,样式文件建立模块会至样式语法库中读取样式语法并写入样式文件中,并由整合模块在网页中写入加载函式文件以及样式文件的网页语法,借以由分离脚本以及样式语法的技术来解决现有技术所存在的问题。The system for integrating independently edited scripts and styles into webpages provided by the present invention includes: a script library for storing multiple functions; a style grammar library for storing multiple style grammars; an input module, It is used to input a webpage, and the webpage at least includes script or style name; the webpage analysis module is used to analyze the script and style name from the webpage; the function file creation module is used to analyze the script from the webpage by the webpage analysis module, to The script function library reads the functions required to execute the script, and writes the functions into the function file; the style file creation module is used to store the style name in the style syntax library after the webpage analysis module analyzes the style name from the webpage Read the style syntax corresponding to the style name, and write the style syntax into the style file; the integration module is used to write the first web page syntax of the loading function file and the second web page syntax of loading the style file in the web page; output The module is used to output the webpage containing the first webpage grammar or the second webpage grammar. After analyzing the script and style name in the webpage through the webpage analysis module, the function file creation module will read the function file from the script library. The style file creation module will read the style grammar from the style grammar library and write it into the style file, and the integration module will write the webpage grammar of loading the function file and the style file in the webpage. Therefore, the problems existing in the prior art are solved by the technology of separating the script and the style syntax.

本发明所提供的将独立编辑的脚本及样式整合至网页的方法,其包括有下列步骤:储存复数个函式及复数个样式语法;输入包含脚本或样式名称的网页;分析网页;当网页包含脚本时,读取执行脚本所需的函式,并于写入函式至函式文件中后,于网页中写入载入函式文件的第一网页语法;当网页包含样式名称时,读取对应样式名称的样式语法,并于写入样式语法至样式文件中后,于网页中写入加载样式文件的第二网页语法;输出包含第一网页语法或第二网页语法的网页,其透过分析出网页中的脚本与样式名称后,读取脚本所呼叫的函式并写入函式文件中,读取网页所使用的样式语法并写入样式文件中,并在网页中写入加载函式文件以及样式文件的网页语法,借以由分离脚本以及样式语法的方式来解决现有技术所存在的问题。The method for integrating independently edited scripts and styles into webpages provided by the present invention includes the following steps: storing multiple functions and multiple style grammars; inputting webpages containing script or style names; analyzing webpages; when the webpage contains When scripting, read the functions required to execute the script, and after writing the functions into the function file, write the syntax of the first web page that loads the function file in the web page; when the web page contains a style name, read Get the style grammar corresponding to the style name, and after writing the style grammar into the style file, write the second webpage grammar of loading the style file in the webpage; output the webpage containing the first webpage grammar or the second webpage grammar, which is transparent After analyzing the script and style names in the web page, read the function called by the script and write it into the function file, read the style grammar used by the web page and write it into the style file, and write the loading function in the web page The web page syntax of the function file and the style file solves the problems existing in the prior art by separating the script and the style syntax.

本发明所提供的系统与方法如上,其与现有技术之间的差异在于本发明会对网页进行分析,在分析出网页所包含的脚本与样式名称后,读取脚本所呼叫的函式并将函式写入函式文件中,以及读取网页所使用的样式语法并将样式语法写入样式文件中,并在网页中写入加载函式文件以及样式文件的网页语法,借以由分离脚本以及样式语法来减低网页的原始码的复杂度。透过上述的技术手段,本发明可以达成增加网页开发效率的技术功效。The system and method provided by the present invention are as above, and the difference between it and the prior art is that the present invention will analyze the webpage, and after analyzing the script and style name contained in the webpage, read the function called by the script and Write the function into the function file, and read the style grammar used by the webpage and write the style grammar into the style file, and write the webpage grammar of loading the function file and the style file in the webpage, so as to separate the script And style syntax to reduce the complexity of the source code of the web page. Through the above-mentioned technical means, the present invention can achieve the technical effect of increasing the efficiency of web page development.

附图说明Description of drawings

图1是本发明所提的将独立编辑的脚本及样式整合至网页的系统架构图。FIG. 1 is a system architecture diagram for integrating independently edited scripts and styles into web pages proposed by the present invention.

图2是本发明所提的将独立编辑的脚本及样式整合至网页的方法流程图。FIG. 2 is a flow chart of a method for integrating independently edited scripts and styles into a webpage proposed by the present invention.

图3是本发明实施例所提的整合前的网页的原始码。FIG. 3 is the source code of the webpage before integration proposed by the embodiment of the present invention.

图4A是本发明实施例所提的函式一览表示意图。FIG. 4A is a schematic diagram of a function list provided by an embodiment of the present invention.

图4B是本发明实施例所提的样式一览表示意图。FIG. 4B is a schematic diagram of a style list provided by an embodiment of the present invention.

图5A是本发明实施例所提的写入函式的函式文件。FIG. 5A is a function file for writing a function according to an embodiment of the present invention.

图5B是本发明实施例所提的写入样式语法的样式文件。FIG. 5B is a style file for writing style syntax proposed by the embodiment of the present invention.

图6是本发明实施例所提的整合后的网页的原始码。FIG. 6 is the source code of the integrated webpage proposed by the embodiment of the present invention.

图7是本发明实施例所提的另一网页整合前的原始码。Fig. 7 is the source code before integration of another webpage proposed by the embodiment of the present invention.

【主要元件符号说明】[Description of main component symbols]

111脚本函式库111 script library

112样式语法库112 style syntax library

120输入模块120 input modules

130网页分析模块130 web page analysis modules

151函式文件建立模块151 function file building module

152样式文件建立模块152 style file build module

160整合模块160 integration modules

170输出模块170 output modules

180网页编辑模块180 web page editing module

191脚本管理模块191 script management module

192样式管理模块192 style management module

300a网页300a page

300b网页300b page

300c网页300c web page

310脚本310 script

320样式名称320 style name

331第一网页语法331 First Web Grammar

332第二网页语法332 Second Web Page Grammar

341第三网页语法341 Third Web Page Grammar

342第四网页语法342 Fourth Web Grammar

410函式一览表List of 410 functions

420样式一览表420 style list

500函式文件500 function files

600样式文件600 style files

具体实施方式Detailed ways

以下将配合附图及实施例来详细说明本发明的详细特征与实施方式,内容足以使任何本领域技术人员轻易地理解本发明解决技术问题所应用的技术手段并据以实施,及理解实现本发明可达成的功效。The detailed features and implementation methods of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, the content is enough to make any person skilled in the art easily understand the technical means used to solve the technical problems of the present invention and implement them accordingly, and understand the realization of the present invention The effect that the invention can achieve.

本发明执行于网页开发环境中,提供本发明执行的网页开发环境可以为执行于计算机中的网页编辑软件,使用者可以透过网页编辑软件使用本发明进行网页程序的开发;提供本发明执行的网页开发环境也可以执行于服务器上,使用者透过客户端联机到服务器后,透过服务器所提供的使用者接口上传已编辑完成的网页,由本发明对被上传的网页中的HTML语法、脚本以及样式语法进行整合。The present invention is executed in a webpage development environment, and the webpage development environment provided by the present invention can be webpage editing software executed in a computer, and users can use the webpage editing software to use the present invention to develop webpage programs; providing the implementation of the present invention The webpage development environment can also be executed on the server. After the user connects to the server through the client, he uploads the edited webpage through the user interface provided by the server, and the HTML grammar and script in the uploaded webpage are analyzed by the present invention and style syntax for integration.

以下先以图1本发明所提的将独立编辑的脚本及样式整合至网页的系统架构图来说明本发明的系统运作。如图1所示,本发明的系统含有脚本函式库111、样式语法库112、输入模块120、网页分析模块130、函式文件建立模块151、样式文件建立模块152、整合模块160以及输出模块170。In the following, the system operation of the present invention will be illustrated with the system architecture diagram of integrating independently edited scripts and styles into web pages in FIG. 1 of the present invention. As shown in Figure 1, the system of the present invention contains script library 111, style syntax library 112, input module 120, web page analysis module 130, function file establishment module 151, style file establishment module 152, integration module 160 and output module 170.

脚本函式库111负责储存复数个函式,脚本函式库111所储存的函式为程序代码(原始码)的形式,包含函式名称、呼叫(call)所需的参数以及函式主体等。The script function library 111 is responsible for storing a plurality of functions, and the functions stored in the script function library 111 are in the form of program code (source code), including function name, parameters required for calling (call), and function body, etc. .

样式语法库112负责储存复数个样式语法,样式语法库112所储存的样式语法包含样式选择器(selector)以及至少一个样式定义。The style grammar library 112 is responsible for storing a plurality of style grammars, and the style grammar stored in the style grammar library 112 includes a style selector (selector) and at least one style definition.

输入模块120负责输入网页300a,被输入模块120输入的网页300a除了包含HTML语法之外,通常也包含一个以上的脚本、一个以上的样式名称或一个以上的脚本与一个以上的样式名称。一般而言,网页300a是由使用者透过输入模块120输入至本系统中,但本发明并不以此为限。The input module 120 is responsible for inputting the webpage 300a. The webpage 300a input by the input module 120 usually includes more than one script, more than one style name or more than one script and more than one style name in addition to HTML syntax. Generally speaking, the webpage 300a is input into the system by the user through the input module 120, but the present invention is not limited thereto.

网页分析模块130负责对被输入模块120输入的网页300a的原始码进行分析(parser),借以分析出网页300a所包含的各个元素(element)以及脚本,并由元素的“class”属性中搜寻出样式名称。The webpage analysis module 130 is responsible for analyzing (parser) the source code of the webpage 300a input by the input module 120, so as to analyze each element (element) and script contained in the webpage 300a, and search out the "class" attribute of the element. style name.

网页分析模块130更负责在对被输入模块120输入的网页300a进行分析后,由分析后所获得的元素的特定属性或脚本的特定语法中搜寻出外部连结,并依据外部连结追溯(trace)网页300a被浏览时,显示网页300a的浏览器依据网页300a中记录的外部连结所加载的外部文件,并对分析后取得的外部文件进行与网页300a相同的分析,借以获得网页300a被浏览时所执行的脚本以及所使用的样式名称。The web page analysis module 130 is more responsible for searching the external links from the specific attributes of the elements obtained after the analysis or the specific syntax of the script after analyzing the web page 300a input by the input module 120, and tracing (trace) the web pages according to the external links When 300a is browsed, the browser that displays the webpage 300a loads the external file according to the external link recorded in the webpage 300a, and performs the same analysis on the external file obtained after analysis as the webpage 300a, so as to obtain the execution time of the webpage 300a when the webpage 300a is browsed. script and the style name used.

函式文件建立模块151负责在网页分析模块130由被输入模块120所输入的网页300a中分析出网页300a所包含的脚本时,判断网页300a包含的脚本是否会呼叫脚本函式库111所储存的函式,若是,则函式文件建立模块151会在特定目录中建立空白的函式文件,并在至脚本函式库111中读取执行网页300a包含的脚本所需的函式的程序代码后,将被读出的函式的程序代码写入其所建立的函式文件中,借以将网页300a包含的脚本执行时所需要的函式加入函式文件中。其中,函式文件建立模块151建立函式文件的特定目录通常是网页300a所存放的目录或是专门存放函式文件的目录,如“/script”等,但本发明并不以此为限。The function file creation module 151 is responsible for determining whether the script contained in the web page 300a will call the script stored in the script library 111 when the web page analysis module 130 analyzes the script contained in the web page 300a from the web page 300a input by the input module 120. function, if so, the function file creation module 151 will create a blank function file in a specific directory, and after reading the program code of the function required for the script contained in the script library 111 to execute the webpage 300a Write the program code of the read function into the created function file, so as to add the functions needed when the script contained in the web page 300a is executed into the function file. Wherein, the specific directory where the function file creating module 151 creates the function file is usually the directory stored in the webpage 300a or a directory specially storing the function file, such as "/script", etc., but the present invention is not limited thereto.

一般而言,函式文件建立模块151会为各个网页建立不同的函式文件,但本发明并不以此为限,也就是说,函式文件建立模块151可以对每一个函式建立一个函式文件,也可以依据各个函式的相关性建立不同的函式文件,甚至也可以将同一目录中各个网页的函式都写入同一个函式文件中,但其它方式在技术上并没有不同,同时也没有特别的好处,因此在实做函式文件建立模块151时,还是以为各个网页建立不同的函式文件为主。Generally speaking, the function file creation module 151 will create different function files for each webpage, but the present invention is not limited thereto, that is to say, the function file creation module 151 can create a function file for each function You can also create different function files according to the relevance of each function, or even write the functions of each webpage in the same directory into the same function file, but the other methods are not different in technology , and there is no special benefit at the same time, so when implementing the function file creation module 151, it is still considered that different function files are created for each webpage.

样式文件建立模块152负责在网页分析模块130分析出网页300a所包含的样式名称后,判断网页分析模块130分析出的样式名称是否与样式语法库112储存的其中一个样式语法所包含的样式选择器相同,若是,则样式文件建立模块152会先在特定目录中建立一个空白的样式文件,并再至样式语法库112中读取样式选择器与网页300a包含的样式名称相同的样式语法后,将读取出的样式语法(样式选择器以及样式定义)写入其所建立的样式文件中。其中,样式文件建立模块152建立样式文件的特定目录通常是网页300a所存在的目录或是专门存放样式文件的目录,如“/css”等,但本发明并不以此为限。The style file creation module 152 is responsible for determining whether the style name analyzed by the webpage analysis module 130 is consistent with the style selector contained in one of the style grammars stored in the style grammar library 112 after the webpage analysis module 130 analyzes the style name contained in the webpage 300a. Similarly, if so, the style file creation module 152 will first create a blank style file in a specific directory, and then read the style syntax in the style grammar library 112 after the style selector is identical to the style name included in the webpage 300a, and then The read style syntax (style selector and style definition) is written into the created style file. Wherein, the specific directory for creating the style file by the style file creation module 152 is usually the directory where the web page 300a exists or a directory specially storing the style file, such as "/css", etc., but the present invention is not limited thereto.

与函式文件建立模块151相似的,样式文件建立模块152可以为各个网页建立不同的样式文件,但本发明并不以此为限,样式文件建立模块152也可能将整个网站中所有网页的样式语法都写在同一个样式文件中。Similar to the function file creation module 151, the style file creation module 152 can set up different style files for each webpage, but the present invention is not limited thereto, the style file creation module 152 may also set up the styles of all webpages in the entire website Grammars are all written in the same style file.

整合模块160负责在函式文件建立模块151将函式(的程序代码)写入函式文件后,在符合HTML语法的条件下,于网页300a中的任意位置写入加载函式文件的第一网页语法,以及负责在样式文件建立模块152将样式语法写入样式文件后,在符合HTML语法的条件下,于网页300a中写入加载样式文件的第二网页语法,一般而言,第一网页语法会写入网页300a中的“HEAD”元素以及“BODY”元素之间,而第二网页语法会写入“HEAD”元素之中,但本发明所提的第一网页语法以及第二网页语法所写入网页300a的位置并不以此为限。如此,整合模块160在网页300a中写入第一网页语法和/或第二网页语法后所产生的新网页为网页300b。The integration module 160 is responsible for writing the function (program code) into the function file by the function file creation module 151, and then writing the first part of the loaded function file at any position in the web page 300a under the condition of conforming to the HTML syntax. Webpage syntax, and after the style file creation module 152 writes the style syntax into the style file, under the condition of meeting the HTML syntax, write the second webpage syntax of loading the style file in the webpage 300a, generally speaking, the first webpage The grammar will be written between the "HEAD" element and the "BODY" element in the webpage 300a, and the second webpage grammar will be written in the "HEAD" element, but the first webpage grammar and the second webpage grammar mentioned in the present invention The location of the written webpage 300a is not limited thereto. In this way, the new webpage generated after the integration module 160 writes the first webpage grammar and/or the second webpage grammar into the webpage 300a is the webpage 300b.

输出模块170负责输出由整合模块160写入第一网页语法和/或第二网页语法至网页300a后所产生的网页300b。输出模块170可以将网页300b以储存为文件的方式输出,也可以直接以显示网页300b的方式输出,但本发明并不以此为限。The output module 170 is responsible for outputting the webpage 300b generated after the integration module 160 writes the first webpage grammar and/or the second webpage grammar into the webpage 300a. The output module 170 can output the webpage 300b by storing it as a file, or output it directly by displaying the webpage 300b, but the present invention is not limited thereto.

另外,本发明更可以包含网页编辑模块180、脚本管理模块191以及样式管理模块192。In addition, the present invention may further include a webpage editing module 180 , a script management module 191 and a style management module 192 .

网页编辑模块180负责编辑网页300a,输入模块120负责将网页编辑模块180编辑后的网页300a输入至本发明中。一般而言,网页编辑模块180会提供使用者接口,借以提供使用者于本发明中直接对网页300a进行编辑。The webpage editing module 180 is responsible for editing the webpage 300a, and the input module 120 is responsible for inputting the webpage 300a edited by the webpage editing module 180 into the present invention. Generally speaking, the webpage editing module 180 provides a user interface, so as to allow the user to directly edit the webpage 300a in the present invention.

脚本管理模块191负责在网页300a被网页分析模块130分析后,将网页300a中使用者自行撰写的自订函式新增至脚本函式库111中,也就是将网页300a中的自订函式的程序代码写入脚本函式库111,借以扩充脚本函式库111中的函式。此外,脚本管理模块191也负责提供使用者对脚本函式库111所储存的函式进行新增、修改或删除等操作。The script management module 191 is responsible for adding the custom functions written by the user in the web page 300a to the script library 111 after the web page 300a is analyzed by the web page analysis module 130, that is, adding the custom functions in the web page 300a The program code is written into the script library 111, so as to expand the functions in the script library 111. In addition, the script management module 191 is also responsible for providing users with operations such as adding, modifying or deleting functions stored in the script library 111 .

样式管理模块192负责在网页300a被网页分析模块130分析后,将网页300a中使用者自行撰写的自订样式新增至样式语法库112中,也就是在样式语法库112中写入网页300a中的自订样式所包含的样式选择器以及样式定义。此外,样式管理模块192也负责提供使用者对样式语法库112中所储存的样式语法进行新增、修改或删除等操作。The style management module 192 is responsible for adding the self-defined style written by the user in the webpage 300a to the style grammar library 112 after the webpage 300a is analyzed by the webpage analysis module 130, that is, writing it into the webpage 300a in the style grammar library 112 The style selector and style definition contained in the custom style of . In addition, the style management module 192 is also responsible for providing users with operations such as adding, modifying or deleting style grammars stored in the style grammar library 112 .

接着以一个实施例来解说本发明的运作系统与方法,并请参照图2本发明所提的将独立编辑的脚本及样式整合至网页的方法流程图。假设本发明执行于计算机(图中未示)的网页开发软件中,但本发明并不以此为限。Next, an embodiment is used to explain the operating system and method of the present invention, and please refer to FIG. 2 for the flow chart of the method for integrating independently edited scripts and styles into a web page proposed by the present invention. It is assumed that the present invention is implemented in webpage development software of a computer (not shown in the figure), but the present invention is not limited thereto.

在使用者安装执行有本发明的网页开发软件至计算机上后,包含多个函式的脚本函式库111以及包含多个样式语法的样式语法库112也会被储存到计算机上(步骤210)。在本实施例中,假设脚本函式库111中储存了函式名称为“isChecked”、“isNotNull”以及“isNotSelect”等函式,同时假设样式语法库112中储存了样式选择器为“.bg_color”、“.title”以及“P”等的样式语法。After the user installs and executes the web page development software of the present invention on the computer, the script library 111 including multiple functions and the style grammar library 112 including multiple style grammars will also be stored on the computer (step 210) . In this embodiment, it is assumed that functions such as "isChecked", "isNotNull" and "isNotSelect" are stored in the script library 111, and the style selector is stored in the style syntax library 112 as ".bg_color ", ".title" and "P" etc. style syntax.

事实上,脚本函式库111所储存的函式除了在使用者安装后便已建立之外,使用者也可以在使用输入模块120输入网页300a之前,透过脚本管理模块191所提供的使用者接口,在本实施例的网页开发软件中撰写新的函式,脚本管理模块191会将使用者撰写的新函式(的程序代码)储存到脚本函式库111中后,使用者撰写的新函式便可以提供后续开发网页时使用,甚至,使用者也可以透过脚本管理模块191,在本实施例的网页开发软件中修改或删除脚本函式库111所储存的函式(的程序代码)。同样的,样式管理模块192也可以提供使用者新增自订的新的样式语法,以及提供使用者修改或删除储存于样式语法库112中的样式语法。In fact, in addition to the functions stored in the script library 111 being created after the user installs them, the user can also use the script management module 191 provided by the user before using the input module 120 to input the webpage 300a. interface, write new functions in the web page development software of this embodiment, after the script management module 191 will store the new functions (program codes) written by users in the script library 111, the new functions written by users The function can be provided for subsequent development of the web page, and even the user can modify or delete the function stored in the script library 111 in the web page development software of this embodiment through the script management module 191 (program code ). Similarly, the style management module 192 can also provide users with new style grammars to add and customize, and provide users with the ability to modify or delete style grammars stored in the style grammar library 112 .

当使用者欲使用本发明时,使用者可以操作网页开发软件开启先前已编辑完成的网页300a,如此,输入模块120由计算机的储存媒体(图中未示)读取网页300a后,便完成网页300a的输入(步骤220)。但输入模块120所输入的网页300a并非一定要预先编辑完成,例如,本发明也可以由网页编辑模块180让使用者先在网页开发软件中编辑网页300a(步骤280),当使用者完成网页300a的编辑后,输入模块120会将网页300a输入(步骤220)。When the user wants to use the present invention, the user can operate the webpage development software to open the previously edited webpage 300a, so that after the input module 120 reads the webpage 300a from the computer storage medium (not shown), the webpage is completed 300a input (step 220). But the webpage 300a input by the input module 120 does not have to be edited in advance. For example, the present invention can also allow the user to edit the webpage 300a in the webpage development software by the webpage editing module 180 (step 280). When the user completes the webpage 300a After editing, the input module 120 will input the webpage 300a (step 220).

在输入模块120输入网页300a(步骤220)后,网页分析模块130会对网页300a的原始码进行分析(步骤230),借以取得网页300a中所包含的元素以及脚本,并进一步由元素中搜寻出样式名称。若网页300a如图3所示,则在网页分析模块130分析后,网页分析模块130至少会分析出网页300a包含一段脚本310以及包含于元素“table”的“class”属性的“bg_color”与包含于元素“td”的“class”属性的“title”两个样式名称320。其中,网页300a的脚本310包含呼叫函式名称为“isNotNull”与“isNotSelect”的函式的语法。After the input module 120 inputs the webpage 300a (step 220), the webpage analysis module 130 will analyze the source code of the webpage 300a (step 230), so as to obtain the elements and scripts contained in the webpage 300a, and further search out from the elements style name. If the webpage 300a is as shown in Figure 3, after the analysis by the webpage analysis module 130, the webpage analysis module 130 will at least analyze that the webpage 300a contains a script 310 and the "bg_color" and the "bg_color" contained in the "class" attribute of the element "table". Two style names 320 of "title" in the "class" attribute of element "td". Wherein, the script 310 of the webpage 300a includes the syntax of calling the functions named "isNotNull" and "isNotSelect".

在网页分析模块130对网页300a进行分析(步骤230)后,函式文件建立模块151会依据网页分析模块130的分析结果,判断网页300a中是否包含脚本(步骤251)。由于网页分析模块130分析出网页300a包含脚本310,则函式文件建立模块151会在专门存放脚本的目录中建立一个空白的函式文件“uw.js”,之后,函式文件建立模块151会至脚本函式库111中读取网页300a中的脚本310会呼叫的函式,并将读出的函式写入函式文件“uw.js”中(步骤252)。After the webpage analysis module 130 analyzes the webpage 300a (step 230), the function file creation module 151 will determine whether the webpage 300a contains a script according to the analysis result of the webpage analysis module 130 (step 251). Since the web page analysis module 130 has analyzed that the web page 300a contains the script 310, the function file creation module 151 will create a blank function file "uw. Go to the script library 111 to read the functions that the script 310 in the web page 300a will call, and write the read functions into the function file "uw.js" (step 252).

函式文件建立模块151可以使用如图4A所示的函式一览表410来记录脚本函式库111中所储存的函式,但本发明并不以此为限,函式文件建立模块151也可以直接至脚本函式库111中搜寻脚本函式库111所储存的函式的函式名称,借以得知脚本函式库111中储存了哪些函式。其中,函式文件建立模块151所使用的函式一览表410在网页开发软件被安装时所建立,此时函式一览表410中的内容为脚本函式库111中所记录的函式的函式名称,之后,会随着脚本管理模块191对脚本函式库111中的函式进行新增与删除时,由脚本管理模块191在函式一览表410中新增与删除被新增或删除的函式的函式名称。The function file creation module 151 can use the function list 410 shown in Figure 4A to record the functions stored in the script library 111, but the present invention is not limited thereto, the function file creation module 151 can also Directly go to the script library 111 to search for the function names of the functions stored in the script library 111 , so as to know which functions are stored in the script library 111 . Wherein, the function list 410 used by the function file creation module 151 is established when the webpage development software is installed, and the contents in the function list 410 are the function names of the functions recorded in the script library 111 Afterwards, when the script management module 191 adds and deletes the functions in the script library 111, the script management module 191 adds and deletes the added or deleted functions in the function list 410 The function name for .

由于网页分析模块130分析出网页300a中的脚本310会呼叫函式名称为“isNotNull”与“isNotSelect”的函式,因此,函式文件建立模块151便会至脚本函式库111中读出函式名称为“isNotNull”与“isNotSelect”的函式的程序代码,并将读出的程序代码写入函式文件“uw.js”中,函式文件建立模块151在写入读出的程序代码后的函式文件“uw.js”500如图5A所示。Since the webpage analysis module 130 analyzes that the script 310 in the webpage 300a will call the functions whose function names are "isNotNull" and "isNotSelect", the function file creation module 151 will read out the functions from the script library 111. Formula name is the program code of the function of "isNotNull" and "isNotSelect", and writes the read program code in the function file "uw.js", and the function file creation module 151 writes the read program code The final function file "uw.js" 500 is shown in Fig. 5A.

同样在网页分析模块130对网页300a进行分析(步骤230)后,样式文件建立模块152会依据网页分析模块130的分析结果,判断网页300a中是否包含样式名称(步骤261)。由于网页分析模块130分析出网页300a包含“.bg_color”以及“.title”两个样式名称320,则样式文件建立模块152会在专门存放样式的目录中建立一个空白的样式文件“style_uw_sys.css”,之后,样式文件建立模块152会至样式语法库112中读取样式选择器与网页300a中的样式名称320相同的样式语法,也就是读出样式选择器为“.bg_color”以及“.title”的样式语法,并将读出的样式语法写入样式文件“style_uw_sys.css”600中(步骤262)。样式文件建立模块152在写入样式选择器为“.bg_color”以及“.title”的样式语法后的样式文件“style_uw_sys.css”600如图5B所示。Also after the web page analysis module 130 analyzes the web page 300a (step 230), the style file creation module 152 will determine whether the web page 300a contains a style name according to the analysis result of the web page analysis module 130 (step 261). Since the web page analysis module 130 has analyzed that the web page 300a includes two style names 320 of ".bg_color" and ".title", the style file creation module 152 will create a blank style file "style_uw_sys.css" in a directory dedicated to storing styles , after that, the style file creation module 152 will go to the style syntax library 112 to read the same style grammar for the style selector and the style name 320 in the web page 300a, that is, the read style selector is ".bg_color" and ".title" style syntax, and write the read style syntax into the style file "style_uw_sys.css" 600 (step 262). The style file "style_uw_sys.css" 600 after the style file creation module 152 writes the style syntax with ".bg_color" and ".title" as the style selector is shown in FIG. 5B .

与函式文件建立模块151相似的,样式文件建立模块152可以使用如图4B所示的样式一览表420来记录样式语法库112中所储存的样式语法的样式选择器,也可以直接搜寻样式语法库112中所储存的样式语法的样式选择器,借以得之脚本函式库111所储存的样式语法的样式选择器是否与网页300a中的样式名称相同,但本发明并不以此两种方法为限。其中,样式文件建立模块152所使用的样式一览表420在网页开发软件被安装时所建立,此时样式一览表420中的内容为样式语法库112中所记录的样式语法的样式选择器,之后,会随着样式管理模块192对样式语法库112中的样式语法进行新增与删除时,由样式管理模块192在样式一览表420中新增与删除被新增或删除的样式语法的样式选择器。Similar to the function file creation module 151, the style file creation module 152 can use the style list 420 shown in FIG. 4B to record the style selector of the style grammar stored in the style grammar library 112, and can also directly search the style grammar library The style selector of the style grammar stored in 112, whether the style selector of the style grammar stored in the script library 111 is the same as the style name in the webpage 300a, but the present invention does not use these two methods as a basis limit. Wherein, the style list 420 used by the style file creation module 152 is established when the webpage development software is installed, and the content in the style list 420 is the style selector of the style grammar recorded in the style grammar storehouse 112 at this moment, after that, will As the style management module 192 adds and deletes style grammars in the style grammar library 112 , the style management module 192 adds and deletes style selectors of the style grammars added or deleted in the style list 420 .

事实上,函式文件建立模块151以及样式文件建立模块152执行的顺序并没有先后次序的关系,也就是说,除了函式文件建立模块151先将函式写入函式文件“uw.js”500,再由样式文件建立模块152将样式语法写入样式文件“style_uw_sys.css”600之外,本发明也可以先执行样式文件建立模块152后,再执行函式文件建立模块151。In fact, the execution order of the function file creation module 151 and the style file creation module 152 has no sequence relationship, that is to say, except that the function file creation module 151 first writes the function into the function file "uw.js" 500, the style file creation module 152 writes the style grammar into the style file "style_uw_sys.css" 600, the present invention can also execute the style file creation module 152 first, and then execute the function file creation module 151.

在函式文件建立模块151读出脚本310会呼叫的函式并将读出的函式写入函式文件“uw.js”500中(步骤252)后,整合模块160会如图6所示,将载入函式文件“uw.js”500的第一网页语法331写入网页300a中(步骤256)。同样的,在样式文件建立模块152读出样式选择器与网页300a中的样式名称相同的样式语法并写入样式文件“style_uw_sys.css”600(步骤262)后,整合模块160会将加载样式文件“style_uw_sys.css”600的第二网页语法332写入网页300a中(步骤266)。网页300a的原始码被整合模块160写入第一网页语法331以及第二网页语法332后,成为新的网页300b。After the function file creation module 151 reads the function that the script 310 will call and writes the read function into the function file "uw.js" 500 (step 252), the integration module 160 will be as shown in Figure 6 , write the first webpage syntax 331 of the loading function file "uw.js" 500 into the webpage 300a (step 256). Similarly, after the style file building module 152 reads out the style syntax whose style selector is the same as the style name in the web page 300a and writes the style file "style_uw_sys.css" 600 (step 262), the integration module 160 will load the style file The second webpage syntax 332 of "style_uw_sys.css" 600 is written into the webpage 300a (step 266). After the source code of the webpage 300a is written into the first webpage grammar 331 and the second webpage grammar 332 by the integration module 160, it becomes a new webpage 300b.

最后,输出模块170会输出包含第一网页语法331以及第二网页语法332的新的网页300b。假设在本实施例中,输出模块170以将网页300b储存为文件的方式输出网页300b,则输出模块170储存至计算机上的文件的内容即为网页300b的原始码,如此,网页300b中的函式与样式语法便会被本发明分别储存到函式文件以及样式文件中,减低网页300b的原始码的复杂度。Finally, the output module 170 will output the new webpage 300b including the first webpage grammar 331 and the second webpage grammar 332 . Suppose in this embodiment, the output module 170 outputs the webpage 300b by storing the webpage 300b as a file, then the content of the file stored on the computer by the output module 170 is the source code of the webpage 300b, so, the function in the webpage 300b The formula and style syntax will be stored in the function file and the style file respectively by the present invention, reducing the complexity of the source code of the web page 300b.

综上所述,可知本发明与现有技术之间的差异在于分析出网页300a所包含的脚本310与样式名称320后,将脚本310所呼叫的函式写入函式文件500中,并将网页300a所使用的样式名称与所包含的样式选择器相同的样式语法写入样式文件600中,再于网页300a中写入加载函式文件500以及样式文件600的第一网页语法331以及第二网页语法332,由此技术手段可以分离网页300a中的脚本310以及样式语法,使得网页300a的原始码的复杂度降低,借以解决现有技术所存在不易在网页的原始码中寻找特定的程序代码以及样式语法的问题,进而达成增加网页开发效率的功效。In summary, it can be seen that the difference between the present invention and the prior art is that after analyzing the script 310 and the style name 320 contained in the webpage 300a, the function called by the script 310 is written into the function file 500, and the The style name used by the web page 300a is written in the style file 600 with the same style syntax as the included style selector, and then the first web page syntax 331 and the second web page syntax 331 of the load function file 500 and the style file 600 are written in the web page 300a. Webpage syntax 332, the script 310 and style syntax in the webpage 300a can be separated by technical means, so that the complexity of the source code of the webpage 300a is reduced, so as to solve the problem of the prior art that it is difficult to find specific program codes in the source code of the webpage And the problem of style syntax, and then achieve the effect of increasing the efficiency of web page development.

在上述实施例中,输入模块120所输入的网页300a也可能不包含脚本310,或是脚本310中没有呼叫的函式,则在经过网页分析模块130的分析后,函式文件建立模块151会因为网页300a中没有记录被呼叫的函式的函式名称而不执行,如此整合模块160将不会在网页300a中写入加载函式文件500的第一网页语法331(步骤256)。同样的,若输入模块120所输入的网页300a不包含样式名称320时,样式文件建立模块152不会执行,整合模块160也不会在网页300a中写入加载样式文件600的第二网页语法332(步骤266)。In the above embodiment, the webpage 300a input by the input module 120 may not contain the script 310, or there is no function called in the script 310, then after the analysis by the webpage analysis module 130, the function file creation module 151 will Because the function name of the called function is not recorded in the web page 300a and is not executed, the integration module 160 will not write the first web page syntax 331 of the loaded function file 500 in the web page 300a (step 256). Similarly, if the webpage 300a input by the input module 120 does not include the style name 320, the style file building module 152 will not execute, and the integration module 160 will not write the second webpage syntax 332 of loading the style file 600 in the webpage 300a (step 266).

另外,若输入模块120所输入的网页300c如图7所示,包含载入外部文件的第三网页语法341以及第四网页语法342,则网页分析模块130在对网页300c进行分析(步骤230)后,也会对文件名称为“function.js”以及“style.css”的两个外部文件进行与网页300c相同的分析,借以取得被呼叫的函式以及样式名称。In addition, if the webpage 300c input by the input module 120 includes the third webpage grammar 341 and the fourth webpage grammar 342 for loading external files as shown in Figure 7, then the webpage analysis module 130 is analyzing the webpage 300c (step 230) Finally, the same analysis as that of the web page 300c will be performed on the two external files whose file names are "function.js" and "style.css", so as to obtain the called function and style name.

再者,本发明的将独立编辑的脚本及样式整合至网页的方法,可实现于硬件、软件或硬件与软件的组合中,亦可在计算机系统中以集中方式实现或以不同组件散布于若干互连的计算机系统的分散方式实现。Furthermore, the method for integrating independently edited scripts and styles into webpages of the present invention can be implemented in hardware, software, or a combination of hardware and software, and can also be implemented in a centralized manner in a computer system or distributed in several different components. A decentralized implementation of interconnected computer systems.

虽然本发明所公开的实施方式如上,惟所述的内容并非用以直接限定本发明的专利保护范围。任何本发明所属技术领域中技术人员,在不脱离本发明所公开的精神和范围的内,在实施的形式上及细节上所为的更动或润饰,均属本发明的专利保护范围。因此本发明的专利保护范围仍须以本说明书所附的权利要求所界定者为准。Although the disclosed embodiments of the present invention are as above, the content described is not intended to directly limit the patent protection scope of the present invention. Any changes or modifications made by those skilled in the technical field of the present invention in the form and details of implementation without departing from the spirit and scope disclosed in the present invention belong to the scope of patent protection of the present invention. Therefore, the scope of patent protection of the present invention must still be defined by the appended claims of this specification.

Claims (10)

1.一种将独立编辑的脚本及样式整合至网页的系统,该系统包括:1. A system for integrating independently edited scripts and styles into web pages, the system comprising: 一脚本函式库,用以储存复数个函式;a script library for storing a plurality of functions; 一样式语法库,用以储存复数个样式语法;a style grammar library for storing a plurality of style grammars; 一输入模块,用以输入一网页,该网页至少包含一脚本或一样式名称;An input module, used for inputting a webpage, the webpage at least includes a script or a style name; 网页分析模块,用以由该网页中分析出该脚本及该样式名称;A web page analysis module, configured to analyze the script and the style name from the web page; 一函式文件建立模块,用以于该网页分析模块由该网页中分析出该脚本后,至该脚本函式库中读取执行该脚本所需的至少一该函式,并将该函式写入一函式文件中;A function file creation module, used to read at least one function required to execute the script from the script library after the web page analysis module analyzes the script from the web page, and convert the function Write in a function file; 一样式文件建立模块,用以于该网页分析模块由该网页中分析出该样式名称后,至该样式语法库中读取对应该样式名称的一该样式语法,并将该样式语法写入一样式文件中;A style file creation module, used to read a style grammar corresponding to the style name from the style grammar library after the webpage analysis module analyzes the style name from the webpage, and write the style grammar into the same in the format file; 一整合模块,用以于该网页中写入加载该函式文件的第一网页语法及加载该样式文件的一第二网页语法;及An integration module, used to write in the webpage a first webpage syntax for loading the function file and a second webpage syntax for loading the style file; and 一输出模块,用以输出包含该第一网页语法和/或该第二网页语法的该网页。An output module is used for outputting the webpage including the first webpage grammar and/or the second webpage grammar. 2.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该网页分析模块更用以追溯该网页中所载入的一外部文件,并由该外部文件中分析该脚本或该样式名称。2. The system for integrating independently edited scripts and styles into a web page as claimed in claim 1, wherein the web page analysis module is further used to trace an external file loaded in the web page, and analyze the external file from the external file script or the style name. 3.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该系统更包括一网页编辑模块,用以编辑该网页。3. The system for integrating independently edited scripts and styles into a webpage as claimed in claim 1, wherein the system further comprises a webpage editing module for editing the webpage. 4.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该系统更包括一脚本管理模块,用以新增、修改或删除该脚本函式库中的该些函式。4. The system for integrating independently edited scripts and styles into web pages as claimed in claim 1, wherein the system further includes a script management module for adding, modifying or deleting the functions in the script library Mode. 5.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该系统更包括一样式管理模块,用以新增、修改或删除该样式语法库中的该些样式语法。5. The system for integrating independently edited scripts and styles into web pages as claimed in claim 1, wherein the system further includes a style management module for adding, modifying or deleting the style grammars in the style grammar library . 6.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该系统更包括一脚本管理模块,用以将该网页中的一自订函式新增至该脚本函式库中。6. The system for integrating independently edited scripts and styles into a webpage as claimed in claim 1, wherein the system further comprises a script management module for adding a custom function in the webpage to the script function in the library. 7.如权利要求1所述的将独立编辑的脚本及样式整合至网页的系统,其中该系统更包括一样式管理模块,用以将该网页中的一自订样式新增至该样式语法库中。7. The system for integrating independently edited scripts and styles into a webpage as claimed in claim 1, wherein the system further comprises a style management module for adding a custom style in the webpage to the style grammar library middle. 8.一种将独立编辑的脚本及样式整合至网页的方法,该方法包括下列步骤:8. A method for integrating independently edited scripts and styles into a web page, the method comprising the following steps: 储存复数个函式及复数个样式语法;Store multiple functions and multiple style grammars; 输入至少包含一脚本或一样式名称的一网页;Enter a webpage containing at least one script or one style name; 分析该网页;analyze the web page; 当该网页包含该脚本时,读取执行该脚本所需的至少一该函式,并于写入该函式至一函式文件中后,于该网页中写入载入该函式文件的一第一网页语法;When the webpage includes the script, read at least one function required to execute the script, and write the function file into the webpage after writing the function into a function file a first web page syntax; 当该网页包含该样式名称时,读取对应该样式名称的一该样式语法,并于写入该样式语法至一样式文件中后,于该网页中写入加载该样式文件的一第二网页语法;及When the web page contains the style name, read a style grammar corresponding to the style name, and after writing the style grammar into a style file, write a second web page loading the style file in the web page grammar; and 输出包含该第一网页语法或该第二网页语法的该网页。outputting the webpage including the first webpage grammar or the second webpage grammar. 9.如权利要求8所述的将独立编辑的脚本及样式整合至网页的方法,其中该由该网页中分析出该脚本及该样式名称的步骤更包括追溯该网页中所载入的一外部文件,并由该外部文件中分析该脚本或该样式名称的步骤。9. The method for integrating independently edited scripts and styles into a webpage as claimed in claim 8, wherein the step of analyzing the name of the script and the style from the webpage further includes tracing an external file loaded in the webpage file, and the steps that parse that script or that style name from that external file. 10.如权利要求8所述的将独立编辑的脚本及样式整合至网页的方法,其中该方法更包括编辑该网页的步骤。10. The method for integrating independently edited scripts and styles into a webpage as claimed in claim 8, wherein the method further comprises the step of editing the webpage.
CN200910119729A 2009-03-24 2009-03-24 System and method for integrating independently edited script and style into webpage Pending CN101847147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910119729A CN101847147A (en) 2009-03-24 2009-03-24 System and method for integrating independently edited script and style into webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910119729A CN101847147A (en) 2009-03-24 2009-03-24 System and method for integrating independently edited script and style into webpage

Publications (1)

Publication Number Publication Date
CN101847147A true CN101847147A (en) 2010-09-29

Family

ID=42771770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910119729A Pending CN101847147A (en) 2009-03-24 2009-03-24 System and method for integrating independently edited script and style into webpage

Country Status (1)

Country Link
CN (1) CN101847147A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011079733A1 (en) * 2009-12-30 2011-07-07 深圳市同洲电子股份有限公司 Method, device and embedded browser for script processing
CN105159686A (en) * 2015-09-28 2015-12-16 北京奇虎科技有限公司 Website page development method and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011079733A1 (en) * 2009-12-30 2011-07-07 深圳市同洲电子股份有限公司 Method, device and embedded browser for script processing
CN105159686A (en) * 2015-09-28 2015-12-16 北京奇虎科技有限公司 Website page development method and apparatus
CN105159686B (en) * 2015-09-28 2018-09-04 北京奇虎科技有限公司 A kind of Website page development approach and device

Similar Documents

Publication Publication Date Title
US8392880B2 (en) Rapid application development for database-aware applications
JP5363355B2 (en) Method, system and program for copying and pasting selected display area of screen display using style elements
JP3857663B2 (en) Structured document editing apparatus, structured document editing method and program
US9524279B2 (en) Help document animated visualization
US9990343B2 (en) System and method for in-browser editing
CN108762743A (en) Data table operation code generation method and device
CN113158651A (en) Web server system and demonstration application generation method
CN111078217A (en) Brain graph generation method, apparatus and computer-readable storage medium
CN118210816A (en) Spark engine-based data blood-edge static analysis method and device, medium and product
CN103226475B (en) Method and the device of control replacement is realized during transcoding
US20240378028A1 (en) Automated authoring of software solutions from a data model
JP4686117B2 (en) Source code conversion apparatus, source code conversion method, and program
CN101847147A (en) System and method for integrating independently edited script and style into webpage
US7805452B2 (en) Data processing device and data processing method
CN112417827A (en) Method and device for editing and displaying online document, electronic equipment and storage medium
CN118656078A (en) Front-end framework conversion method, device, electronic device, computer-readable storage medium, and computer program product
CN117555587A (en) Project reconstruction methods, devices, equipment and media based on AngularJS framework
CN117472492A (en) Method and related device for generating graphical user interface
CN114020358B (en) Interface rendering method and device based on iOS application
CN115983230A (en) Word document generation method and device based on JSON data
CN114416088A (en) Mobile tool page generation method and device, computer equipment and storage medium
CN113986322B (en) Method, device and storage medium for dynamically modifying page codes
CN114691131B (en) Method and device for generating framework code file for user interface UI file
KR102588597B1 (en) Method for designing a program using operation logic designer as an alternative editor for uml sequence diagram and apparatus using the same
Le A react responsive web application managing offers and configurations of projects

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100929