A kind of device and management method of modularization What You See Is What You Get administration web page template
Technical field
The present invention relates to a kind of web page template management devices, especially a kind of device and management method of modularization What You See Is What You Get administration web page template.
Background technology
Along with the development of internet technique, the popularity of network is more and more higher, and the website has also obtained significant progress as the main contents supplier of internet.The website no longer only is the service platform of content supplier, and increasing enterprise even individual have released own website.
Because the making of website needs special knowledge and the work of team, general enterprise or individual only rely on the strength of self often to be difficult to reach the own website of making purpose, have to spend high cost and engage the website making unit of specialty to make, and with the website of this pattern making because the problem on linking up often can not satisfy all fully to whole expections of website.For the problems referred to above, and then there is the web page template service to release.Web page template utilizes the mode of What You See Is What You Get, allow site owners voluntarily the contents and distribution of webpage be designed and manages, make site owners that the content style of webpage is had more freely control, the owner can be met to the full extent to the expection of website.
But, when the editing mode of existing What You See Is What You Get web page template service adds the editor contact, but can be in server end circulation output edit contact near the editing area, but and parameter information and contact binding that will editing area, the simultaneously hiding contact of editing.When but user's pointing device moves to editing area, edit the contact again and be set to show, when clicking the editor contact, the information of editing area is sent to server end, the server end return parameters arranges the interface.Such way not only can affect the preview effect of template, and can edit block at the page and make system's performance when various.
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 invention provides a kind of device and management method of modularization What You See Is What You Get administration web page template.
The technical scheme that technical solution problem of the present invention adopts is:
A kind of device of modularization What You See Is What You Get administration web page template wherein, comprises display device, pointing device, induction installation, treating apparatus, data memory device and data input device;
Described data memory device stores the web page files that web page template and user form after to the web page template editor;
Described treating apparatus is connected with described data memory device, described treating apparatus be used for saying the web page files that forms after web page template that described data memory device stores and user are to the web page template editor converts the form that is beneficial to demonstration to and indication position that induction installation is sensed and storage device in corresponding editor's location matches of the web page template that stores;
Described display device is connected with described treating apparatus, shows the web page template after described treating apparatus is changed and shows the web page files that forms after the user is to the web page template editor;
Described pointing device is connected with described display device, and described pointing device is used for giving directions editing area on the Page template;
Described induction installation and described display device be connected treating apparatus and be connected respectively, in order to responding to the indication position of described pointing device, and the indication position that will sense is sent to described treating apparatus;
Described data input device is connected with described treating apparatus, is used for the input user to the editing data of described web page template, and is stored to the zone of the corresponding current editor of the web page template position in the described storage device by described treating apparatus.
The device of above-mentioned modularization What You See Is What You Get administration web page template, wherein, described display device comprises local amplification module, and described induction installation is sensed the indication position of described pointing device also by editing accordingly band of position local enlargement display on the described web page template by described local amplification module after the corresponding editor position successful matching of the web page template in described treating apparatus and the described data memory device.
The device of above-mentioned modularization What You See Is What You Get administration web page template, wherein, described data input device comprises display interface, and described local amplification module will show the display interface of described data input device during the local enlargement display of the corresponding editor band of position simultaneously on the described web page template.
A kind of method of modularization What You See Is What You Get administration web page template wherein, comprises the device of above-mentioned modularization What You See Is What You Get administration web page template, specifically comprises the steps:
Step a, described display device shows by the web page template after the described treating apparatus conversion;
Step b, described induction installation are sensed the user and are given directions the indication position of the described web page template that described display device shows and give directions position to be sent to described treating apparatus this by described pointing device;
Step c, described treating apparatus mate the position according to corresponding editor on the web page template that stores in indication position and the described data memory device;
The content that shows before the local amplifier unit of steps d, described display device empties, amplify the editor position of the described web page template that shows that described treating apparatus matches and the attribute relevant with this editor position, and show the display interface of described data input device;
To convert web page files to through the web page template that the user edits by described treating apparatus after step e, user edit described web page template by the display interface of described data input device and be stored to described data memory device, and show that by display device the confession user further edits on this basis.
The invention has the beneficial effects as follows:
Only keep an editing area during editor, thereby reduce system overhead, reduce the impact on page preview, improve system performance.
Description of drawings
Fig. 1 is the structural representation of the device of a kind of modularization What You See Is What You Get of the present invention administration web page template;
Fig. 2 is the FB(flow block) of a kind of modularization What You See Is What You Get of the present invention administration web page Template Manager method.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as limiting to the invention.
The device of a kind of modularization What You See Is What You Get of the present invention administration web page template wherein comprises display device, pointing device, induction installation, treating apparatus, data memory device and data input device; Data memory device stores the web page files that web page template and user form after to the web page template editor, and data memory device can also can be the remote storage device in this locality; Treating apparatus is connected with data memory device, treating apparatus be used for saying the web page files that forms after web page template that data memory device stores and user are to the web page template editor converts the form that is beneficial to demonstration to and indication position that induction installation is sensed and storage device in corresponding editor's location matches of the web page template that stores; Display device is connected with treating apparatus, the web page template after the display processing unit conversion and show the web page files that forms after the user is to the web page template editor; Pointing device is connected with display device, and pointing device is used for giving directions editing area on the Page template; Induction installation and display device and treating apparatus are connected respectively, and in order to responding to the indication position of pointing device, and the indication position that will sense is sent to treating apparatus; Data input device is connected with treating apparatus, be used for the input user to the editing data of web page template, and be stored to the zone of the corresponding current editor of the web page template position in the storage device by treating apparatus, this editing area can be corresponding with the DOM node of web page files, can make things convenient for like this script that web page files is operated.
Further, wherein, display device comprises local amplification module, induction installation sense pointing device the indication position and by after the corresponding editor position successful matching of the web page template in treating apparatus and the data memory device by will be on the web page template corresponding editor of local amplification module band of position local enlargement display.
Further, wherein, data input device comprises display interface, and local amplification module will show the display interface of data input device during the local enlargement display of the corresponding editor band of position simultaneously on the web page template.
The present invention also comprises a kind of method of modularization What You See Is What You Get administration web page template, wherein, comprises the device of above-mentioned modularization What You See Is What You Get administration web page template, specifically comprises the steps:
Step a, display device shows by the web page template after the treating apparatus conversion;
Step b, induction installation are sensed the user and are given directions position to be sent to treating apparatus by the indication position of the web page template of pointing device indication display device demonstration and with this;
Step c, treating apparatus mate the position according to corresponding editor on the web page template that stores in indication position and the data memory device;
The content that shows before the local amplifier unit of steps d, display device empties, the editor position of the web page template that the amplification display processing unit matches and the attribute relevant with this editor position, and the display interface of demonstration data input device; Local amplifier unit empties content before before amplifying the editor position that shows the current web page template at every turn, makes local amplifier unit only bind the data of an editing area at every turn, has reduced system overhead.
To convert web page files to through the web page template that the user edits by treating apparatus after step e, user edit web page template by the display interface of data input device and be stored to data memory device, and show that by display device the confession user further edits on this basis.
The above only is preferred embodiment of the present invention; be not so limit claim of the present invention; so the means that the equivalent structure that all utilizations instructions of the present invention and diagramatic content have been done changes and those skilled in the art habitually practise are replaced, and all are included in protection scope of the present invention.