CN103838558B - Website build a station system and method, access website method and webpage adaptation system - Google Patents

Website build a station system and method, access website method and webpage adaptation system Download PDF

Info

Publication number
CN103838558B
CN103838558B CN201210480309.6A CN201210480309A CN103838558B CN 103838558 B CN103838558 B CN 103838558B CN 201210480309 A CN201210480309 A CN 201210480309A CN 103838558 B CN103838558 B CN 103838558B
Authority
CN
China
Prior art keywords
code
client
service end
website
unit
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.)
Active
Application number
CN201210480309.6A
Other languages
Chinese (zh)
Other versions
CN103838558A (en
Inventor
孔令军
王磊建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210480309.6A priority Critical patent/CN103838558B/en
Publication of CN103838558A publication Critical patent/CN103838558A/en
Application granted granted Critical
Publication of CN103838558B publication Critical patent/CN103838558B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of website build a station system and method, access website method and webpage adaptation system.It is related to communication technical field, solves the technical problem that the webpage after adaptation in the prior art does not support dynamic function.Wherein, system includes:Using creation module;Code compilation module;UI layout templates modules;Debugging module and packaging module.Present invention is mainly used for network access.

Description

Website build a station system and method, access website method and webpage adaptation system
Technical field
The present invention relates to communication technical field, more particularly to a kind of website build a station system and method, access website method And webpage adaptation system.
Background technology
With smart mobile phone, the popularization of panel computer, user is had become by this kind of mobile terminal accessing internet and is connect Enter the important way of internet.Current website is designed mainly for PC browsers, is complained to the higher authorities about an injustice and request fair settlement by terminals such as mobile phone, panel computers Ask that these websites generally need to do webpage fit, such as imposition layout's mode is changed, to reach more preferable Consumer's Experience.
In existing webpage fit technology, static page conversion is mainly done, i.e., obtains the html page of WEB websites first, Then page-tag is analyzed, the page of new adaptive terminal screen size is ultimately produced, is shown on the browser of mobile phone terminal.
But, there is following technical problem in existing webpage fit technology:Webpage after adaptation does not support original website The function such as dynamic function, such as website log, online investigation, order management.Causing the main cause of this problem has two aspects, One be adaptation after the page structure HTML dom trees it is different from original page structure, cause JS code operation exceptions;Two are There is browser Cross-domain problem, i.e., the cross-domain Cross-domain problem for being commonly referred to as JS scripts, cross-domain access is exactly in simple terms A nets The javascript codes stood attempt to access that B websites, including submit content to and obtain content.Due to security reason, cross-domain access Given tacit consent to by major browsers and forbid, namely origin policy.Origin policy prevents the script loaded from a domain from obtaining Or operate document properties on another domain.That is, the domain of requested URL must be with the domain phase of the current Web page Together.This means browser isolation is from not homologous content, to prevent the operation between them.Origin policy is not prevented will be dynamic In state script element insertion document.Herein, existing webpage fit technology is generally performed by special adaptation services device(Such as The webpage fit service that Baidu provides), webpage conversion is carried out first, the webpage after adaptation is then sent to terminal, so eventually It is on adaptation services device, with original webpage not in same domain, i.e., not in same website domain name to hold the webpage for accessing Under, so having Cross-domain problem.Therefore existing adaptation flow cannot fundamentally solve dynamic effect executive problem, so that shadow Use to web sites function of the user by mobile terminals such as mobile phones is rung.
The content of the invention
In order to solve the technical problem that the webpage after being adapted in the prior art does not support the dynamic function of original website, this hair It is bright propose a kind of website build a station system and method, access website method and webpage adaptation system.
A kind of website is built a station system, including:
Using creation module, the application program for generating website according to application code institutional framework, the application code Institutional framework includes:Client's memory cell and the service memory list for service end code for depositing client code Unit;
Code compilation module, the service end code for providing the client code and website of writing website for developer Editing interface, records the client code to client's memory cell and service end code to service storage unit, and call UI Layout masterplate;
UI layout templates modules, the offer of writing of the client code for being recorded for code compilation module is applied to movement The UI layout templates of terminal;
Service end data-interface generation module, in the service end code that is recorded according to code compilation module to external The service end code section of mouth generates corresponding database access interface;
Debugging module, for running and debugs the client code and service end code of code compilation module record;
Packaging module, for that will debug successfully after client code and service end code be packaged into respectively client install Packet and the executable packet of service end, the client installation data bag turn into client unit, the service after installing The executable packet in end turns into service end unit after performing.
A kind of website establishing method, including:
The application program of website is generated according to application code institutional framework, the application code institutional framework includes:For Store client's memory cell of client code and the service storage unit of service end code;
The editing interface of the service end code of the client code and website of writing website is provided for developer, record is described Client code and service end code, and call UI to be laid out masterplate for developer provides page layout masterplate;
Service end code section according to the external interface in the service end code that code compilation module is recorded generates correspondence Database access interface;
The client code and service end code of code compilation module record are run and debug, and after debugging successfully Client code and service end code be packaged into the executable packet of client installation data bag and service end, the visitor respectively Family end installation data bag turns into client unit after installing, the executable packet of the service end turns into service end list after performing Unit.
The website that the present invention is provided is built a station in scheme, by that during website application program is created, will be used for front end exhibition The client codes for showing are stored in client's memory cell, will be used to the service code such as external interface or logic business and be stored in service depositing Storage unit, and the code deposited in client's memory cell and service storage unit is packaged into client installation data bag respectively With the technical scheme of the executable packet of service end, when being easy to subsequent user to pass through mobile terminal accessing website, directly from client Displayed page is obtained in client unit, therefore in the absence of Cross-domain problem.
A kind of method of access website, including:
In webpage of the user terminal by browser access website, client unit receives the access request, and will The webpage of the access feeds back to the browser;
When user terminal sends dynamic operation request, service end unit receives the dynamic and asks and process.
A kind of webpage adaptation system, including client unit and service end unit,
The client unit, in webpage of the user terminal by browser access website, receiving the access Request, and the webpage of the access is fed back into the browser;
The service end unit, for when user terminal sends dynamic requests, receiving the dynamic and asking and process.
The above method and system that the present embodiment is provided, because there is the client end unit of requested webpage in terminal, Therefore the webpage can directly be fed back to browser in terminal, user is shown to by parsing, due to webpage code with it is clear Device of looking at is deployed in terminal, therefore in the absence of Cross-domain problem, solution can ensure that the webpage after adaptation supports original website The technique effect of dynamic function.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, with reality of the invention Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is that a kind of website is built a station the structural representation of system in the embodiment of the present invention 1;
Fig. 2 is that a kind of website of the embodiment of the present invention 1 is built a station the code organization structure chart generated in system;
Fig. 3 is a kind of schematic flow sheet of website establishing method in the embodiment of the present invention 2;
Fig. 4 is a kind of schematic flow sheet of method by PC browser access website in the embodiment of the present invention 3;
Fig. 5 is a kind of schematic flow sheet of method by mobile phone terminal browser access website in the embodiment of the present invention 3.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.Also, following embodiment is alternative of the invention, embodiment Put in order and the numbering of embodiment is unrelated with the order that it preferably is carried out.
Embodiment 1
The present embodiment provides a kind of website and builds a station system, as shown in figure 1, the system includes:Using creation module 10, code Collector 11, UI(Man-machine interaction)Layout templates module 12, service end data-interface generation module 13, debugging module 14, bag Die-filling piece 15.Wherein,
Using creation module 10, the application program for generating website according to application code institutional framework, the application generation Code institutional framework includes:For depositing client's memory cell of client code, the service memory for service end code Unit, resource memory cell and establishment memory cell;
In the present embodiment, the application code institutional framework is as shown in Fig. 2 wherein, generally comprise client and Two files of server, the client code and background server deposited respectively for front end displaying are used for the clothes of service logic Business end code.Specifically, client's memory cell, service storage unit, resource memory cell and establishment memory cell are corresponded to respectively Client files, server files in Fig. 2, lib files, build files, and corresponding preservation developer writes respectively Client code, service end code, the database resource write(I.e. application program needs the resource of the third party database for calling) With establishment data(That is the executable file of the application program that user writes).Preferably, config files are may also include, is used for Preserve configuration data.
The client code of client files storage:Mainly by CSS(Cascading Style Sheet, cascade sample Formula table)Language, JavaScript, HTML(HTML)Deng the client for front end displayed web page that language is write Code, such as CSS, IMG(The code of image file)、JS(The code of the script file of written in JavaScript)Deng.
The service end code of server files storage includes:It is used for the service end of service logic in the application program write Code(Such as the verification process logic that user logs in), and definition external interface service end code, it is right in the present embodiment External tapping refers mainly to the address of service of JS code calls, and when such as logging in, service end can provide a network address:
https://www.xxx.com/logonUsername=" xxx "s &password='xxx', js code call should Network address, to this linkup transmit http request, thus the client on follow-up terminal or PC can send to service end and ask;
The database resource of libs files storage includes:The application program of website needs the third party for calling upon execution The resource of database, such as user profile.
The establishment data of build files storage include:The executable file of the application program write, packs as following Client installation data bag and the executable packet of service end.
Config files storage configuration data includes:The description file of application program, such as name of application program, application The mark of program, accesses the description of start page etc..
Code compilation module 11, the service end code for providing the client code and website of writing website for developer Editing interface, record the client code and service end code, and call UI to be laid out masterplate;Specifically, code coding Module 11, for providing application code edit tool for developer, including main flow WEB application development language writes environment, than Such as HTML5, JavaScript, CSS, Java, the code of language write instrument, the visitor that record user writes in the case where environment is write Family end code and service end code, and, it is necessary to write the layout masterplate of html page during user writes these codes When call corresponding layout masterplate.
UI(Man-machine interaction)Layout templates module 12, for being carried for the writing for client code that code compilation module is recorded For the UI layout templates suitable for mobile terminal;Specifically, UI layouts masterplate module, for writing web page code in developer During the layout templates of the html page that can be called, such as navigation, classification, paging, waterfall layout are provided for developer Deng developer is that these layout templates can be used by simple written in code.
Service end data-interface generation module 13, for external in the service end code that is recorded according to code compilation module The service end code section of interface generates corresponding database access interface;I.e.:Contrast interface code according to writing is given birth to automatically Into corresponding database access interface, Restful interfaces.
Debugging module 14, for running and debugs client code and the service end generation of code compilation module record Code;Specifically, the debugging module 14 is used for operation and debugging to application program, there is provided the operation debugging of WEB application program Environment, including WEB containers, JS debugging acids etc..
Packaging module 15, for that will debug successfully after client code and service end code be packaged into respectively client pacify Dress packet and the executable packet of service end, the client installation data bag turn into client unit, the clothes after installing The executable packet in business end turns into service end unit after performing.I.e.:Packaging module 15, for by the customer side code of application program Client installation data bag is packaged into, such as packaging module 15 provides Android, the strapping tool of ios platform;Additionally, being additionally operable to The service end code of application program is packaged into the executable packet of service end, for example, the offer war bag forms of module 15 is provided and is beaten Job contract tool, supports main flow WEB containers.Turn into client unit after client installation data bag installation and operation, perform the visitor of website Family end function, the executable packet of service end turns into service end unit, the service end function of actuator website after performing.
The system that the present embodiment is provided is divided into client during website is developed by the code that will write website (client)Code and service end(server)Code, wherein, web interface displaying is responsible for after client code operation(By HTML, JS, CSS code are constituted), interface layout and displaying are adapted to main flow mobile phone screen size;It is responsible for after the operation of service end code Service logic, and interface needed for providing client dynamic effect, realize client dynamic effect.
The executable number of the website that the system development provided using the present embodiment is gone out, its client installation data bag and service end According to bag after installation and execution, for the browser on PC, when the website is accessed, client unit will be automatically redirected to In web page display interface, equally realize the normal operation applied in PC is browsed;It is mobile for mobile phone, panel computer etc. whole Browser on end, the client installation data bag of this programme generation will and be installed on mobile phone, is wrapped in its installation data bag Containing client code, therefore application program, when running, code is operated on mobile phone browser kernel, due to client codes be by Browser kernel in terminal does terminal adaptation, so may be implemented in well run on mobile phone terminal.Both the above accesses feelings In condition, the interface that client unit is opened by js code calls service end realizes dynamic service logic(Such as log in), due to Code is pressed from both sides in identical file(client)Lower operation, so not existing Cross-domain problem.Therefore the system development for being provided by this implementation The website for going out can realize that cross-terminal runs, and it is constant that the effect of webpage no matter is browsed in PC or on mobile phone.
Embodiment 2
The present embodiment provides a kind of website establishing method, and the method can be deployed in one or more PCs of exploitation website One website of upper formation is built a station system, and in the present embodiment, as described in Figure 3, the method includes:
Step 101, website is built a station the application program of system creation website, and generates website according to application code institutional framework Application program, the application code institutional framework includes:Client's memory cell, the unit of service memory, resource memory cell With establishment memory cell.Wherein, the client code of client's memory cell storage specifically includes user and uses CSS/JS/HTML language The client code for foreground displaying write;The service end code of the service storage unit storage specifically includes user's volume The service end code for application program service logic write, and definition external interface service end code;The resource Memory cell storage application program needs the resource of the third party database for calling;The establishment memory cell storage user writes Application program executable file.
Website system of building a station can refer to Fig. 2 according to the detailed process of application program of application code institutional framework generation website Explanation with embodiment 1 to Fig. 2, will not be described here.
Step 102, website system of building a station writes the client code of website and the service end generation of website for developer provides The editing interface of code, records the client code and service end code, and call UI to be laid out masterplate for developer provides webpage Layout;
Essentially, the client code and user terminal code exactly write in step record developer.Wherein, client End code:Foreground displaying interface, including HTML, JS and CSS are mainly write, meanwhile, system provides special adaptation mobile phone end The UI page layout templates at end(It is made up of HTML, JS and CSS, such as navigation template), the code introducing that developer is write is i.e. Template can be used, is easy to Speeding up development speed.
Service end code:The business logic codes that mainly developer writes, i.e. developer design or definition to external Mouthful.Meanwhile, development system is built a station in website can the very easily paired third party database of opposite according to the code of the external interface Access interface.Such as defined in application program user's table, for storing user's registered information.The website system of building a station can lead to The field access crossed in visual configuration user's table, the additions and deletions for giving birth to paired data storehouse change looks into operation restful interfaces, client Js codes in code just can realize the checking flow for logging in by these interface access data storehouses.
System build a station according to the code portions in the service end code of record for being write for external interface in step 103, website It is mitogenetic into corresponding database access interface;
Step 104, website is built a station the client code and service end code of system operation and debugging recording, and will be debugged into Client code and service end code after work(are packaged into client installation data bag and the executable packet of service end respectively.
Wherein, client unit is turned into after the client installation data bag is installed, the service end can perform packet Turn into service end unit after execution.
The main code included in client files in client installation data bag;The executable data of service end include Can be a kind of compression war bags.War bags include that the server codes after client codes and compiling perform file(Wherein, The code that client codes and client installation data are wrapped is identical).War bags are deployed to the web for supporting war Packet analyzings In container(Such as popular tomcat containers)In, you can to realize that website service end is affixed one's name to, complete website and build.If by visitor Family end installation data bag is arranged on after being run on mobile phone the website that may have access to the deployment, realizes that the website of cross-terminal is built a station.
In the method that the present embodiment is provided, system is built a station during networking station, to client code and service in website End code is write respectively, and is packaged into different packets, and the installation data bag of client can be shielded after being arranged on mobile phone Fall the difference on mobile phone browser, and when user initiates JS requests, according to the diplomatic interface request auto-steering service end list Unit performs dynamic effect, therefore in the absence of Cross-domain problem.
Embodiment 3
The present embodiment provides a kind of method of access website, and the method includes:Pass through browser access net in user terminal During the webpage stood, client unit receives the access request, and the webpage of the access is fed back into the browser;With When family terminal sends dynamic operation request, service end unit receives the dynamic requests and simultaneously processes.
Preferably, the method also includes:
Result after treatment is fed back to the browser by the service end unit;The browser according to result to The client request for servicing side accesses next webpage.
Wherein, on mobile terminals, the mobile terminal includes panel computer and mobile phone for the client unit deployment;Or Client unit is deployed on the webserver described in person.
In the method, in the case of by the browser access website on PC, it is preferable that client unit Website can be all deployed on the webserver of network side, for by mobile phone, panel computer etc. with service end unit In the case of mobile terminal, it is preferable that client unit is deployed on mobile phone, service end unit is deployed in website On server.For above-mentioned two situations, make an explanation separately below.
By the specific method of the browser access website on PC, as shown in figure 4, including:
Step 301, the page that user passes through the browser access website on PC, network server end automatically forwards to visitor Html page in the end unit of family.
The application program of each website has configuration file(The web.xml of such as j2ee applications), can by configuration file To realize redirecting automatically.
Wherein, the website is set up by implementing the website system of building a station in 1, or is set up according to the method implemented in 2.
Step 302, client unit returns to the browser on PC by html page, including JS codes and CSS files, clear Device of looking at can be presented to user according to the existing method parsing page.
Because usual webpage can all be made up of the code of HTML, JS, CSS these three language, in the present invention also with it is existing There is technology the same, need to return to the browser on PC by html page, including JS codes and CSS files herein.
Step 303, checks the page and is operated according to demand in user(The operation refers to use some functions of website Operation, such as Website login)Afterwards, browser execution operates corresponding JS codes, and dynamic behaviour is sent to the service end unit of website Ask(Such as login authentication).
Step 304, service end unit receives request post processing and asks and return to result(Such as login username password It is whether correct)To PC.The step concrete processing procedure can be same as the prior art, will not be described here.
Step 305, the browser on PC receives result, by the JS code process result(Such as to user Whether display login succeeds), if it is successful, be then possible to turn to according to service logic other pages, i.e. browse request its His page.If it fails, then representing business logic processing failure, it is not necessary to jump to other pages.
Step understands that the page that whole flow process is accessed is directly to be obtained from server end client files from the above , because there is the page therein is the page after adaptation, secondary file is not generated by intermediate page transcoding, so not depositing In Cross-domain problem.
Difference by the browser access on mobile phone browser and PC is that client unit is deployed on mobile phone and holds Capable its function, rather than operate on Website server, remaining flow is with similar by PC browser access website.By mobile phone On browser access website specific method, as shown in figure 5, including:
Step 401, after user opens mobile phone terminal application program, application call mobile phone terminal browser kernel (Such as WebKit)Website page is accessed, mobile phone directly runs the html page in client unit.
Step 402, client unit is by html page(Including JS codes and CSS files)Return in mobile phone terminal browser Core, the parsing page is presented to user.
Step 403, user checks the page, and is operated according to demand(Such as Website login), browser execution operation Corresponding JS codes, request is sent to the service end unit on Website server(Such as login authentication).
Step 404, service end unit receives request post processing and asks and return to result to mobile phone terminal(For example log in Whether user name password is correct).
Step 405, the browser on mobile phone terminal receives result, by the JS code process result(For example to Whether user's display login succeeds), if it is successful, be then possible to turn to other pages, i.e. browser according to service logic please Seek other pages.
From said process again it can be seen that due to mobile phone terminal access Website page in client unit, because This belongs to mobile phone terminal local domain scope, so also not existing Cross-domain problem.
Embodiment 4
The present embodiment provides a kind of webpage adaptation system, including client unit and service end unit,
The client unit, in webpage of the user terminal by browser access website, receiving the access Request, and the webpage of the access is fed back into the browser;
The service end unit, for when user terminal sends dynamic requests, receiving the dynamic and asking and process.
Wherein, the client unit is located on mobile terminal, and the mobile terminal includes panel computer and mobile phone;Or The client unit is deployed on the webserver.
Additionally, service end unit, mainly for the treatment of the dynamic requests of user;The client unit, is mainly used in depositing Store up the webpage of website.
The webpage adaptation system scheme that the present embodiment is provided solves conventional web sites for the mobile terminal face adapted such as mobile phone That faces only supports static adaptation, and for the problem that dynamic operation cannot be supported such as logging in.Therefore PC and hand are gone for Machine browser access website, facilitates user to obtain the implementation effect of dynamic function, it is ensured that the uniformity of Consumer's Experience.
The product such as above-mentioned service end unit provided in an embodiment of the present invention and client unit is belonging to computer program Flow and method be foundation, and corresponded to completely according to each step with method flow in embodiment of the method 2 and/or accompanying drawing consistent Mode, the functional unit for being provided.And because this functional unit is that the software realized by way of computer program is filled Put, so the functional unit being not specifically mentioned for system embodiment 4, it is contemplated that recorded according to above method embodiment Content has made each process step that those skilled in the art record from method determine to realize institute directly, expectedly enough The functional unit that step must be set up is stated, so will not be described here.
Technical scheme to the part that prior art contributes is in other words substantially with the shape of software product The function that formula is embodied, in other words:Side of each equipment of device of the invention, equipment or composition system performed by it Even if method or the function body of realization are hardware, but the part of actually realization above-mentioned functions of the present invention is but computer software The module or unit of product.And the computer software product is storable in the storage medium that can read, such as computer is soft Disk, hard disk or CD etc., including some instructions are used to cause that an equipment performs the method described in each embodiment of the invention.
The above, specific embodiment only of the invention, but the present invention can have the specific implementation of various multi-forms Mode, does to the present invention above in association with accompanying drawing for example, this is not meant to the specific embodiment that the present invention is applied Can be confined in these specific specific embodiments, those skilled in the art is it is to be appreciated that specific reality presented above The mode of applying is some examples in various preferred embodiments, and the specific embodiment of any embodiment the claims in the present invention is equal Should be within the scope of the claims in the present invention be claimed;Those skilled in the art can be to each specific embodiment party above Described technical scheme is modified in formula, or carries out equivalent to which part technical characteristic.It is all of the invention Within spirit and principle, any modification, equivalent or improvement for being made etc. should be included in the guarantor of the claims in the present invention Within the scope of shield.

Claims (10)

1. a kind of website is built a station system, it is characterised in that including:
Using creation module, the application program for generating website according to application code institutional framework, the application code tissue Structure includes:Client's memory cell and the service storage unit for service end code for depositing client code;
Code compilation module, the editor of the service end code for providing the client code and website of writing website for developer Interface, records the client code to client's memory cell and service end code to service storage unit, and call UI to be laid out Masterplate;
UI layout templates modules, the offer of writing of the client code for being recorded for code compilation module is applied to mobile terminal UI layout templates;
Service end data-interface generation module, for the external interface in the service end code that is recorded according to code compilation module Service end code section generates corresponding database access interface;
Debugging module, for running and debugs the client code and service end code of code compilation module record;
Packaging module, for that will debug successfully after client code and service end code be packaged into client installation data respectively Bag and service end can perform packet, and the client installation data bag turns into client unit after installing, and the service end can Performing turns into service end unit after packet is performed;
Wherein, the client code of client's memory cell storage includes Cascading Style Sheet language CSS, java script JS, surpasses The client code for foreground displaying that text mark up language html language is write;The service of the service storage unit storage End code includes the service logic service end code for application program write, and the external interface of definition service end generation Code.
2. website according to claim 1 is built a station system, it is characterised in that
The application code institutional framework also includes:Resource memory cell and establishment memory cell;
The resource memory cell is used to deposit the resource of the third party database that application program needs are called;
The memory cell that creates is used to deposit the executable file of the application program write.
3. website according to claim 1 and 2 is built a station system, it is characterised in that the client unit is deployed in movement In terminal, the mobile terminal includes panel computer and mobile phone;Or the client unit is deployed on the webserver.
4. a kind of website establishing method, it is characterised in that including:
The application program of website is generated according to application code institutional framework, the application code institutional framework includes:For storing Client's memory cell and the service storage unit for storage service end code of client code;
The editing interface of the service end code of the client code and website of writing website is provided for developer, the client is recorded End code and service end code, and call UI to be laid out masterplate for developer provides page layout masterplate;
Service end code section according to the external interface in the service end code that code compilation module is recorded generates corresponding number According to storehouse access interface;
The client code and service end code of code compilation module record are run and debug, and the visitor after debugging successfully Family end code and service end code are packaged into client installation data bag and the executable packet of service end, the client respectively Installation data bag turns into client unit after installing, the executable packet of the service end turns into service end unit after performing;
Wherein, the client code of client's memory cell storage includes Cascading Style Sheet language CSS, java script JS, surpasses The client code for foreground displaying that text mark up language html language is write;The service of the service storage unit storage End code includes the service logic service end code for application program write, and the external interface of definition service end generation Code.
5. method according to claim 4, it is characterised in that the application code institutional framework also includes:Resource is stored Unit and establishment memory cell;
The resource memory cell is used to deposit the resource of the third party database that application program needs are called;
The memory cell that creates is used to deposit the executable file of the application program write.
6. a kind of method of access website, it is characterised in that
In webpage of the user terminal by browser access website, the access request is received by client unit, and will The webpage of the access feeds back to the browser, and the client unit is generated by installing client installation data bag , the client installation data bag includes client code, and the client code of client's memory cell storage includes level The client generation for foreground displaying that connection stylesheet language CSS, java script JS, HTML html language are write Code;
When user terminal sends dynamic operation request, service end unit receives the dynamic and asks and process;The service end list Unit is generated by installing the executable packet of service end, and the executable packet of the service end includes service end code, clothes The service end code of business memory cell storage includes the service logic service end code for application program write, and The service end code of the external interface of definition.
7. method according to claim 6, it is characterised in that the method also includes:
Result after treatment is fed back to the browser by the service end unit;
The browser accesses next webpage according to result to the client request of service side.
8. method according to claim 6, it is characterised in that the client unit deployment is on mobile terminals, described Mobile terminal includes panel computer and mobile phone;Or the client unit is deployed on the webserver.
9. a kind of webpage adaptation system, it is characterised in that including client unit and service end unit,
The client unit, in webpage of the user terminal by browser access website, receiving access request, and will The webpage of the access feeds back to the browser, and the client unit is generated by installing client installation data bag , the client installation data bag includes client code, and the client code of client's memory cell storage includes level The client generation for foreground displaying that connection stylesheet language CSS, java script JS, HTML html language are write Code;
The service end unit, for when user terminal sends dynamic requests, receiving the dynamic and asking and process, the service End unit is generated by installing the executable packet of service end, and the executable packet of the service end includes service end generation Code, the service end code of service storage unit storage includes the service logic service end generation for application program write Code, and definition external interface service end code.
10. webpage adaptation system according to claim 9, it is characterised in that the client unit is located at mobile terminal On, the mobile terminal includes panel computer and mobile phone;Or the client unit is deployed on the webserver.
CN201210480309.6A 2012-11-22 2012-11-22 Website build a station system and method, access website method and webpage adaptation system Active CN103838558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210480309.6A CN103838558B (en) 2012-11-22 2012-11-22 Website build a station system and method, access website method and webpage adaptation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480309.6A CN103838558B (en) 2012-11-22 2012-11-22 Website build a station system and method, access website method and webpage adaptation system

Publications (2)

Publication Number Publication Date
CN103838558A CN103838558A (en) 2014-06-04
CN103838558B true CN103838558B (en) 2017-06-20

Family

ID=50802100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480309.6A Active CN103838558B (en) 2012-11-22 2012-11-22 Website build a station system and method, access website method and webpage adaptation system

Country Status (1)

Country Link
CN (1) CN103838558B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809206B (en) * 2015-04-28 2018-07-03 北京京东尚科信息技术有限公司 Across technology platform and the web content management method and system of equipment
CN107015785A (en) * 2016-01-27 2017-08-04 广州博鳌纵横网络科技有限公司 The method and control of a kind of Website Moduleization displaying
CN105760159A (en) * 2016-02-01 2016-07-13 四川长虹电器股份有限公司 Website developing method and system
CN108228273B (en) * 2017-09-29 2021-07-16 珠海市魅族科技有限公司 Method and equipment for executing executable file
CN108769779B (en) * 2018-06-12 2021-03-30 百视通网络电视技术发展有限责任公司 Dynamic configuration method for video terminal layout
CN109254992B (en) * 2018-10-12 2020-11-20 京东数字科技控股有限公司 Project generation method and system, computer system and computer-readable storage medium
CN109343858A (en) * 2018-11-01 2019-02-15 成都嗨翻屋科技有限公司 A kind of build a station automatically container deployment system and its working method based on server-side rendering
CN110381026B (en) * 2019-06-14 2021-12-10 北京数立得科技有限公司 Business service packaging and accessing system, method and device for rich client
CN113495720B (en) * 2020-04-07 2023-07-21 中国移动通信集团重庆有限公司 Website development system and method
CN113407170A (en) * 2021-05-26 2021-09-17 常熟市百创网络科技有限公司 Visual station building system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645090A (en) * 2009-08-04 2010-02-10 成都市华为赛门铁克科技有限公司 Page display method, server and network system
CN101794298A (en) * 2010-01-22 2010-08-04 中兴通讯股份有限公司 Method for realizing page adaptation, page adaptation system and communication system
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645090A (en) * 2009-08-04 2010-02-10 成都市华为赛门铁克科技有限公司 Page display method, server and network system
CN101794298A (en) * 2010-01-22 2010-08-04 中兴通讯股份有限公司 Method for realizing page adaptation, page adaptation system and communication system
CN102654885A (en) * 2012-04-28 2012-09-05 北京华胜天成科技股份有限公司 Mobile terminal webpage adaptation system and method

Also Published As

Publication number Publication date
CN103838558A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
EP3593254B1 (en) Editing a database during preview of a virtual web page
CN108319483B (en) Webpage processing method, device, terminal and storage medium
US8843820B1 (en) Content script blacklisting for use with browser extensions
CN106682028A (en) Method, device and system for obtaining web application
US10303748B2 (en) Method and device for providing webpage browsing based on web browser engine kernel
US7739697B2 (en) System and method for creating web services from an existing web site
US20070260702A1 (en) Web browser architecture for virtual machine access
CN110381135A (en) Interface creation method, service request method, device, computer equipment and medium
CN106339414A (en) Webpage rendering method and device
CN103412890A (en) Webpage loading method and device
AU2014213614A1 (en) Third party application communication API
US9497260B2 (en) Communication between two web applications
US7143359B2 (en) Emulating advanced graphical user interface elements in a hypermedia content browser
US9396053B2 (en) Error handling in a network resource generation environment
US20100229081A1 (en) Method for Providing a Navigation Element in an Application
US8959426B1 (en) Loading customer-supplied network page generation code
CN113296653B (en) Simulation interaction model construction method, interaction method and related equipment
CN110321504A (en) A kind of page processing method and device
CN110213105A (en) It is a kind of cross-platform micro- using creation method
CN107995153A (en) Form data verification method and form data verification device
CN109871202A (en) A kind of mobile terminal apply mixed developing method and frame
US10230768B2 (en) Generating network pages using customer-generated network page portions
CN113849156B (en) Codeless intelligent development system applied to OpenHarmony operating system and application method thereof
US9779070B2 (en) Providing aggregated data to page generation code for network page generation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant