CN102693122A - Method for desktop software development framework - Google Patents
Method for desktop software development framework Download PDFInfo
- Publication number
- CN102693122A CN102693122A CN2011100734213A CN201110073421A CN102693122A CN 102693122 A CN102693122 A CN 102693122A CN 2011100734213 A CN2011100734213 A CN 2011100734213A CN 201110073421 A CN201110073421 A CN 201110073421A CN 102693122 A CN102693122 A CN 102693122A
- Authority
- CN
- China
- Prior art keywords
- function
- function library
- development framework
- desktop software
- sequence
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for a desktop software development framework. An editing sequence is input from the outside; a first function base (WebCore) in the desktop software development framework is used for resolving a hypertext markup language (HTML) in the editing sequence, and a second function base (JSCore) is used for resolving a Java command language (Javascript) in the editing sequence; when the second function base (JSCore) resolves the Java command language (Javascript) in the editing sequence, a development framework function sub base (OXLibs) in the second function base (JSCore) is connected with various types of function base calls in a computer device, so that the editing sequence can apply a plurality of type function bases, so that desktop software is finished; and aims of making the desktop software development framework form a program and supplying a relatively high customization function can be fulfilled.
Description
Technical field
The invention relates to a kind of method of desktop software Development Framework, refer to especially a kind ofly make the desktop software Development Framework can carry out program to set up, and the method for better customized function is provided.
Background technology
Writing like supervisors such as Tetris, elfin, counters at present; All need use C programmer, program in BASIC supervisor language to write and to realize; Though and aforementioned program language belongs to the basic program of crossing the threshold; But, will the program of writing concerning the people who did not learn have the difficulty of certain degree, and the grammer of program language is comparatively complicated through on class study; Learning process needs a period of time just can understand the grammer how to edit, and can write program according to proper syntax.
Existing web page editing language carries out web page editing for people's use of the overwhelming majority; And the grammer of web page editing language is comparatively easy and easy to understand; The time-histories of study and left-hand seat is very fast; When carrying out web page editing, all can use the web page editing language to carry out the editor of various forms webpage, but, then can't use the web page editing language to write if will use the web page editing language to write like Tetris, elfin, counter supervisor; Even and if use the web page editing language to write; Then the web page editing language can't have strong functions as program language, can want each item program function (as: memory function, picture meticulous etc.) to show the author, and the web page editing language can't link use with existing all kinds of function libraries in the operating system; Make the web page editing language make the editor of web page contents only, can't have other better customized function.
Therefore, how to improve existing web page editing language, make that existing web page editing language is the same with program language to carry out program and write, let and program is write interesting author can learn left-hand seat fast.
Summary of the invention
The object of the invention is promptly in the method that a kind of desktop software Development Framework is provided; Input one editor's sequence; Carry out according to said editor's sequence by a desktop software Development Framework again, and resolve the ultra word marking language in said editor's sequence, and second function library is resolved the Java order original text language in said editor's sequence by first function library in the said desktop software Development Framework; When the Java in said second function library is resolved said editor's sequence orders the original text language; Then one be located at the interior Development Framework function of said second function library time storehouse and the interior function library calling binding of all categories of said computer installation, make said editor's sequence can use said a plurality of classification function library, to accomplish a desktop software; Let the desktop software Development Framework can carry out the program establishment to reach, and the purpose of better customized function is provided.
For the technological means of reaching the invention described above purpose is: input one editor's sequence; Carry out according to said editor's sequence by a desktop software Development Framework; And resolve the ultra word marking language in said editor's sequence by first function library of said desktop software Development Framework, and second function library is resolved the Java order original text language in said editor's sequence; When the Java in said second function library is resolved said editor's sequence orders the original text language; Then one be located at the interior Development Framework function of said second function library time storehouse and the interior function library calling binding of all categories of said computer installation; Make said editor's sequence can use said a plurality of classification function library, to accomplish a desktop software.
Description of drawings
Fig. 1 is the Organization Chart of desktop software Development Framework of the present invention; And
Fig. 2 is the method flow diagram of desktop software Development Framework of the present invention.
Embodiment
Please consult Fig. 1 and shown in Figure 2 simultaneously; The method of desktop software Development Framework provided by the present invention; Said desktop software Development Framework 1 has one first function library 11, one second function library 12, a webpage drawing function storehouse 13, a system drawing function storehouse 14, a compression and decompression function library 15, a message transport function storehouse 16 and stores function library 17; Be to be applied in the computer installation (not shown), to carry out the following step:
At first, execution in step S10 through outside input one editor's sequence, then proceeds to step S20.
In step S20; Carry out according to said editor's sequence; And resolve the interior ultra word marking language (HTML) of said editor's sequence by first function library (WebCore) in the said desktop software Development Framework 1 11; And the Java order original text language (Javascript) in the said editor's sequence of second function library (JSCore), 12 parsings, then proceed to step S30.
In step S30; When said second function library (JSCore) 12 is resolved the Java order original text language (Javascript) in said editor's sequence; Then one be located at Development Framework function time storehouses (OXLibs) 121 in said second function library (JSCore) 12 and call out with the function libraries of all categories in the said computer installation and link; Make said editor's sequence can use said a plurality of classification function library, to accomplish a desktop software.
In the present embodiment; Said first function library (WebCore) 11 and said second function library (JSCore) 12 are when resolving said ultra word marking language (HTML) and said Java order original text language (Javascript) respectively; Then can call out binding, to carry out a webpage graphic plotting with said webpage drawing function storehouse (WebKitGTK) 13.
In the present embodiment; Said Development Framework function time storehouse (OXLibs) 121 in addition can with the first source code function library 18 of third party exploitation; Or independently developed second a source code function library 19 bindings, set up said desktop software to use said a plurality of source code function library.
In the present embodiment, said a plurality of classification function library is respectively said system drawing function storehouse (GTK/GDK) 14, said compression and decompression function library (zlib) 15, said message transport function storehouse (D-Bus) 16 and said storage function library (Glib) 17.
When utilizing said desktop software Development Framework 1, the author imports said editor's sequence; After input finishes; Resolve via said first function library (WebCore) 11 and said second function library (JSCore) 12; To resolve the ultra word marking language (HTML) edited in said editor's sequence and Java order original text language (Javascript) respectively, in the time of in resolving, need carrying out said webpage graphic plotting, then call out and link with said webpage drawing function storehouse (WebKitGTK) 13; The graphic plotting author is required by said webpage drawing function storehouse (WebKitGTK) 13 is shaped; And said webpage drawing function storehouse (WebKitGTK) 13 is in the graphic plotting process, during like the finer drafting of need, just it is careful with graphic plotting De Gengjia to call out drawing function storehouse (GTK/GDK) 14 of said system.
Moreover; Java order original text language (Javascript) in 12 pairs of said editor's sequences of said second function library (JSCore) is when resolving; The demand that then can in said editor's sequence, be write according to the author; Call out said compression and decompression function library (zlib) 15, said message transport function storehouse (D-Bus) 16 and said storage function library (Glib) 17 respectively via said Development Framework function time storehouse (OXLibs) 121; Said editor's sequence is set up the back accomplish said desktop software, accomplish the said desktop software, also can arrange in pairs or groups and call out the first source code function library 18 by said third party's exploitation except said editor's sequence being set up via aforementioned all kinds of function libraries; Or the said independently developed second source code function library 19 links the said desktop software of completion after together setting up with said a plurality of all kinds of function libraries.
And said Development Framework function time storehouse (OXLibs) the 121st, the function time storehouse of writing by the c programming language of low order; When using the c programming language grammer in said editor's sequence; Then can resolve and set up by said Development Framework function time storehouse (OXLibs) 121; And C/C++ program language interface is provided simultaneously, makes said Development Framework function time storehouse (OXLibs) 121 in parsing and building process, can call out the first source code function library 18 by said third party's exploitation; Or the said independently developed second source code function library 19, to link.
Hence one can see that; The method of desktop software Development Framework of the present invention; Be to import said editor's sequence earlier; The ultra word marking language (HTML) that continues and resolve in said editor's sequence by first function library (WebCore) in the said desktop software Development Framework 1 11; And said second function library (JSCore) 12 resolves the Java order original text language (Javascript) in said editor's sequence, and during the Java order original text language (Javascript) of said second function library (JSCore) 12 in resolving said editor's sequence, then calls out with the function libraries of all categories in the said computer installation and links by being located at Development Framework function time storehouses (OXLibs) 121 in said second function library (JSCore) 12; Make said editor's sequence can use said a plurality of classification function library; Accomplish a desktop software, let desktop software Development Framework 1 can carry out the program establishment to reach, and the purpose of better customized function is provided.
More than explanation is just illustrative for the purpose of the present invention, and nonrestrictive, those of ordinary skills understand; Under the situation of spirit that does not break away from following accompanying claims and limited and scope, can make many modifications, change; Or equivalence, but all will fall in protection scope of the present invention.
Claims (4)
1. the method for a desktop software Development Framework; It is characterized in that; Be to be applied in a computer installation; Said desktop software Development Framework has one first function library, one second function library, a webpage drawing function storehouse, a system drawing function storehouse, a compression and decompression function library, a message transport function storehouse and a storage function library, and carries out according to the following step:
Through outside input one editor's sequence;
Carry out according to said editor's sequence, and resolve the ultra word marking language in said editor's sequence, and said second function library is resolved the Java order original text language in said editor's sequence by first function library in the said desktop software Development Framework; And
When the Java in said second function library is resolved said editor's sequence orders the original text language; Then one be located at the interior Development Framework function of said second function library time storehouse and the interior function library calling binding of all categories of said computer installation; Make said editor's sequence can use said a plurality of classification function library, to accomplish a desktop software.
2. the method for desktop software Development Framework according to claim 1; It is characterized in that; Said first function library and said second function library are when resolving said ultra word marking language and said Java order original text language respectively; Then can call out binding, to carry out a webpage graphic plotting with said webpage drawing function storehouse.
3. the method for desktop software Development Framework according to claim 1; It is characterized in that; Said Development Framework function time storehouse in addition can with the first source code function library of third party exploitation; Or one the independently developed second source code function library link, set up said desktop software to use said a plurality of source code function library.
4. the method for desktop software Development Framework according to claim 1 is characterized in that, said a plurality of classification function libraries are respectively said system drawing function storehouse, said compression and decompression function library, said message transport function storehouse and said storage function library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100734213A CN102693122A (en) | 2011-03-25 | 2011-03-25 | Method for desktop software development framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100734213A CN102693122A (en) | 2011-03-25 | 2011-03-25 | Method for desktop software development framework |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102693122A true CN102693122A (en) | 2012-09-26 |
Family
ID=46858608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100734213A Pending CN102693122A (en) | 2011-03-25 | 2011-03-25 | Method for desktop software development framework |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102693122A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167563A (en) * | 1998-09-17 | 2000-12-26 | Unisys Corporation | Method and system for building components in a framework useful in developing integrated business-centric applications |
US20050273758A1 (en) * | 2003-03-05 | 2005-12-08 | Long Michael V | System and method for building a component base architecture |
WO2009140250A1 (en) * | 2008-05-12 | 2009-11-19 | Raytheon Company | Framework-based model-driven software development |
CN101719093A (en) * | 2009-12-09 | 2010-06-02 | 上海普元信息技术有限责任公司 | System and method for realizing cross-browser Javascript debugging in enterprise Web application system |
-
2011
- 2011-03-25 CN CN2011100734213A patent/CN102693122A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167563A (en) * | 1998-09-17 | 2000-12-26 | Unisys Corporation | Method and system for building components in a framework useful in developing integrated business-centric applications |
US20050273758A1 (en) * | 2003-03-05 | 2005-12-08 | Long Michael V | System and method for building a component base architecture |
WO2009140250A1 (en) * | 2008-05-12 | 2009-11-19 | Raytheon Company | Framework-based model-driven software development |
CN101719093A (en) * | 2009-12-09 | 2010-06-02 | 上海普元信息技术有限责任公司 | System and method for realizing cross-browser Javascript debugging in enterprise Web application system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102246150B (en) | Transforming user script code for debugging | |
CN103543993A (en) | Application program building method and system | |
CN103019538A (en) | Method and system for implementing application interface in terminal | |
CN105528418B (en) | A kind of design documentation generation method and device | |
CN105760162A (en) | Development method for hybrid APP software | |
CN102591961B (en) | Method and system for making data charts | |
CN104246659A (en) | Instantiable gesture objects | |
WO2017107572A1 (en) | Reconfiguration method for smart watch-oriented android application | |
CN102741811A (en) | Improving performance of template based JavaScript widgets | |
CN103383645A (en) | Code generation method and system | |
CN105955731B (en) | A kind of quick write method of mobile phone games and system | |
CN103853543A (en) | Method used for quickly constructing forms in enterprise information system development process | |
US20180130464A1 (en) | User interface based voice operations framework | |
CN103544024A (en) | Method and system for generating browser page and terminal device | |
CN101226479A (en) | Method for implementing dynamic collocation of mobile phone menu | |
US10019424B2 (en) | System and method that internally converts PowerPoint non-editable and motionless presentation mode slides into editable and mobile presentation mode slides (iSlides) | |
CN104407863A (en) | Abstract control model programming device and method | |
Vilček et al. | Comparative analysis of tools for development of native and hybrid mobile applications | |
CN104133676A (en) | Function execution method and function execution device based on scripts | |
CN110968996A (en) | Document making method, device, equipment and storage medium | |
CN102253986A (en) | Method and device for improving webpage displaying effect in multiple terminals | |
CN106681704A (en) | Development device and development method of user interface | |
CN104834715A (en) | Website generating method and system based on components and container | |
CN101876998A (en) | Method and system for editing data | |
CN103500099A (en) | Method for achieving quick software secondary development through expansion points and expansion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120926 |