CN1487446A - Method for the server and to supply user's interface for Internet explorer client end - Google Patents
Method for the server and to supply user's interface for Internet explorer client end Download PDFInfo
- Publication number
- CN1487446A CN1487446A CNA031396135A CN03139613A CN1487446A CN 1487446 A CN1487446 A CN 1487446A CN A031396135 A CNA031396135 A CN A031396135A CN 03139613 A CN03139613 A CN 03139613A CN 1487446 A CN1487446 A CN 1487446A
- Authority
- CN
- China
- Prior art keywords
- assembly
- user interface
- event
- server end
- script
- 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
- 238000000034 method Methods 0.000 title claims abstract description 95
- 238000012545 processing Methods 0.000 claims abstract description 15
- 238000005516 engineering process Methods 0.000 claims abstract description 10
- 238000006243 chemical reaction Methods 0.000 claims abstract description 7
- 238000012217 deletion Methods 0.000 claims description 10
- 230000037430 deletion Effects 0.000 claims description 10
- 230000006870 function Effects 0.000 claims description 9
- 230000000712 assembly Effects 0.000 claims description 8
- 238000000429 assembly Methods 0.000 claims description 8
- 239000012634 fragment Substances 0.000 claims description 6
- 241000208340 Araliaceae Species 0.000 claims description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 2
- 235000008434 ginseng Nutrition 0.000 claims description 2
- 238000004806 packaging method and process Methods 0.000 abstract 2
- 238000002054 transplantation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000003203 everyday effect Effects 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to the method of applying 'server end application' in providing the Internet explorer client end with user interface, and is especially the method of adopting module technology in the server end to display the user interface in the Internet explorer via packaging the user interface elements in module and packaging the operation of the user to interface elements in module event. The said application executes the following steps: accepting HTTP request the Internet explorer submits; processing report to create parameter list; obtaining from the conversation the present window module list; processing module; creating XML file; and outputting HTML file after XSL conversion. The said method can constitute user interface based on Java and has high code standardization degree, rich interface, simple operation, easy international application and convenient transplantation in different Internet explorer platforms.
Description
Technical field
The present invention relates to the text handling method in the electric digital data processing method, particularly be related to the method that browser produces HTML (HTML) file, especially relate to server end and be applied as the method that the browser client provides the HTML file.
Background technology
Move in the application program of Internet (internet) and/or Intranet (enterprises net) environment, usually adopt B/S (browser server) structure, namely at server application program (hereinafter referred to as " server end application ") is installed, realizes use to this application program in user terminal (hereinafter referred to as " client ") operation browser program. This just requires server end to be applied as the client browser various user interfaces is provided. In the prior art, user interface uses HTML (HTML) language to make up usually, and there are some defectives in this kind method: the code standardization degree is low, and the code redundancy is high, is difficult for multiplexing or reuses; User interface is simple, and operability is poor, not the interface of easy exploiting complexity; Be not easy to carry out the multilingual internationalization exploitation that server end is used; Transplanting workload between the browser platform is large.
Summary of the invention
The present invention's the technical problem that will solve is to avoid above-mentioned the deficiencies in the prior art part and proposes a kind of server end to be applied as the method that the browser client provides the HTML file.
The technical scheme that the present invention solves the problems of the technologies described above employing is, propose a kind of server end and be applied as the method that the browser client provides user interface, particularly described server end is used the assembly technology that adopts, namely user interface element is packaged into assembly, the user is packaged into the assembly event to the operation of interface element, be implemented in and show user interface on the browser, the performed step of this application comprises:
I. receive HTTP (HTTP) request that browser is submitted to;
Ii. process message and generate the ginseng tabulation;
Iii. from session, obtain current window the component list;
Iv. assembly is processed;
V. generate XML (interface description extensible markup language) file;
Vi. by XSL (extensible markup language pattern list) conversion output HTML (HTML) file;
Comprise among the described step I v that following substep is rapid:
A. judging whether to also have untreated assembly, is then to enter next step; Otherwise processing finishes to withdraw from;
B. judging the information whether this pending assembly is arranged in the parameter, is then to enter next step; Otherwise, return step a;
C. upgrade the assembly data;
Whether in this assembly have event sniffer, be then to enter next step if d. judging; Otherwise, return step a;
E. trigger the assembly event, return step a.
Compare with prior art, adopt the inventive method to make up the user interface that server end is used, can accomplish: the code standardization degree is high, the interface is abundant and simple to operate, be easy to internationalized application, and between the different viewing applicator platform, transplant conveniently.
Description of drawings
Fig. 1 is applied as the flow chart that the browser client provides the method for user interface for server end of the present invention.
Fig. 2 is the detailed process figure that assembly shown in Figure 1 is processed step 140.
Fig. 3 is the event handling process flow diagram flow chart that triggering assembly event 200 shown in Figure 2 causes.
Fig. 4 is for being interpreted as the assembly process flow diagram flow chart to XUS (extensible markup language user cross section definition script) source file solution.
Fig. 5 is the flow chart that makes up user interface example one with the inventive method.
Fig. 6 is the flow chart that makes up user interface example two with the inventive method.
Fig. 7 is the flow chart that makes up user interface example three with the inventive method.
User interface example one schematic diagram of Fig. 8 for adopting the inventive method to make up.
User interface example two schematic diagrames of Fig. 9 for adopting the inventive method to make up.
User interface example three schematic diagrames of Figure 10 for adopting the inventive method to make up.
Concrete enforcement mode
Be described in further detail below in conjunction with the most preferred embodiment shown in the accompanying drawing.
Server end of the present invention is applied as the method that the browser client provides user interface, particularly this server end is used the assembly technology that adopts, namely user interface element is packaged into assembly, the user is packaged into the assembly event to the operation of interface element, be implemented in and show user interface on the browser, this uses performed step as shown in Figure 1, comprising:
I. receive HTTP (HTTP) request 110 that browser is submitted to;
Ii. process message and generate parameter tabulation 120;
Iii. from session, obtain current window the component list 130;
Iv. assembly processes 140;
V. generate XML (interface description extensible markup language) file 150;
Vi. by XSL (extensible markup language pattern list) conversion output HTML (HTML) file 160;
Described step I v comprises that following substep is rapid as shown in Figure 2:
A. judging whether to also have untreated assembly 141, is then to enter next step; Otherwise processing finishes to withdraw from;
B. judging the information 142 whether this pending assembly is arranged in the parameter, is then to enter next step; Otherwise return step a;
C. upgrade assembly data 143;
Whether in this assembly have event sniffer 144, be then to enter next step if d. judging; Otherwise return step a;
E. trigger assembly event 200, return step a.
Server end of the present invention is applied as the method that the browser client provides user interface, and concrete assembly situation is described as follows: Component is the basic class of all assemblies, has defined the basic skills of assembly.
Method:
Event:
Title | Explanation |
attach | When control joins the method that is called in the application, usually cover the initialization operation that the method is carried out control. |
detach | The method that when control removes from use, is called. |
getApplication | The application at securing component place. |
getWindow | The window at securing component place. |
getCaption | The title of securing component, the title of assembly is usually displayed on the top of assembly. |
getIcon | The icon of securing component, the icon of assembly is usually displayed on the left side of assembly title. |
getStyle | The style of securing component (pattern), the part assembly is supported different style. |
setStyle | The style of assembly is set. |
getUserData | The user data of securing component, user data are for program, with the related Object object of assembly. |
setUserData | The user data of assembly is set. |
isEnabled | Whether determination component is disable mode. |
setEnabled | The disable mode of assembly is set. |
isImmediate | Whether determination component is Immediate Mode. The assembly of Immediate Mode will trigger event changed the attribute of assembly as the user after immediately. |
isReadOnly | Whether determination component is a reading mode, and the attribute of read-only schema component can not be modified. |
setReadOnly | A reading mode of assembly is set. |
isVisible | As seen whether determination component. |
setVisible | Assembly is set whether as seen. |
Title | Explanation |
Nothing |
ComponentContainer is the basic class of all assembly containers, has defined the basic skills of assembly container. Assembly container is the assembly that can comprise other assemblies, and that the most frequently used is exactly various Layout, Panel, TabSheet and Window.
Method:
Title | Explanation |
addComponent | In container, add a new assembly. |
moveComponentsFrom | Assembly in other assembly containers is moved in this container. |
removeAllComponents | All assemblies in the deletion assembly container. |
removeComponent | Appointment assembly in the deletion assembly container. |
Event:
Title | Explanation |
ComponentAttachListener | In container, add the event that new assembly triggers. |
ComponentDetachListener | The event that the deletion assembly triggers in container. |
AbstractField is the basic class of all input domain assemblies, and the input domain assembly among the WebUI comprises: Button, DateField, Select, TextField, Table and Tree.
Method:
Title | Explanation |
addValidator | Add a Validator and deliver for a check device to this assembly, Validator can be used for the legitimacy of verified users input. |
getValidators | Obtain all Validator of this assembly and deliver for a check device. |
removeValidator | The Validator of an assembly of deletion delivers for a check device. |
focus | Current control is set is the input focus. |
getPropertyDataSource | The Property data source of securing component. |
setPropertyDataSource | The Property data source of assembly is set. |
getType | The type of the value of securing component. The value of assembly is the Object object, obtains type by the getType method. |
getValue | The value of securing component, normally String type. |
setValue | The value of assembly is set. |
isModified | Whether the value of determination component was modified. |
isValid | Whether the input of judging the user is effective. The all Validator of this function invocation component deliver for a check device and carry out verification. |
Event:
Title | Explanation |
ReadOnlyStatusChangeEvent | The event that the conversion of assembly readonly (read-only) state triggers. |
ValueChangeEvent | The assembly value changes the event that triggers. This event is generally used for catching the user at Select, the operation of carrying out in Table and the Tree assembly. |
TextField text input box assembly is used for allowing user's input of character string. TextField has the pattern of single file and many row. Usually, the TextField assembly cooperates Validator to use the validity that is used for the inspection user input message.
Method:
Title | Explanation |
getColumns | Return the row number of TextField input frame. |
setColumns | The row number of TextField input frame is set. |
getRows | Return the line number of TextField input frame. |
setRows | The line number of TextField input frame is set. |
setSecret | The cipher mode of TextField input frame is set. |
isSecret | Judge whether the TextField input frame is cipher mode. |
setWordwrap | The automatic folding that the TextField input frame is set is capable. |
isWordwrap | Whether automatic folding is capable to judge the TextField input frame. |
Event:
Title | Explanation |
Nothing |
The DataField assembly allows user's inputting date and time.
Method:
Title | Explanation |
getResolution | The time precision of securing component has following value: RESOLUTION_DAY: be accurate to a day RESOLUTION_HOUR: be accurate to a hour RESOLUTION_MIN: be accurate to a minute RESOLUTION_MONTH: be accurate to a moon RESOLUTION_MSEC: be accurate to a millisecond RESOLUTION_SEC: be accurate to a second RESOLUTION_YEAR: be accurate to year |
setResolution | The time precision of assembly is set. |
Event:
Title | Explanation |
Nothing |
The Button assembly is used for showing a button.
Method:
Title | Explanation |
getConfirmnMessage | The affirmation information of securing component. If it is not empty confirming prompting, when user's button click, can shows and confirm information and require the user to confirm so. |
setConfirmMessage | The affirmation information of assembly is set. |
isSwitchMode | Whether determination component is switching mode, and the button reality of switching mode is a checkbox (choosing frame). |
setSwitchMode | The switching mode of assembly is set. |
Event:
Title | Explanation |
Nothing |
The Label assembly is used for showing one section text. It is that the XHTML content model shows one section XHTML code (XHTML must meet the XML grammer, otherwise can produce mistake) that Label can be set.
Method:
Title | Explanation |
getContentMode | The content model of securing component has following option: CONTENT_DEFAULT: give tacit consent to pure text pattern CONTENT_PREFORMATTED: format in advance pattern |
CONTENT_TEXT: text pattern CONTENT_UIDL:UIDL pattern CONTENT_XHTML:XHTML pattern CONTENT_XML:XML pattern | |
setContentMode | The content model of assembly is set. |
getPropertyDataSource | The Property data source of securing component. |
setPropertyDataSource | The Property data source that arranges. |
Event:
Title | Explanation |
Nothing |
The Link assembly is used for showing a link, (for example: the website) can be connected to an external resource.
Method:
Title | Explanation |
getResource | The resource that securing component connects, that the most frequently used is ExternalResource. |
setResource | The resource that assembly connects is set. |
getTargetBorder | Obtain the frame type that connects window. |
setTargetBorder | The frame type that connects window is set. |
getTargetHeight | Obtain the height that connects window. |
setTargetHeight | The height that connects window is set. |
getTargetName | Obtain the title that connects window. |
setTargetName | The title that connects window is set. |
getTargetWidth | Obtain the width that connects window. |
setTargetWidth | The width that connects window is set. |
Event:
Title | Explanation |
Nothing |
The Select assembly is used for allowing the user select an option.
Method:
Title | Explanation |
getContainerDataSource | The Container data source of securing component. |
setContainerDataSource | The Container data source of assembly is set. |
addItem | Add an option. |
getItemIds | Obtain all options. |
getItem | Obtain the option of appointment. |
removeItem | Delete an option. |
removeAllItems | Delete all options. |
getItemCaption | Obtain the title of option. |
setItemCaption | The title of option is set. |
getItemIcon | Obtain the icon of option. |
setItemIcon | The icon of option is set. |
isMultiSelect | Whether determination component is many lectotypes. |
setMultiSelect | Many lectotypes of assembly are set. |
isNewItemsAllowed | Whether determination component allows to add new option. |
setNewItemsAllowed | Assembly is set whether allows to add new option. |
isSelected | Whether the option of judging appointment is selected. |
select | Choose the option of appointment. |
unselect | Do not choose the option of appointment. |
size | Obtain the number of option. |
Event:
Title | Explanation |
Nothing |
The Table assembly is used for showing the data record tabulation.
Method:
Title | Explanation |
addActionHandler | Add the record operation processing program, can the son operation be set for record. |
removeActionHandler | Deletion record operation processing program. |
getColumnAlignments | Obtain the alignment thereof of row. |
setColumnAlignments | The alignment thereof of row is set. |
getColumnHeaders | Obtain the title of row. |
setColumnHeaders | The title of row is set. |
getColumnIcons | Obtain the icon of row. |
setColumnIcons | The icon of row is set. |
getCurrentPageFirstItemId | Obtain current page or leaf first. |
setCurrentPageFirstItemId | First of current page or leaf is set. |
getCurrentPageFirstItemIndex | Obtain first index of current page or leaf. |
setCurrentPageFirstItemIndex | First index of current page or leaf is set. |
isSelectable | Judge whether the item in the current form can be selected. |
setSelectable | Whether the item that arranges in the current form can be selected. |
refreshCurrentPage | Refresh the data of current page or leaf. |
setPageLength | The record number of every page of demonstration is set. |
Event:
Title | Explanation |
Nothing |
The Tree assembly is used for showing a tree type view.
Method:
Title | Explanation |
addActionHandler | Add nodal operation and process program, can be the operation of Node configuration. |
removeActionHandler | The deletion nodal operation is processed program. |
areChildrenAllowed | Judge whether certain node allows to have child node. |
setChildrenAllowed | Certain node is set whether allows to have child node. |
collapseItem | Close the node of tree. |
collapseItemsRecursively | Recurrence is closed the node of tree. |
expandItem | Launch the node of tree. |
expandItemsRecursively | Recurrence is launched the node of tree. |
getChildren | Obtain the child node of specified node. |
getParent | Obtain father's node of specified node. |
setParent | Father's node of specified node is set. |
hasChildren | Judge whether specified node comprises child node. |
isExpanded | Judge whether specified node launches. |
isRoot | Judge whether specified node is the root node. |
rootItemIds | Obtain all child nodes of tree. |
isSelectable | Whether decision tree can be selected. |
setSelectable | Whether tree is set can select. |
Event:
Title | Explanation |
CollapseListener | The event that triggers when launching the node of tree. |
ExpandListener | The event that triggers when closing the node of tree. |
MainMenu is used for showing the main menu of an application. Can come from an xml resource file, to be written into menu with the CIResource tool-class.
Method:
Title | Explanation |
addMenuItem | Add a menu item. |
Event:
Title | Explanation |
CommandListener | The event that the user selects menu item to trigger. |
The Toolbar assembly is used for showing a tool bar. Can come from an xml resource file, to be written into tool bar with the CIResource tool-class.
Method:
Title | Explanation |
addToolbarBar | Add a tool bar. |
getToolbarBar | Obtain the tool bar of appointment. |
getToolbarBars | Obtain all tool bars. |
addButton | Tool bar in appointment adds a button. |
addSeparator | Tool bar in appointment adds a divider. |
getToolbarWidth | The width of securing component. |
setToolbarWidth | The width of assembly is set. |
Event:
Title | Explanation |
CommandListener | The event that the user selects menu item to trigger. |
The WebEditor assembly is used for using at window the HTML editing machine of a What You See Is What You Get.
Method:
Title | Explanation |
getValue | Obtain the content in the editing machine. |
setValue | Content in the editing machine is set. |
Event:
Title | Explanation |
Nothing |
The Calendar assembly is used for showing the calendar of a schedule.
Method:
Title | Explanation |
getDate | Obtain the current date of calendar. |
setDate | The current date of calendar is set. |
getTasksDataSource | Obtain the schedule data source of calendar. |
setTasksDataSource | The schedule data source of calendar is set. |
getTasksRows | Obtain the number that every day, task showed. |
setTasksRows | The number that every day, task showed is set. |
getTaskTextLimt | Obtain the width that task shows. |
setTaskTextLimt | The width that task shows is set. |
Event:
Title | Explanation |
CalenderListener | When the user has clicked the event that the task in the schedule triggers. |
The OrderedLayout layout is with assembly laterally or the layout that vertically is arranged in order.
Method:
Title | Explanation |
getOrientation | Obtain the direction of OrderedLayout layout, following value: ORIENTATION_HORIZONTAL is arranged: horizontal ORIENTATION_VERTICAL: vertically |
setOrientation | The direction of OrderedLayout layout is set. |
The GridLayout layout is that assembly is placed on layout in the grid. Each assembly can occupy the one or more continuous grid in the layout.
Method;
Title | Explanation |
getCursorX | Obtain the row of current vernier. |
getCursorY | Obtain the row of current vernier. |
newLine | Current vernier is moved next line. |
space | Current vernier is moved next row. |
setWidth | The row number of layout is set. |
getWidth | Obtain the row number of layout. |
setHeight | The line number of layout is set. |
getHeight | Obtain the line number of layout. |
The AlignmentLayout layout can arrange width, and height and to its mode usually is nested in other the layout and uses.
Method:
Title | Explanation |
getAlign | Obtain the lateral alignment pattern, following value: ALIGN_center is arranged: ALIGN_left between two parties aligns: left-justify ALIGN_right: right alignment |
setAlign | The lateral alignment pattern is set. |
getValign | Obtain vertically homogeneous mode, following value: VALIGN_BASELINE is arranged: Base alignment: See Alignment VALIGN_bottom: bottom line alignment VALIGN_middle: center line alignment VALIGN_top: top line alignment |
setValign | Arrange vertically to homogeneous mode. |
The Panel assembly has title and frame, is generally used for making up the relevant assembly of a series of functions.
TabSheet is used for showing an attribute page or leaf.
Method:
Title | Explanation |
addTab | Add an attribute page or leaf. |
getSelectedTab | Obtain the current attribute page or leaf of choosing. |
setSelectedTab | The current attribute page or leaf of choosing is set. |
getTabIeon | The icon of getattr page or leaf. |
setTabIcon | The icon of attribute page or leaf is set. |
getTabCaption | The title of getattr page or leaf. |
setTabCaption | The title of attribute page or leaf is set. |
Event:
Title | Explanation |
SelectedTabChangeListener | The event that user's switch attribute page or leaf triggers. |
The Embedded assembly is used for embedding picture or object at window.
Method:
Title | Explanation |
getSouree | Obtain the resource of picture. |
setSource | The resource of picture is set. |
Event:
Title | Explanation |
Nothing |
The Upload assembly is used for upper transmitting file.
Method:
Title | Explanation |
setReceiver | Arrange |
getReceiver |
Event:
Title | Explanation |
FailedListener | The event that upper transmitting file unsuccessfully triggers. |
FinishedListener | The event of upper transmitting file end trigger. |
SueceededListener | The event that upper transmitting file successfully triggers. |
HtmlSegment is used for directly exporting HTML code segment at window.
Method:
Title | Explanation |
setValue | The content of HTML code segment is set. |
getValue | Obtain the content of HTML code segment. |
Event:
Title | Explanation |
Nothing |
Below generate processes by several concrete interfaces, the assembly technology of the inventive method is further described, these processes can be applied to various B/S structure applications program development based on Java Servlet (servlet) technology.
Example one:
Interfacial effect as shown in Figure 8, its generation process as shown in Figure 5, the step that comprises has: create date input domain assembly; Add date input domain assembly event sniffer; The establishing label assembly; Obtain the date that the user selects; Trigger date input domain assembly event; Label assembly is set shows the selected date of user.
Example two:
Interfacial effect as shown in Figure 9, its generation process as shown in Figure 6, the step that comprises has: obtain the application resource; From resource, be written into menu; Tool bar from resource; The establishing label assembly; Obtain menu or tool bar that the user selects; The trigger command event; Label assembly is set shows the selected order of user.
Example three:
Interfacial effect as shown in figure 10, its generation process as shown in Figure 7, the step that comprises has: create the Web page editor assembly; Create button assembly; Add the button assembly event sniffer; Create HTML fragment assembly; Obtain the user to the design of webpage with to the click of button; Trigger the button assembly event; HTML fragment assembly is set, shows the designed webpage of user.
The triggering assembly event that produces in the assembly processing process of the inventive method can cause the server end application and enter the assembly processing, and following steps are carried out in the described application of this process:
A. whether decision event processing process uses BLS (professional logic script) to write, and is then to enter next step; Otherwise,
The event handling process of invoke user finishes to withdraw from;
B. the event handling process of invoke script system;
C. judging whether the script of this event is registered in script system, is then to enter next step; Otherwise, finish to withdraw from;
D. invoke script;
E. having judged whether unusual generation, is then to enter next step, otherwise, finish to withdraw from;
G. process unusually, finish to withdraw from;
The inventive method can utilize XUS (extensible markup language user cross section definition script) source file to explain and generate relevant assembly by making up an explanation device, the user is when design component like this, just only need write the XUS file, greatly simplified the generation process of user interface, in this explanation process, explain that the performed step of device comprises:
A. resolve source file, the structure element-tree;
B. having judged whether untreated element, is then to enter next step; Otherwise, to add the assembly that creates and arrive the script variable environment, processing finishes to withdraw from;
C. according to the type under the element, create the type, then enter next step; That is: be resource, establishing resource then; Be variable, then create variable; Be function, then create function; Be script fragments, then create script fragments; If interface object is handled this object and entered next step, the processing of described interface object comprises step:
1. whether disconnected have untreated daughter element, is then to enter next step, otherwise the processing end is withdrawed from;
2. create assembly corresponding to daughter element, return step 1;
D. preserve the object that creates and arrive tabulation, return step b.
The inventive method, can make up a user interface style management program module, its function is to be written into user interface style prescription from various data source, this program module application is in the process by XSL (extensible markup language pattern list) conversion output HTML (HTML) file, to generate the different-style operation interface of using. Like this, need not to revise in the situation of any application program:
1. can generate the operation interface of different-style, for example: Windows style operation interface, Mac style operation interface etc.
2. can generate the support for different terminals, except supporting IE, outside the PC browsers such as Netscape/Mozilla, can also generate the WML user interface of supporting the WAP mobile phone by specific XSL.
The inventive method is used a kind of XUS (XML User interface Script) XML User Interface Script language, can produce by writing an XML file user interface of B/S structure applications. Use to support the integrated development environment of XUS language, programmer just can the visual design user interface, raising development efficiency. Come developing user interface to also have a very significant advantage to be after using issue, only to revise the XUS resource of using with XUS, just can finish again customization to user interface and need not the program of again writing.
The inventive method is used a kind of BLS (professional logic script) language. The BLS language is the script language of a kind Java grammer, can be used for coming process user to operate the event that produces behind the interface assembly at the XUS file. Use the BLS language, needn't again compile source program by the professional logic of revising the customized application of script after can be implemented in the issue of application. BLS and XUS provide a kind of extraordinary mechanism for the flexible customization of application system together.
Adopt the inventive method, can make the software development division of labor more be tending towards clear and definite and reasonable:
1. the advanced procedures person who is proficient in the technology details develops various interface assemblies.
2. the programmer who is familiar with professional logic chooses the interface assembly logic of managing business, and needn't understand the inner complicated technology that realizes of interface assembly.
3. fine arts personnel independently write Theme (interface style prescription), and can not relate to any program.
Adopt the inventive method, can increase substantially development efficiency and quality based on the B/S structure applications program user interface of Java.
Claims (10)
1. one kind " server end application " is characterized in that for the browser client provides the method for user interface:
Described server end is used and is adopted the assembly technology, namely user interface element is packaged into assembly, and the user is packaged into the assembly event to the operation of interface element, is implemented in to show user interface on the browser, and this server end is used performed step and comprised:
I. receive HTTP (HTTP) request that browser is submitted to;
Ii. process message and generate the ginseng tabulation;
Iii. from session, obtain current window the component list;
Iv. assembly is processed;
V. generate XML (interface description extensible markup language) file;
Vi. by XSL (extensible markup language pattern list) conversion output HTML (HTML) file;
Comprise among the described step I v that following substep is rapid:
A. judging whether to also have untreated assembly, is then to enter next step; Otherwise processing finishes to withdraw from;
B. judging the information whether this pending assembly is arranged in the parameter, is then to enter next step; Otherwise, return step a;
C. upgrade the assembly data;
Whether in this assembly have event sniffer, be then to enter next step if d. judging; Otherwise, return step a;
E. trigger the assembly event, return step a.
2. server end is applied as the method that the browser client provides user interface as claimed in claim 1, it is characterized in that:
All assemblies comprise a basic class, and this base class has defined the basic skills of assembly, comprising:
When assembly joins the method that is called in the application;
The method that when assembly removes from use, is called;
The application at securing component place;
The window at securing component place;
The title of securing component;
The icon of securing component;
The style of securing component;
The style of assembly is set;
The user data of securing component;
Whether determination component is disable mode;
The disable mode of assembly is set;
Whether determination component is Immediate Mode;
Whether determination component is a reading mode;
A reading mode of assembly is set;
As seen whether determination component;
Assembly is set whether as seen.
3. server end is applied as the method that the browser client provides user interface as claimed in claim 2, it is characterized in that:
All assembly containers refer to comprise the assembly of other assembly, comprise a basic class, and this base class has defined the basic skills of assembly container, comprising:
In container, add a new assembly;
Assembly in other assembly containers is moved in this container;
All assemblies in the deletion assembly container
Appointment assembly in the deletion assembly container;
In container, add the event that new assembly triggers;
The event that the deletion assembly triggers in container.
4. server end is applied as the method that the browser client provides user interface as claimed in claim 2, it is characterized in that:
All input domain assemblies comprise a basic class, and this base class has defined the basic skills of input domain assembly, comprising: add an effective indication and deliver for a check device to this assembly, this delivers for a check the legitimacy that device can be used for the verified users input; Obtain all effective indications of this assembly and deliver for a check device; Device is delivered for a check in effective indication of an assembly of deletion; Arrange and work as front assembly for inputting focus; The data source that has of securing component; The data source that has of assembly is set; The type of the value of securing component; The value of securing component; The value of assembly is set; Whether the value of determination component was modified; Whether the input of judging the user is effective; An assembly event that the read states conversion triggers; The assembly value changes the event that triggers.
5. be applied as the side that the browser client provides user interface such as server end as described in arbitrary in the claim 1 to 4
Method is characterized in that: described assembly comprises: text input box is used for allowing user's input of character string; On the date, allow user's inputting date and time; Button is used for showing a button; Label is used for showing one section text; Link is used for showing a link, can be connected to an external resource; Select, be used for allowing the user select an option; Form is used for showing the data record tabulation; Tree is used for showing a tree type view; Main menu is for the main menu that shows an application; Tool bar is used for showing a tool bar; The page editing device is used for the HTML editing machine at a What You See Is What You Get of window use; Calendar is for the calendar that shows a schedule; The ordering layout is with assembly laterally or the layout that vertically is arranged in order; The grid layout is that assembly is placed on layout in the grid; The alignment layout can arrange width, and height and alignment thereof usually are nested in other the layout and use; Panel has title and frame, is generally used for making up the relevant assembly of a series of functions; List is used for showing an attribute page or leaf; Embed, be used for embedding picture or object at window; Upload, be used for upper transmitting file; HTML code segment is used for directly exporting HTML code segment at window.
6. server end is applied as the method that the browser client provides user interface as claimed in claim 1, it is characterized in that:
Triggering assembly event among the rapid e of described substep, cause server end and use the execution following steps:
A. whether decision event processing process uses BLS (professional logic script) to write, and is then to enter next step; Otherwise the event handling process of invoke user finishes to withdraw from;
B. the event handling process of invoke script system;
C. judging whether the script of this event is registered in script system, is then to enter next step; Otherwise, finish to withdraw from;
D. invoke script;
E. having judged whether unusual generation, is then to enter next step, otherwise, finish to withdraw from;
F. process unusually, finish to withdraw from;
7. server end is applied as the method that the browser client provides user interface as claimed in claim 1, it is characterized in that:
Can make up an explanation device, be used for XUS (extensible markup language user cross section definition script) source file solution is interpreted as described assembly, the performed step of this explanation device comprises:
A. resolve source file, the structure element-tree;
B. having judged whether untreated element, is then to enter next step; Otherwise, to add the assembly that creates and arrive the script variable environment, processing finishes to withdraw from;
C. according to the type under the element, create the type, then enter next step; That is: be resource, establishing resource then; Be variable, then create variable; Be function, then create function; Be script fragments, then create script fragments;
If interface object is handled this object and entered next step, the processing of described interface object comprises step:
1. having judged whether untreated daughter element, is then to enter next step, otherwise the processing end is withdrawed from;
2. create assembly corresponding to daughter element, return step 1;
D. preserve the object that creates and arrive tabulation, return step b.
8. server end is applied as the method that the browser client provides user interface as claimed in claim 1, it is characterized in that:
Can make up user interface style management program module, its function is to be written into user interface style prescription from various data source, and this program module application is in described step vi, to generate the different-style operation interface of using.
9. server end is applied as the method that the browser client provides user interface as claimed in claim 6, it is characterized in that:
Described BLS is the script of a kind Java grammer, is used for the event produce behind XUS file process user interface assembly, can realize that server end is used needn't again compile source program after the issue and change user interface.
10. server end is applied as the method that the browser client provides user interface as claimed in claim 1, it is characterized in that: described server end is used based on Java.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA031396135A CN1487446A (en) | 2003-06-24 | 2003-06-24 | Method for the server and to supply user's interface for Internet explorer client end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA031396135A CN1487446A (en) | 2003-06-24 | 2003-06-24 | Method for the server and to supply user's interface for Internet explorer client end |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1487446A true CN1487446A (en) | 2004-04-07 |
Family
ID=34155031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA031396135A Pending CN1487446A (en) | 2003-06-24 | 2003-06-24 | Method for the server and to supply user's interface for Internet explorer client end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1487446A (en) |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100340997C (en) * | 2004-09-04 | 2007-10-03 | 华为技术有限公司 | Automatic test method of application |
CN100343802C (en) * | 2004-05-10 | 2007-10-17 | 华为技术有限公司 | Method and system for unifying users'interface |
CN100349490C (en) * | 2004-09-13 | 2007-11-14 | 英华达(南京)科技有限公司 | Method of copying hand held device software interface |
CN100390735C (en) * | 2004-12-06 | 2008-05-28 | 国际商业机器公司 | Method and system for generating graphical user interface mockups |
CN100418055C (en) * | 2005-10-04 | 2008-09-10 | 国际商业机器公司 | Method and system for user interface widget unit sharing |
CN100481002C (en) * | 2007-04-18 | 2009-04-22 | 杭州华三通信技术有限公司 | Web interface extending method and device |
CN101080055B (en) * | 2006-12-21 | 2010-06-16 | 腾讯科技(深圳)有限公司 | A method, system and device for quickly browsing webpage via mobile phone browser |
CN101078987B (en) * | 2006-05-24 | 2010-06-23 | 国际商业机器公司 | Method, device and system for establishing customizable wrappers for web applications |
CN101924982A (en) * | 2009-06-10 | 2010-12-22 | 中兴通讯股份有限公司 | Method and system for realizing data services |
CN102170439A (en) * | 2011-04-20 | 2011-08-31 | 深圳创维-Rgb电子有限公司 | Application service expansion system |
CN102207872A (en) * | 2011-06-04 | 2011-10-05 | 中国移动通信集团内蒙古有限公司 | Method and system for customizing Web UI (User Interface) control according to user requirements |
WO2012068885A1 (en) * | 2010-11-23 | 2012-05-31 | 腾讯科技(深圳)有限公司 | Method for editing application webpage and device for same |
CN102576283A (en) * | 2009-09-24 | 2012-07-11 | 三星电子株式会社 | Apparatus and method for providing customizable remote user interface pages |
CN102591647A (en) * | 2010-12-27 | 2012-07-18 | 微软公司 | Converting desktop applications to web applications |
CN101876998B (en) * | 2009-12-07 | 2012-11-28 | 金蝶软件(中国)有限公司 | Method and system for editing data |
CN101645872B (en) * | 2008-08-05 | 2012-12-19 | 北京大学 | Business service system of Internet large-scale application environment and working method thereof |
CN102981877A (en) * | 2012-11-28 | 2013-03-20 | 北京奇虎科技有限公司 | Method and device for loading picture toolbar |
CN103064609A (en) * | 2011-10-21 | 2013-04-24 | 联想(北京)有限公司 | Display method and device of extended information |
CN103500190A (en) * | 2012-03-31 | 2014-01-08 | 奇智软件(北京)有限公司 | Method and device for updating icon content |
CN103617064A (en) * | 2013-12-09 | 2014-03-05 | 五八同城信息技术有限公司 | Improved method for updating mobile client product |
CN104020996A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Instruction front-end system and corresponding instruction front-end interactive method |
CN104054050A (en) * | 2011-10-28 | 2014-09-17 | 多若公司 | Improved configuration of a user interface for a mobile communications terminal |
CN101964949B (en) * | 2006-03-27 | 2014-11-26 | 三星电子株式会社 | Method and system for providing a poc box service in a PoC system |
CN104598242A (en) * | 2015-01-28 | 2015-05-06 | 贵州省邮电规划设计院有限公司 | Method for realizing intuitive operation by using WEB side-based natural application interactive interface |
CN104683317A (en) * | 2013-12-03 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Extraction method and system for UI data, client and server |
CN104756072A (en) * | 2012-11-02 | 2015-07-01 | 微软公司 | Cross-platform data visualizations using common descriptions |
CN105446710A (en) * | 2014-08-06 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Interface providing system and interface providing method |
CN105653750A (en) * | 2014-12-03 | 2016-06-08 | 航天科工仿真技术有限责任公司 | Realization method for assembly layout in human computer interface 3D designing system |
CN106997298A (en) * | 2016-01-22 | 2017-08-01 | 阿里巴巴集团控股有限公司 | A kind of application resource acquisition methods and device |
CN107657420A (en) * | 2016-07-25 | 2018-02-02 | 武汉票据交易中心有限公司 | A kind of flow path processing method and system based on event |
CN111158645A (en) * | 2019-12-10 | 2020-05-15 | 杭州中天微系统有限公司 | System and method for providing an integrated development environment |
CN112926288A (en) * | 2019-12-06 | 2021-06-08 | 北京阿博茨科技有限公司 | Business intelligent data visualization method, system, device and readable storage medium |
-
2003
- 2003-06-24 CN CNA031396135A patent/CN1487446A/en active Pending
Cited By (46)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100343802C (en) * | 2004-05-10 | 2007-10-17 | 华为技术有限公司 | Method and system for unifying users'interface |
CN100340997C (en) * | 2004-09-04 | 2007-10-03 | 华为技术有限公司 | Automatic test method of application |
CN100349490C (en) * | 2004-09-13 | 2007-11-14 | 英华达(南京)科技有限公司 | Method of copying hand held device software interface |
CN100390735C (en) * | 2004-12-06 | 2008-05-28 | 国际商业机器公司 | Method and system for generating graphical user interface mockups |
CN100418055C (en) * | 2005-10-04 | 2008-09-10 | 国际商业机器公司 | Method and system for user interface widget unit sharing |
CN101964949B (en) * | 2006-03-27 | 2014-11-26 | 三星电子株式会社 | Method and system for providing a poc box service in a PoC system |
CN101078987B (en) * | 2006-05-24 | 2010-06-23 | 国际商业机器公司 | Method, device and system for establishing customizable wrappers for web applications |
CN101080055B (en) * | 2006-12-21 | 2010-06-16 | 腾讯科技(深圳)有限公司 | A method, system and device for quickly browsing webpage via mobile phone browser |
CN100481002C (en) * | 2007-04-18 | 2009-04-22 | 杭州华三通信技术有限公司 | Web interface extending method and device |
CN101645872B (en) * | 2008-08-05 | 2012-12-19 | 北京大学 | Business service system of Internet large-scale application environment and working method thereof |
CN101924982A (en) * | 2009-06-10 | 2010-12-22 | 中兴通讯股份有限公司 | Method and system for realizing data services |
CN102576283A (en) * | 2009-09-24 | 2012-07-11 | 三星电子株式会社 | Apparatus and method for providing customizable remote user interface pages |
CN101876998B (en) * | 2009-12-07 | 2012-11-28 | 金蝶软件(中国)有限公司 | Method and system for editing data |
WO2012068885A1 (en) * | 2010-11-23 | 2012-05-31 | 腾讯科技(深圳)有限公司 | Method for editing application webpage and device for same |
TWI552075B (en) * | 2010-12-27 | 2016-10-01 | 微軟技術授權有限責任公司 | Converting desktop applications to web applications |
CN102591647B (en) * | 2010-12-27 | 2016-01-20 | 微软技术许可有限责任公司 | Desktop application is converted to web application |
CN102591647A (en) * | 2010-12-27 | 2012-07-18 | 微软公司 | Converting desktop applications to web applications |
US9176742B2 (en) | 2010-12-27 | 2015-11-03 | Microsoft Technology Licensing, Llc | Converting desktop applications to web applications |
CN102170439A (en) * | 2011-04-20 | 2011-08-31 | 深圳创维-Rgb电子有限公司 | Application service expansion system |
CN102170439B (en) * | 2011-04-20 | 2014-04-02 | 深圳创维-Rgb电子有限公司 | Application service expansion system |
CN102207872B (en) * | 2011-06-04 | 2014-08-06 | 中国移动通信集团内蒙古有限公司 | Method and system for customizing Web UI (User Interface) control according to user requirements |
CN102207872A (en) * | 2011-06-04 | 2011-10-05 | 中国移动通信集团内蒙古有限公司 | Method and system for customizing Web UI (User Interface) control according to user requirements |
CN103064609A (en) * | 2011-10-21 | 2013-04-24 | 联想(北京)有限公司 | Display method and device of extended information |
CN104054050A (en) * | 2011-10-28 | 2014-09-17 | 多若公司 | Improved configuration of a user interface for a mobile communications terminal |
CN103500190B (en) * | 2012-03-31 | 2017-05-03 | 北京世界星辉科技有限责任公司 | Icon content updating method and device |
CN103500190A (en) * | 2012-03-31 | 2014-01-08 | 奇智软件(北京)有限公司 | Method and device for updating icon content |
CN104756072A (en) * | 2012-11-02 | 2015-07-01 | 微软公司 | Cross-platform data visualizations using common descriptions |
US10254848B2 (en) | 2012-11-02 | 2019-04-09 | Microsoft Technology Licensing, Llc | Cross-platform data visualizations using common descriptions |
CN104756072B (en) * | 2012-11-02 | 2018-05-04 | 微软技术许可有限责任公司 | For the cross-platform data visualization method and system using public description |
US9824473B2 (en) | 2012-11-02 | 2017-11-21 | Microsoft Technology Licensing, Llc | Cross-platform data visualizations using common descriptions |
CN102981877B (en) * | 2012-11-28 | 2016-06-01 | 北京奇虎科技有限公司 | Picture toolbar loading method and device |
CN102981877A (en) * | 2012-11-28 | 2013-03-20 | 北京奇虎科技有限公司 | Method and device for loading picture toolbar |
CN104683317A (en) * | 2013-12-03 | 2015-06-03 | 腾讯科技(深圳)有限公司 | Extraction method and system for UI data, client and server |
CN103617064A (en) * | 2013-12-09 | 2014-03-05 | 五八同城信息技术有限公司 | Improved method for updating mobile client product |
CN104020996A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | Instruction front-end system and corresponding instruction front-end interactive method |
CN104020996B (en) * | 2014-06-13 | 2017-05-10 | 中国民航信息网络股份有限公司 | Instruction front-end system and corresponding instruction front-end interactive method |
CN105446710A (en) * | 2014-08-06 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Interface providing system and interface providing method |
CN105446710B (en) * | 2014-08-06 | 2020-04-14 | 阿里巴巴集团控股有限公司 | Interface providing system and interface providing method |
CN105653750A (en) * | 2014-12-03 | 2016-06-08 | 航天科工仿真技术有限责任公司 | Realization method for assembly layout in human computer interface 3D designing system |
CN104598242A (en) * | 2015-01-28 | 2015-05-06 | 贵州省邮电规划设计院有限公司 | Method for realizing intuitive operation by using WEB side-based natural application interactive interface |
CN106997298A (en) * | 2016-01-22 | 2017-08-01 | 阿里巴巴集团控股有限公司 | A kind of application resource acquisition methods and device |
CN107657420A (en) * | 2016-07-25 | 2018-02-02 | 武汉票据交易中心有限公司 | A kind of flow path processing method and system based on event |
CN112926288A (en) * | 2019-12-06 | 2021-06-08 | 北京阿博茨科技有限公司 | Business intelligent data visualization method, system, device and readable storage medium |
CN112926288B (en) * | 2019-12-06 | 2023-07-18 | 北京阿博茨科技有限公司 | Business intelligent data visualization method, system, equipment and readable storage medium |
CN111158645A (en) * | 2019-12-10 | 2020-05-15 | 杭州中天微系统有限公司 | System and method for providing an integrated development environment |
CN111158645B (en) * | 2019-12-10 | 2022-09-20 | 杭州中天微系统有限公司 | System and method for providing an integrated development environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1487446A (en) | Method for the server and to supply user's interface for Internet explorer client end | |
CN1249577C (en) | Method and apparatus for interoperation between legacy software and screen reader programs | |
CN1229715C (en) | Information control system and information processing method | |
CN1249605C (en) | Information providing servicer, terminal apparatus and its controlling method, and information providing system | |
CN1223938C (en) | Method of packing member and consistent visit | |
CN1577263A (en) | Multilanguage-supporting user interface realizing method and apparatus thereof | |
US7716665B2 (en) | System and method for developing portal applications and for automatically deploying portal applications into a portal server application | |
CN101383871B (en) | Network element configuration implementing method and apparatus | |
CN1114875C (en) | Display information decision method and device and storage media | |
CN1976352A (en) | Method and system for providing supporting of long-distance software application | |
CN1627257A (en) | Framework for creating modular web applications | |
CN1728094A (en) | Smart gui activity recording and playback framework | |
CN1922608A (en) | Virtual file system | |
CN101038550A (en) | Information processing apparatus and information processing method | |
CN109710902A (en) | Generation method, device, equipment and the computer readable storage medium of PDF document | |
US10650093B2 (en) | Data structure processing for actionable notifications | |
CN1568453A (en) | Contextually adaptive web browser | |
US7093264B2 (en) | Method and apparatus for assembling Enterprise JavaBeans components | |
CN1220745A (en) | Web/emulator server and web browser terminal emulator for persistent connection to legacy host system operation | |
CN1808377A (en) | Application-generic sequence diagram generator driven by a non-proprietary language | |
CN1682183A (en) | Method and computer system for processing incremental data in client-server communication | |
CN108874680A (en) | A kind of method for testing software and system of automation | |
CN1208482A (en) | distributed processing | |
CN1265208A (en) | data communication | |
CN1639696A (en) | System and method for concurrent multimodal communication session persistence |
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 |