CN103838558A - Website building system and method, website access method and webpage adaption system - Google Patents

Website building system and method, website access method and webpage adaption system Download PDF

Info

Publication number
CN103838558A
CN103838558A CN201210480309.6A CN201210480309A CN103838558A CN 103838558 A CN103838558 A CN 103838558A CN 201210480309 A CN201210480309 A CN 201210480309A CN 103838558 A CN103838558 A CN 103838558A
Authority
CN
China
Prior art keywords
client
server
code
website
codes
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.)
Granted
Application number
CN201210480309.6A
Other languages
Chinese (zh)
Other versions
CN103838558B (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

Images

Landscapes

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

Abstract

The invention discloses a website building system and method, a website access method and a webpage adaption system, and relates to the technical field of communication. The website building system and method, the website access method and the webpage adaption system solve the technical problem that in the prior art, a webpage does not support a dynamic function after adaption. The system comprises an application building module, a code compiling module, a UI arrangement template module, a debugging module and a packaging module. The website building system and method, the website access method and the webpage adaption system are mainly used for network access.

Description

Website building system and method, website accessing method and webpage adapting system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a website building system and method, a website accessing method, and a web page adaptation system.
Background
With the popularization of smart phones and tablet computers, accessing the internet through such mobile terminals has become an important way for users to access the internet. The current website is mainly designed for a PC browser, and web page adaptation, such as conversion of a typesetting layout mode, is usually required to access the website through terminals such as a mobile phone and a tablet computer, so as to achieve better user experience.
In the existing webpage adaptation technology, static page conversion is mainly performed, namely, an HTML page of a WEB website is firstly obtained, then page tags are analyzed, and finally a new page which is adapted to the size of a terminal screen is generated and displayed on a browser of a mobile phone terminal.
However, the existing web page adaptation technology has the following technical problems: the adapted web page does not support the dynamic functions of the original website, such as website login, online survey, order management and the like. The main reasons for the problem are two aspects, namely that the structure HTML DOM tree of the adapted page is different from the original page structure, so that the JS code is abnormal in operation; and the other problem is that the browser has a cross-domain problem, namely the cross-domain problem usually refers to a cross-domain problem of a JS script, namely cross-domain access, which is to say simply that the javascript code of the A website tries to access the B website, including submitting content and acquiring content. For security reasons, cross-domain access is prohibited by default by each large browser, i.e., the same origin policy. The homologous policy prevents a script loaded on one domain from fetching or manipulating document properties on another domain. That is, the domain of the requested URL must be the same as the domain of the current Web page. This means that the browser isolates content from different sources to prevent operations between them. The homologous policy does not prevent the insertion of dynamic script elements into the document. Here, the existing web page adaptation technology is usually performed by a special adaptation server (such as a web page adaptation service provided by hundreds of degrees), and first, web page conversion is performed, and then, the adapted web page is sent to the terminal, so that the web page accessed by the terminal is on the adaptation server and is not in the same domain as the original web page, that is, not under the same website domain name, and therefore, a cross-domain problem exists. Therefore, the existing adaptation process cannot fundamentally solve the problem of executing the dynamic effect, thereby influencing the use of the website function by the user through mobile terminals such as a mobile phone and the like.
Disclosure of Invention
The invention provides a website establishing system and method, a website accessing method and a webpage adaptation system, aiming at solving the technical problem that the adapted webpage does not support the dynamic function of the original website in the prior art.
A website establishment system, comprising:
an application creation module, configured to generate an application program of a website according to an application code organization structure, where the application code organization structure includes: a client storage unit for storing a client code and a service storage unit for storing a server code;
the code compiling module is used for providing an editing interface for compiling a client code of a website and a server code of the website for a developer, recording the client code to a client storage unit and the server code to a service storage unit, and calling a UI layout template;
the UI layout template module is used for providing a UI layout template suitable for the mobile terminal for the compiling of the client codes recorded by the code compiling module;
the server data interface generating module is used for generating a corresponding database access interface according to a server code part of an external interface in the server codes recorded by the code compiling module;
the debugging module is used for operating and debugging the client code and the server code recorded by the code compiling module;
and the packaging module is used for respectively packaging the client codes and the server codes which are successfully debugged into client installation data packets and server executable data packets, the client installation data packets become client units after installation, and the server executable data packets become server units after execution.
A website establishing method, comprising:
generating an application program of a website according to an application code organization structure, wherein the application code organization structure comprises: a client storage unit for storing client codes and a service storage unit for storing service end codes;
providing an editing interface for compiling a client code of a website and a server code of the website for a developer, recording the client code and the server code, and calling a UI layout template to provide a webpage layout template for the developer;
generating a corresponding database access interface according to a server code part of an external interface in the server codes recorded by the code compiling module;
and running and debugging the client codes and the server codes recorded by the code compiling module, and respectively packaging the client codes and the server codes which are successfully debugged into a client installation data packet and a server executable data packet, wherein the client installation data packet becomes a client unit after being installed, and the server executable data packet becomes a server unit after being executed.
In the website building scheme provided by the invention, the client codes for front-end display are stored in the client storage unit, the service codes for external interfaces or logic services and the like are stored in the service storage unit, and the codes stored in the client storage unit and the service storage unit are respectively packaged into the client installation data packet and the server executable data packet, so that a subsequent user can directly obtain a display page from the client unit when accessing the website through a mobile terminal, and the problem of cross-domain does not exist.
A method of accessing a website, comprising:
when a user terminal accesses a webpage of a website through a browser, a client unit receives the access request and feeds the accessed webpage back to the browser;
and when the user terminal sends a dynamic operation request, the server unit receives and processes the dynamic request.
A webpage adaptation system comprises a client unit and a server unit,
the client unit is used for receiving the access request when the user terminal accesses the webpage of the website through the browser and feeding back the accessed webpage to the browser;
and the server unit is used for receiving and processing the dynamic request when the user terminal sends the dynamic request.
According to the method and the system provided by the embodiment, because the client end unit which requests the webpage exists on the terminal, the webpage can be directly fed back to the browser on the terminal and displayed to the user through analysis, and because the code of the webpage and the browser are both deployed on the terminal, the cross-domain problem does not exist, and the technical effect that the adapted webpage can support the dynamic function of the original website is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a website building system in embodiment 1 of the present invention;
fig. 2 is a code organizational chart generated in a website building system according to embodiment 1 of the present invention;
fig. 3 is a flowchart illustrating a website establishing method according to embodiment 2 of the present invention;
FIG. 4 is a flowchart illustrating a method for accessing a website through a PC browser according to embodiment 3 of the present invention;
fig. 5 is a flowchart illustrating a method for accessing a website through a browser of a mobile phone terminal in embodiment 3 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Furthermore, the following embodiments are all alternatives of the present invention, and the arrangement order of the embodiments and the numbering of the embodiments are not related to the order of the preferred execution.
Example 1
The present embodiment provides a website building system, as shown in fig. 1, the system includes: an application creation module 10, a code compiling module 11, a UI (human-computer interaction) layout template module 12, a server-side data interface generation module 13, a debugging module 14, and a packaging module 15. Wherein,
an application creation module 10, configured to generate an application program of a website according to an application code organization structure, where the application code organization structure includes: the system comprises a client storage unit for storing client codes, a service storage unit for storing server codes, a resource storage unit and a creation storage unit;
in this embodiment, the application code organization structure is shown in fig. 2, where the application code organization structure generally includes two folders, namely a client folder and a server folder, and the client code for front-end display and the server code for business logic at the background server are stored respectively. Specifically, the client storage unit, the service storage unit, the resource storage unit, and the creation storage unit correspond to a client folder, a server folder, a lib folder, and a build folder in fig. 2, respectively, and correspondingly store a client code, a server code, a database resource (i.e., a resource of a third-party database that needs to be called by an application) and creation data (i.e., an executable file of the application written by a user) written by a developer. Preferably, a config folder may also be included to hold configuration data.
client code stored in the client folder: the client code for front-end webpage display is mainly written by CSS (Cascading Style Sheet) language, JavaScript, HTML (hypertext markup language) and other languages, such as CSS, IMG (code of image file), JS (code of script file written by JavaScript) and the like.
The server folder stores server codes comprising: the written server code for business logic (e.g. verification processing logic for user login) on the application program, and the defined server code of the external interface, the external interface in this embodiment mainly refers to the service address called by the JS code, and if login occurs, the server provides a web address:
https:// www.xxx.com/logonusername = "xxx" & password = 'xxx', js code calls the website, sends http request to the connection, so that the client on the subsequent terminal or PC can send request to the server;
database resources that libs folders store include: the application program of the website needs to call the resources of the third-party database, such as user information, when being executed.
The build data stored in the build folder includes: the executable files of the application program are written, such as a client installation data package and a server executable data package which are packaged in the following manner.
The Config folder storage configuration data comprises: the description file of the application program, such as the name of the application program, the identification of the application program, the description of the access start page, etc.
The code compiling module 11 is used for providing an editing interface for compiling a client code of a website and a server code of the website for a developer, recording the client code and the server code, and calling a UI layout template; specifically, the code encoding module 11 is configured to provide an application code editing tool for a developer, where the application code editing tool includes a writing environment of a mainstream WEB application development language, such as a code writing tool of languages such as HTML5, JavaScript, CSS, Java, and the like, record client codes and server codes written by a user in the writing environment, and call a corresponding layout template when the user needs to write a layout template of an HTML page in a process of writing the codes.
A UI (human-computer interaction) layout template module 12 for providing a UI layout template suitable for the mobile terminal for writing of the client code recorded by the code compiling module; specifically, the UI layout template module is used for providing layout templates of called HTML pages, such as navigation, classification, paging, waterfall layout, and the like, for the developer in the process of writing webpage codes, and the developer can use the layout templates through simple code writing.
A server data interface generating module 13, configured to generate a corresponding database access interface according to a server code portion of an external interface in the server code recorded by the code compiling module; namely: and automatically generating a corresponding database access interface, namely a Restful interface according to the written comparison interface code.
The debugging module 14 is used for running and debugging the client code and the server code recorded by the code compiling module; specifically, the debugging module 14 is used for running and debugging the application program, and providing a running debugging environment of the WEB application program, including a WEB container, a JS debugging tool, and the like.
And the packaging module 15 is configured to package the successfully debugged client code and the successfully debugged server code into a client installation data packet and a server executable data packet, where the client installation data packet becomes a client unit after installation, and the server executable data packet becomes a server unit after execution. Namely: the packaging module 15 is used for packaging the client code of the application program into a client installation data packet, and if the packaging module 15 provides a packaging tool for Android and IOS platforms; in addition, the packaging module 15 is also used for packaging the server-side code of the application program into a server-side executable data package, for example, to provide a war package format packaging tool to support the mainstream WEB container. The client side is a client side unit after the installation and operation of the data package are carried out, the client side function of the website is executed, the server side is a server side unit after the data package is executed, and the server side function of the website is executed.
In the process of developing the website, the system provided by the embodiment divides the code for writing the website into a client code and a server code, wherein the client code is responsible for webpage interface display (composed of HTML, JS and CSS codes) after running, and the interface layout and display are adapted to the size of a screen of a mainstream mobile phone; and the server code is responsible for business logic after running, provides an interface required by the dynamic effect of the client and realizes the dynamic effect of the client.
After the client installation data packet and the server executable data packet of the website developed by the system provided by the embodiment are installed and executed, the website automatically redirects a webpage display interface in a client unit to a browser on a PC (personal computer) when the website is visited, and the normal operation of the website applied to the PC browsing is also realized; for browsers on mobile terminals such as mobile phones and tablet computers, a client installation data packet generated by the scheme is installed on the mobile phones and contains client codes, so that when an application program runs, the codes run on a mobile phone browser kernel, and as the client codes are matched with the browser kernel on the terminal through the terminal, the good running on the mobile phone terminal can be realized. In the above two access situations, the client unit calls an open interface of the server through the js code to realize dynamic service logic (such as login), and since the code runs in the same folder (client), the problem of cross-domain does not exist. Therefore, the website developed by the system provided by the embodiment can run in a cross-terminal mode, and the effect of browsing the webpage on a PC or a mobile phone is not changed.
Example 2
This embodiment provides a website building method, which may be deployed on one or more PCs that develop a website to form a website building system, and in this embodiment, as shown in fig. 3, the method includes:
step 101, a website building system creates an application program of a website and generates the application program of the website according to an application code organization structure, wherein the application code organization structure comprises: a client storage unit, a service storage unit, a resource storage unit, and a creation storage unit. The client codes stored in the client storage unit specifically comprise client codes which are written by a user in CSS/JS/HTML language and are used for foreground display; the server codes stored in the service storage unit specifically comprise server codes written by a user and used for application program business logic and server codes of defined external interfaces; the resource storage unit stores the resources of the third-party database which are required to be called by the application program; the creation storage unit stores an executable file of an application program written by a user.
The specific process of the website building system generating the application program of the website according to the application code organization structure may refer to fig. 2 and the description of fig. 2 in embodiment 1, which are not described herein again.
102, providing an editing interface for compiling a client code of a website and a server code of the website for a developer by a website building system, recording the client code and the server code, and calling a UI layout template to provide a webpage layout for the developer;
it is at this step that the client side code and the client side code written by the developer are recorded. Wherein the client code: the method mainly comprises the steps of writing a foreground display interface comprising HTML, JS and CSS, providing a UI webpage layout template (comprising the HTML, JS and CSS, such as a navigation template) specially adapted to the mobile phone terminal by the system, introducing codes written by a developer into the UI webpage layout template, and enabling the UI webpage layout template to be used, so that the development speed is accelerated.
And a server code: the method is mainly the business logic code written by the developer, namely the external interface designed or defined by the developer. Meanwhile, the website building and developing system can conveniently generate an access interface for a third-party database according to the codes of the external interface. For example, a user table is defined in the application program for storing user registration information. The website building system can access and generate a restful interface for increasing, deleting, modifying and checking operations on the database through the visual fields in the configuration user table, and js codes in client codes can access the database through the interfaces to realize a login verification process.
103, the website building system generates a corresponding database access interface according to a code part which is used for writing an external interface in the recorded server codes;
and 104, operating and debugging the recorded client codes and server codes by the website building system, and respectively packaging the client codes and the server codes which are successfully debugged into a client installation data packet and a server executable data packet.
The client installation data package becomes a client unit after being installed, and the server can execute the data package and becomes a server unit after being executed.
The client installation data packet mainly comprises codes in a client folder; the server executable data may comprise a compressed war packet. The war packet comprises a client code and a compiled server code execution file (wherein the client code is the same as the code on the client installation data packet). The war package is deployed into a web container (such as a very popular tomcat container) supporting the analysis of the war package, so that the deployment of a website server can be realized, and the website building is completed. And if the client installation data packet is installed on the mobile phone and operated, the deployed website can be accessed, and the website building across the terminals is realized.
In the method provided by the embodiment, in the website building process, the website building system writes the client codes and the server codes respectively and packages the client codes and the server codes into different data packets, the difference of a mobile phone browser can be shielded after the installation data packet of the client is installed on a mobile phone, and when a user initiates a JS request, the request is automatically forwarded to the server unit to execute a dynamic effect according to an external communication interface, so that the problem of cross-domain does not exist.
Example 3
The embodiment provides a method for accessing a website, which comprises the following steps: when a user terminal accesses a webpage of a website through a browser, a client unit receives the access request and feeds the accessed webpage back to the browser; when the user terminal sends a dynamic operation request, the server unit receives and processes the dynamic request.
Preferably, the method further comprises:
the server side unit feeds back the processed result to the browser; and the browser requests the client side at the service side to access the next webpage according to the processing result.
The client unit is deployed on a mobile terminal, and the mobile terminal comprises a tablet personal computer and a mobile phone; or the client unit is deployed on a network server.
In the method, in the case of accessing a website through a browser on a PC, a preferred scheme is that a client unit and a server unit can be all deployed on a web server of the website on a network side, and in the case of using a mobile terminal such as a mobile phone or a tablet computer, a preferred scheme is that the client unit is deployed on the mobile phone and the server unit is deployed on the server of the website. For the above two cases, the following description is made separately.
A specific method for accessing a website through a browser on a PC, as shown in fig. 4, includes:
step 301, the user accesses the web page through the browser on the PC, and the web server automatically turns to the HTML page in the client unit.
Each web site application has a configuration file (e.g., web. xml for j2ee application) through which automatic hopping can be accomplished.
Wherein, the website is established by the website establishing system in the implementation 1 or the method in the implementation 2.
Step 302, the client unit returns the HTML page, including the JS code and CSS file, to the browser on the PC, which may parse the page according to existing methods and present it to the user.
Since usually the web page will consist of code in three languages, HTML, JS and CSS, the present invention also requires that the HTML page, including JS code and CSS file, be returned to the browser on the PC, as in the prior art.
Step 303, after the user views the page and performs an operation according to the requirement (the operation refers to an operation using some functions of the website, such as logging in the website), the browser runs and operates the corresponding JS code, and sends a dynamic operation request (such as login verification) to the server unit of the website.
In step 304, the server unit receives the request and processes the request and returns the processing result (e.g. whether the login username and password are correct) to the PC. The specific processing procedure of this step may be the same as that of the prior art, and is not described herein again.
In step 305, the browser on the PC receives the processing result, processes the result through the JS code (for example, displays to the user whether the login is successful), and if the result is successful, it may go to another page according to the business logic, that is, the browser requests another page. If not, the business logic processing is failed, and the user does not need to jump to other pages.
The method has the advantages that the page accessed by the whole process is directly obtained from the client folder of the server, and the problem of cross-domain does not exist because the page is the adapted page and the secondary file is generated without transcoding the intermediate page.
The difference between the access via a mobile phone browser and a browser on a PC is that the client unit is deployed on the mobile phone to perform its functions, rather than running on a web server, and the rest of the process is similar to accessing a web site via a PC browser. A specific method for accessing a website through a browser on a mobile phone, as shown in fig. 5, includes:
step 401, after the user opens the application program of the mobile phone terminal, the application program calls a browser kernel (such as WebKit) of the mobile phone terminal to access a website page, and the mobile phone directly operates an HTML page in the client unit.
In step 402, the client unit returns the HTML page (including the JS code and the CSS file) to the mobile phone browser kernel, and parses the page for presentation to the user.
In step 403, the user views the page and operates (for example, logs in to the website) as required, the browser runs and operates the corresponding JS code, and sends a request (for example, login verification) to the server unit on the website server.
In step 404, the server unit receives the request and processes the request and returns the processing result to the mobile phone terminal (e.g. whether the login username and password are correct).
In step 405, the browser on the mobile phone terminal receives the processing result, processes the result through the JS code (for example, displays whether the login is successful to the user), and if the result is successful, the browser may turn to another page according to the business logic, that is, the browser requests another page.
In the process, the website page accessed by the mobile phone terminal is in the client unit, so that the website page belongs to the local domain range of the mobile phone terminal, and the problem of cross-domain does not exist.
Example 4
The embodiment provides a webpage adaptation system, which comprises a client unit and a server unit,
the client unit is used for receiving the access request when the user terminal accesses the webpage of the website through the browser and feeding back the accessed webpage to the browser;
and the server unit is used for receiving and processing the dynamic request when the user terminal sends the dynamic request.
The client unit is located on a mobile terminal, and the mobile terminal comprises a tablet personal computer and a mobile phone; or the client unit is deployed on a network server.
In addition, the server unit is mainly used for processing the dynamic request of the user; the client unit is mainly used for storing the web pages of the website.
The webpage adaptation system scheme provided by the embodiment solves the problems that the traditional website only supports static adaptation for the adaptation of mobile terminals such as mobile phones and cannot support dynamic operations such as login and the like. Therefore, the method is suitable for the PC and the mobile phone browser to access websites, is convenient for users to obtain the execution effect of the dynamic function, and ensures the consistency of user experience.
The server unit, the client unit, and other products provided in the embodiment of the present invention are functional units provided based on a flow method of a computer program and in a manner completely corresponding to and consistent with each step of the method flow in method embodiment 2 and/or the accompanying drawings. Since such functional units are software devices implemented by means of a computer program, for the functional units that are not specifically mentioned in system embodiment 4, it is considered that the content described in the above method embodiment is enough for a person skilled in the art to directly, without any accident, determine the functional units that must be established to implement the steps from the flow steps recorded in the method, and therefore, no further description is given here.
The technical solution of the present invention is essentially or partially embodied in the form of software products, that is to say: even if the apparatus, device or each device constituting the system of the present invention performs the method or implements the functional main body, it is a module or unit of a computer software product that actually implements the above-described functions of the present invention. The computer software product may be stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and includes instructions for causing an apparatus to perform the methods according to the embodiments of the present invention.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims; the person skilled in the art will be able to modify the solutions presented in the above embodiments or to substitute them for some of the technical features described above. Any modification, equivalent replacement or improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (10)

1. A website building system, comprising:
an application creation module, configured to generate an application program of a website according to an application code organization structure, where the application code organization structure includes: a client storage unit for storing a client code and a service storage unit for storing a server code;
the code compiling module is used for providing an editing interface for compiling a client code of a website and a server code of the website for a developer, recording the client code to a client storage unit and the server code to a service storage unit, and calling a UI layout template;
the UI layout template module is used for providing a UI layout template suitable for the mobile terminal for the compiling of the client codes recorded by the code compiling module;
the server data interface generating module is used for generating a corresponding database access interface according to a server code part of an external interface in the server codes recorded by the code compiling module;
the debugging module is used for operating and debugging the client code and the server code recorded by the code compiling module;
and the packaging module is used for respectively packaging the client codes and the server codes which are successfully debugged into client installation data packets and server executable data packets, the client installation data packets become client units after installation, and the server executable data packets become server units after execution.
2. The website building system of claim 1,
the client codes stored in the client storage unit specifically comprise client codes which are compiled by cascading style sheet language CSS, Java script JS and hypertext markup language HTML and are used for foreground display; the service end codes stored in the service storage unit specifically comprise service logic service end codes which are compiled and used for application programs and defined service end codes of external interfaces;
the application code organization further comprises: a resource storage unit and a creation storage unit;
the resource storage unit is used for storing resources of a third-party database which needs to be called by the application program;
the creation storage unit is used for storing an executable file of the written application program.
3. The website building system according to claim 1 or 2, wherein the client unit is deployed on a mobile terminal, the mobile terminal comprising a tablet computer and a mobile phone; or the client unit is deployed on a network server.
4. A website establishing method, comprising:
generating an application program of a website according to an application code organization structure, wherein the application code organization structure comprises: a client storage unit for storing client codes and a service storage unit for storing service end codes;
providing an editing interface for compiling a client code of a website and a server code of the website for a developer, recording the client code and the server code, and calling a UI layout template to provide a webpage layout template for the developer;
generating a corresponding database access interface according to a server code part of an external interface in the server codes recorded by the code compiling module;
and running and debugging the client codes and the server codes recorded by the code compiling module, and respectively packaging the client codes and the server codes which are successfully debugged into a client installation data packet and a server executable data packet, wherein the client installation data packet becomes a client unit after being installed, and the server executable data packet becomes a server unit after being executed.
5. The method according to claim 4, wherein the client code stored in the client storage unit specifically includes client code written in cascading style sheet language (CSS), Java Script (JS), hypertext markup language (HTML) for foreground exhibition; the service end codes stored in the service storage unit specifically comprise service logic service end codes which are compiled and used for application programs and defined service end codes of external interfaces;
the application code organization further comprises: a resource storage unit and a creation storage unit;
the resource storage unit is used for storing resources of a third-party database which needs to be called by the application program;
the creation storage unit is used for storing an executable file of the written application program.
6. A method of accessing a web site, comprising,
when a user terminal accesses a webpage of a website through a browser, receiving the access request through a client unit, and feeding back the accessed webpage to the browser;
and when the user terminal sends a dynamic operation request, the server unit receives and processes the dynamic request.
7. The method of claim 6, further comprising:
the server side unit feeds back the processed result to the browser;
and the browser requests the client side at the service side to access the next webpage according to the processing result.
8. The method of claim 6, wherein the client unit is deployed on a mobile terminal, the mobile terminal comprising a tablet computer and a cell phone; or the client unit is deployed on a network server.
9. A webpage adaptation system is characterized by comprising a client unit and a server unit,
the client unit is used for receiving the access request when the user terminal accesses the webpage of the website through the browser and feeding back the accessed webpage to the browser;
and the server unit is used for receiving and processing the dynamic request when the user terminal sends the dynamic request.
10. The web page adaptation system of claim 9, wherein the client unit is located on a mobile terminal, the mobile terminal comprising a tablet computer and a cell phone; or the client unit is deployed on a network server.
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 true CN103838558A (en) 2014-06-04
CN103838558B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809206A (en) * 2015-04-28 2015-07-29 北京京东尚科信息技术有限公司 Web content management method and system for cross-technology platform and equipment
CN105760159A (en) * 2016-02-01 2016-07-13 四川长虹电器股份有限公司 Website developing method and system
CN107015785A (en) * 2016-01-27 2017-08-04 广州博鳌纵横网络科技有限公司 The method and control of a kind of Website Moduleization displaying
CN108228273A (en) * 2017-09-29 2018-06-29 珠海市魅族科技有限公司 A kind of method and apparatus for performing executable file
CN108769779A (en) * 2018-06-12 2018-11-06 百视通网络电视技术发展有限责任公司 A kind of Dynamic Configuration of video terminal layout
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
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
CN110381026A (en) * 2019-06-14 2019-10-25 北京数立得科技有限公司 A kind of the business service encapsulation and access system, method and apparatus of rich client
CN113407170A (en) * 2021-05-26 2021-09-17 常熟市百创网络科技有限公司 Visual station building system
CN113495720A (en) * 2020-04-07 2021-10-12 中国移动通信集团重庆有限公司 Website development system and method

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

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809206A (en) * 2015-04-28 2015-07-29 北京京东尚科信息技术有限公司 Web content management method and system for cross-technology platform and equipment
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
CN108228273A (en) * 2017-09-29 2018-06-29 珠海市魅族科技有限公司 A kind of method and apparatus for performing executable file
CN108769779B (en) * 2018-06-12 2021-03-30 百视通网络电视技术发展有限责任公司 Dynamic configuration method for video terminal layout
CN108769779A (en) * 2018-06-12 2018-11-06 百视通网络电视技术发展有限责任公司 A kind of Dynamic Configuration of video terminal layout
CN109254992A (en) * 2018-10-12 2019-01-22 北京京东金融科技控股有限公司 Project generation method and system, computer system and computer readable storage medium storing program for executing
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
CN110381026A (en) * 2019-06-14 2019-10-25 北京数立得科技有限公司 A kind of the business service encapsulation and access system, method and apparatus of rich client
CN110381026B (en) * 2019-06-14 2021-12-10 北京数立得科技有限公司 Business service packaging and accessing system, method and device for rich client
CN113495720A (en) * 2020-04-07 2021-10-12 中国移动通信集团重庆有限公司 Website development system and method
CN113407170A (en) * 2021-05-26 2021-09-17 常熟市百创网络科技有限公司 Visual station building system

Also Published As

Publication number Publication date
CN103838558B (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
US9411902B2 (en) Retrieving content from website through sandbox
US10509850B2 (en) Third party application communication API
CN108038134B (en) Page display method and device, storage medium and electronic equipment
CN106897251B (en) Rich text display method and device
US9026902B2 (en) Handling unexpected responses to script executing in client-side application
US9400633B2 (en) Methods and apparatus for voiced-enabling a web application
US9781262B2 (en) Methods and apparatus for voice-enabling a web application
CN104021172A (en) Advertisement filtering method and advertisement filtering device
US20140040746A1 (en) Methods and apparatus for voiced-enabling a web application
CN104317570B (en) The apparatus and method of dynamic analysis Web applications
WO2020048189A1 (en) Image generation
US20140039898A1 (en) Methods and apparatus for voiced-enabling a web application
US20100229081A1 (en) Method for Providing a Navigation Element in an Application
CN102799372A (en) Uploading method and uploading device for pictorial information
US9292252B2 (en) Methods and apparatus for voiced-enabling a web application
CN110213105A (en) It is a kind of cross-platform micro- using creation method
CN104156421B (en) The page shows method, apparatus and system
CN105760181B (en) Cross-code language development framework
US10769351B2 (en) Rendering based on a document object model
CN103885988A (en) Method and device for outputting content and content outputting system
CN114528510A (en) Webpage data processing method and device, electronic equipment and medium
CN115525305A (en) Data processing method, application starting method, device, computer equipment and storage medium
KR102497544B1 (en) Method and apparatus for managing user session in hybrid application
Phang Mastering Front-End Web Development (HTML, Bootstrap, CSS, SEO, Cordova, SVG, ECMAScript, JavaScript, WebGL, Web Design and many more.): 14 Books in 1. Introducing 200+ Extensions. An Advanced Guide.

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