The device of a kind of modularity What You See Is What You Get administration web page template and management method
Technical field
The present invention relates to a kind of web page template managing device, the device of especially a kind of modularity What You See Is What You Get administration web page template and management method.
Background technology
Along with the development of internet technique, the popularity of network is more and more higher, and website have also been obtained significant progress as the main contents supplier of the Internet. Website is only no longer the service platform of content supplier, and increasing enterprise even individual is proposed own website.
The work making the special knowledge of needs and team due to website, general enterprise or individual only are often difficult to reach making own website purpose by the strength of self, have to spend high cost to engage the website making unit of specialty to make, and the website made in this mode tends not to fully meet all whole expections to website due to the problem on linking up. For the problems referred to above, and then web page template service is had to release. Web page template utilizes the mode of What You See Is What You Get, site owners is allowed voluntarily the contents and distribution of webpage to be designed and to manage, make site owners that the content style of webpage is had control more freely, make the owner that the expection of website can be met to the full extent.
But, when the editing mode of existing What You See Is What You Get web page template service adds editor contact, can server end circulate output edit contact to can near editing area, and by can the parameter information of editing area and contact binding, hide simultaneously and edit contact. When the pointing device of user move to can editing area time, then editor contact is set to display, click editor contact time, the information of editing area is sent to server end, server end return parameters arranges interface. Such way, not only can affect the preview effect of template, and the page can edit block various time make system reduce performance.
Summary of the invention
For the problems referred to above that existing What You See Is What You Get web page template edit mode exists, the present invention provides device and the management method of a kind of modularity What You See Is What You Get administration web page template.
This invention address that the technical scheme that technical problem adopts is:
The device of a kind of modularity What You See Is What You Get administration web page template, wherein, including display device, pointing device, induction installation, process device, data memory device and data input device;
Described data memory device stores web page template and the user web page files to being formed after web page template editor;
Described process device is connected with described data memory device, described process device for say in described data memory device store web page template and user to after web page template editor formed web page files convert to the form being beneficial to display and induction installation is sensed give directions position with in storage device storage the corresponding of web page template edit location matches;
Described display device is connected with described process device, shows the web page template after the conversion of described process device and the display user web page files to being formed after web page template editor;
Described pointing device is connected with described display device, and described pointing device is for giving directions editing area on Page template;
Described induction installation is connected respectively with described display device and described process device, in order to sense the indication position of described pointing device, and the indication position sensed is sent to described process device;
Described data input device is connected with described process device, for inputting user's editor's data to described web page template, and stores the corresponding current region editing position of the web page template to described storage device by described process device.
The device of above-mentioned modularity What You See Is What You Get administration web page template, wherein, described display device includes partial enlargement module, and described induction installation senses giving directions position and being edited band of position local enlargement display by described partial enlargement module by corresponding on described web page template with after the corresponding editor position successful matching of the web page template in described data memory device by described process device of described pointing device.
The device of above-mentioned modularity What You See Is What You Get administration web page template, wherein, described data input device includes display interface, and described partial enlargement module will show the display interface of described data input device simultaneously during corresponding editor's band of position local enlargement display on described web page template.
A kind of method of modularity What You See Is What You Get administration web page template, wherein, including the device of above-mentioned modularity What You See Is What You Get administration web page template, specifically includes following steps:
Step a, described display device shows the web page template after being changed by described process device;
Step b, described induction installation sense the indication position of described web page template that user gives directions described display device show by described pointing device and this indication position are sent to described process device;
Step c, described process device mate according to editor position corresponding with on the web page template stored in described data memory device, indication position;
Step d, described display device partial enlargement parts empty the content shown before, amplify the editor position of the described web page template that the described process device of display matches and the attribute relevant to this editor position, and show the display interface of described data input device;
The web page template edited through user is converted to web page files by described process device after described web page template being edited by the display interface of described data input device and stores to described data memory device by step e, user, and displays confession user by display device and edit further on this basis.
The invention has the beneficial effects as follows:
Only maintain an editing area during editor, thus reducing overhead, reducing the impact on page preview, improving systematic function.
Accompanying drawing explanation
Fig. 1 is the structural representation of the device of the present invention a kind of modularity What You See Is What You Get administration web page template;
Fig. 2 is the FB(flow block) of the present invention a kind of modularity What You See Is What You Get administration web page Template Manager method.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
The device of the present invention a kind of modularity What You See Is What You Get administration web page template wherein, including display device, pointing device, induction installation, process device, data memory device and data input device; Data memory device stores web page template and the user web page files to being formed after web page template editor, and data memory device can also be remote storage device in this locality; Process device is connected with data memory device, process device for say in data memory device store web page template and user to after web page template editor formed web page files convert to the form being beneficial to display and induction installation is sensed indication position in storage device storage the corresponding of web page template edit location matches; Display device with process device is connected, display processing unit conversion after web page template and display user to after web page template editor formation web page files; Pointing device is connected with display device, and pointing device is for giving directions editing area on Page template; Induction installation is connected respectively with display device and process device, in order to sense the indication position of pointing device, and the indication position sensed is sent to process device; Data input device is connected with processing device, for inputting user's editor's data to web page template, and store the corresponding current region editing position of the web page template to storage device by processing device, this editing area can be corresponding with the DOM node of web page files, so can facilitate script that web page files is operated.
Further, wherein, display device includes partial enlargement module, and induction installation senses the indication position of pointing device and edited band of position local enlargement display by partial enlargement module by corresponding on web page template with after the corresponding editor position successful matching of the web page template in data memory device by processing device.
Further, wherein, data input device includes display interface, and partial enlargement module is by the display interface of video data input equipment while of on web page template during corresponding editor's band of position local enlargement display.
A kind of method that present invention additionally comprises modularity What You See Is What You Get administration web page template, wherein, including the device of above-mentioned modularity What You See Is What You Get administration web page template, specifically includes following steps:
Step a, display device shows the web page template after by process device conversion;
Step b, induction installation sense the indication position of web page template that user gives directions display device show by pointing device and this indication position are sent to process device;
Step c, process device mate according to editor position corresponding with on the web page template stored in data memory device, indication position;
Step d, display device partial enlargement parts empty the content shown before, amplify the editor position of the web page template that display processing unit matches and the attribute relevant to this editor position the display interface of video data input equipment; Partial enlargement parts every time amplify display current web page template editor position before empty before content, make partial enlargement parts every time only bind an editing area data, reduce overhead.
Web page template edit through user is converted to web page files and stores to data memory device by processing device after web page template being edited by the display interface of data input device by step e, user, and displays confession user by display device and edit further on this basis.
The foregoing is only preferred embodiment of the present invention; not thereby the claim of the present invention is limited; so equivalent structure change done by all utilizations description of the present invention and diagramatic content and the usual means of those skilled in the art are replaced, it is all contained in protection scope of the present invention.