Method for providing front-end framework and system thereof
The system facilitates easy integration of content across different front-end frameworks by routing requests through a proxy server and target server pool, addressing compatibility issues and improving development efficiency by allowing developers to work with their familiar frameworks.
Patent Information
- Application Number
- PCT/KR2023/005163
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-10
- Filing Date
- 2023-04-17
- Publication Date
- 2024-10-17
AI Technical Summary
The frequent changes in front-end frameworks and the lack of compatibility between different frameworks make it difficult for developers to integrate content from past frameworks into current web pages, requiring them to learn new frameworks and re-develop existing content, leading to inefficiencies.
A method and system that enables easy integration of content across different front-end frameworks by routing requests to target servers based on environment setting information, allowing developers to work with familiar frameworks without considering compatibility issues, using a proxy server and target server pool to render content from one framework within another.
Enables seamless integration of content from various front-end frameworks, allowing developers to work with their familiar frameworks without compatibility concerns, enhancing development efficiency and reducing the need for re-development.
Smart Images

Figure KR2023005163_17102024_PF_FP_ABST
Abstract
Description
Method for providing a front-end framework and its system
[0001] The present disclosure relates to a method and system for providing a front-end framework. More specifically, the present disclosure relates to a method and system for providing a front-end framework that supports the easy integration of content implemented using different front-end frameworks.
[0002] Front-end frameworks, used for web page development, are among the most rapidly evolving and changing technologies in the software industry. About a decade ago, jQuery was the most popular front-end framework (library), but two to three years later, Backbone.JS and Requires gained popularity. Currently, React, Vue, and Angular are the most popular front-end frameworks (libraries). While frameworks and libraries are technically distinct, the distinction can be difficult to discern, and they are often used interchangeably in the industry. Therefore, in this disclosure, the term "framework" will be used to encompass libraries.
[0003] The fact that front-end frameworks change frequently and developers use different front-end frameworks causes a big problem. This is because the content implemented in different front-end frameworks (e.g., source code for specific functions, web pages, etc.) is incompatible with each other, making it very difficult to include specific content implemented in an older front-end framework into a web page implemented in a current front-end framework. Because of this, developers have experienced inefficiencies such as having to learn and develop using other older front-end frameworks rather than the latest front-end framework they mainly learned, or having to redevelop content that has already been implemented (using an older front-end framework) with their main front-end framework.
[0004] A technical problem to be solved through some embodiments of the present disclosure is to provide a method for providing a front-end framework that supports easy integration of contents implemented with different front-end frameworks, and a system to which the method is applied.
[0005] Another technical challenge that some embodiments of the present disclosure seek to address is to enable users to perform web page development tasks using a front-end framework they are familiar with, without having to consider compatibility between different front-end frameworks.
[0006] The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art of the present disclosure from the description below.
[0007] A method for providing a front-end framework according to an embodiment of the present disclosure for solving the above technical problem comprises the steps of: receiving a first request related to a first component constituting a part of a first webpage from a web server of a first webpage, wherein the first webpage is implemented using a first front-end framework; routing the first request to a first target server with reference to environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server; receiving a result of rendering a first content of the first target server from the first target server as a response result to the first request, wherein the first content is implemented using a second front-end framework different from the first front-end framework; and transmitting the response result to the first request to the web server of the first webpage. It may include a transmitting step.
[0008] In one embodiment, the step of routing to the first target server may include the step of routing the first request to the first target server by referring to address information of the first target server, and the step of transmitting to the web server of the first web page may include the step of transmitting a response result for the first request to the web server of the first web page by referring to the first pass information.
[0009] In one embodiment, the method for providing a front-end framework may further include the steps of: receiving a second request related to a second component constituting another part of the first web page from a web server of the first web page; routing the second request to a second target server with reference to environment setting information of the second request, wherein the environment setting information of the second request includes second path information for processing the second request and address information of the second target server; receiving, from the second target server, a result of rendering second content of the second target server as a response result to the second request, wherein the second content is implemented using the first front-end framework; and transmitting the response result to the second request to the web server of the first web page. At this time, the step of routing to the second target server may include a step of routing the second request to the second target server by referring to the address information of the second target server, and the step of transmitting to the web server of the first web page may include a step of transmitting a response result for the second request to the web server of the first web page by referring to the second pass information.
[0010] In one embodiment, the step of receiving a response result for the first request may further include receiving configuration information of the first content as a response result for the first request, and, if a static resource is included in the configuration information of the first content, caching the static resource.
[0011] In one embodiment, the first request may be an Application Program Interface (API) call, and the rendered result may be HTML code.
[0012] A method for providing a front-end framework according to another embodiment of the present disclosure for solving the above technical problem comprises the steps of: receiving a first request related to a first webpage from a web server of a first webpage, wherein the first webpage is implemented using a first front-end framework; receiving a second request related to a second webpage from the web server of the first webpage, wherein the second webpage is implemented using a second front-end framework different from the first front-end framework; routing the first request to a first target server with reference to environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server; and routing the second request to a second target server with reference to environment setting information of the second request, wherein the environment setting information of the second request includes second path information for processing the second request and address information of the second target server. The method may include: a step of receiving, from the first target server, a result of rendering the content of the first webpage according to the first request as a response result to the first request; a step of receiving, from the second target server, a result of rendering the content of the second webpage according to the second request as a response result to the second request; and a step of transmitting the response result to the first request and the response result to the second request to the web server of the first webpage.
[0013] In one embodiment, the step of routing to the first target server may include the step of routing the first request to the first target server with reference to address information of the first target server, the step of routing to the second target server may include the step of routing the second request to the second target server with reference to address information of the second target server, and the step of transmitting to the web server of the first web page may include the step of transmitting a response result for the first request to the web server of the first web page with reference to the first pass information, and transmitting a response result for the second request to the web server of the first web page with reference to the second pass information.
[0014] A method for providing a front-end framework according to another embodiment of the present disclosure for solving the above technical problem may include the steps of: transmitting a first request related to a first component constituting a part of a first web page to a proxy server, wherein the first web page is implemented using a first front-end framework; receiving a response result for the first request from the proxy server, wherein the response result for the first request includes a result of rendering first content of a first target server to which the first request is routed, and the first content is implemented using a second front-end framework different from the first front-end framework; and rendering the entire first web page using the response result for the first request.
[0015] In one embodiment, the step of receiving a response result to the first request comprises:
[0016] The method may further include receiving further configuration information of the first content as a response result to the first request, and, if the configuration information of the first content includes a static resource, receiving the static resource from the proxy server.
[0017] A front-end framework providing system according to another embodiment of the present disclosure for solving the above technical problem may include a communication interface, a memory in which a computer program is loaded, and a processor for executing the computer program. At this time, the computer program may include instructions for receiving a first request related to a first component constituting a part of the first webpage from a web server of the first webpage, wherein the first webpage is implemented using a first front-end framework; instructions for routing the first request to a first target server with reference to environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server; instructions for receiving, from the first target server, a result of rendering a first content of the first target server as a response result to the first request, wherein the first content is implemented using a second front-end framework different from the first front-end framework; and instructions for transmitting the response result to the first request to the web server of the first webpage.
[0018] A front-end framework providing system according to another embodiment of the present disclosure for solving the above technical problem may include a communication interface, a memory in which a computer program is loaded, and a processor for executing the computer program. At this time, the computer program includes instructions for receiving a first request related to the first webpage from a web server of the first webpage, wherein the first webpage is implemented using a first front-end framework, instructions for receiving a second request related to the second webpage from the web server of the first webpage, wherein the second webpage is implemented using a second front-end framework different from the first front-end framework, instructions for routing the first request to a first target server with reference to environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server, instructions for routing the second request to a second target server with reference to environment setting information of the second request, wherein the environment setting information of the second request includes second path information for processing the second request and address information of the second target server. The method may include instructions for receiving, from the first target server, a result of rendering the content of the first webpage according to the first request as a response result to the first request, instructions for receiving, from the second target server, a result of rendering the content of the second webpage according to the second request as a response result to the second request, and instructions for transmitting the response result to the first request and the response result to the second request to the web server of the first webpage.
[0019] Figure 1 is a configuration diagram of the entire system according to one embodiment of the present disclosure.
[0020] FIG. 2 is a flowchart of a method for providing a front-end framework according to another embodiment of the present disclosure.
[0021] Figure 3 is a diagram exemplifying the configuration of a web page.
[0022] Figure 4 is a drawing for explaining the environment setting information of the request.
[0023] FIG. 5 is a detailed flowchart for explaining some operations of the method for providing a front-end framework described with reference to FIG. 2.
[0024] Figure 6 is a flowchart for explaining a modified method of providing a front-end framework described with reference to Figure 2.
[0025] Figure 7 is a diagram exemplifying the configuration of a web page.
[0026] Figure 8 is a flowchart for explaining a modified method of providing a front-end framework described with reference to Figure 2.
[0027] FIG. 9 and FIG. 10 are flowcharts of a method for providing a front-end framework according to another embodiment of the present disclosure.
[0028] FIG. 11 illustrates an exemplary computing device that can implement a front-end framework providing system according to some embodiments of the present disclosure.
[0029] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the attached drawings. The advantages and features of the present invention, and methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the attached drawings. However, the technical spirit of the present invention is not limited to the following embodiments, but can be implemented in various different forms. The following embodiments are provided only to complete the technical spirit of the present invention and to fully inform those skilled in the art of the present invention of the scope of the present invention, and the technical spirit of the present invention is defined only by the scope of the claims.
[0030] In describing various embodiments of the present disclosure, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description will be omitted.
[0031] Unless otherwise defined, the terms (including technical and scientific terms) used in the following examples may be used with meanings commonly understood by those of ordinary skill in the art to which this disclosure pertains; however, this may vary depending on the intentions of engineers working in the relevant field, precedents, the emergence of new technologies, etc. The terminology used in this disclosure is for the purpose of describing the embodiments and is not intended to limit the scope of this disclosure.
[0032] In the following examples, singular expressions include plural concepts unless the context clearly specifies that they are singular. Furthermore, plural expressions include singular concepts unless the context clearly specifies that they are plural.
[0033] In addition, terms such as first, second, A, B, (a), (b), etc. used in the following embodiments are only used to distinguish certain components from other components, and the nature, order, or sequence of the components are not limited by the terms.
[0034] Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the attached drawings.
[0035] First, some terms used in this disclosure are explained.
[0036] Front-end Framework
[0037] This refers to a framework or library used in front-end development. Examples include React, Vue, and Angular. As mentioned above, while frameworks and libraries are strictly distinct, the distinction between them can sometimes be difficult to discern, and they are often used interchangeably in the industry. Therefore, in this disclosure, the term "framework" will be used to encompass libraries.
[0038] [Rendering]
[0039] It refers to the process of converting content (source code, etc.) written using a specific front-end framework into HTML code.
[0040]
[0041] Figure 1 is a configuration diagram of the entire system according to one embodiment of the present disclosure.
[0042] Hereinafter, the configuration and operation of the entire system according to one embodiment of the present disclosure will be described with reference to FIG. 1. As illustrated in FIG. 1, the entire system according to the present embodiment may be configured to include a front-end framework provision system (10), and in some embodiments, may further include at least some of a web server (20) and a target server pool (30).
[0043] The web server (20) can output a web page stored in the web server (20) through a browser. In some embodiments, the web server (20) can transmit a first request related to a first component constituting a portion of a first web page to a proxy server. Then, the web server (20) can receive a response result for the first request from the proxy server and render the entire first web page using the response result for the first request. In one embodiment, a bundler such as webpack can be used to render the entire first web page.
[0044] The target server pool (30) may be configured to include a plurality of target servers (30-1 to 30-n; n is a natural number greater than or equal to 2). In FIG. 1, the target server pool (30) is illustrated as including a plurality of target servers (30-1 to 30-n), but this is only for convenience of explanation, and the target server pool (30) does not have to physically include the servers (30-1 to 30-n). That is, the first to nth target servers (30-1 to 30-n) may be independent of each other. Each target server (30-1 to 30-n) may transmit the result of rendering the content of the corresponding server (e.g., source code performing a specific function, a web page, etc.) and the setting information of the content (e.g., static resources such as images, fonts, and CSS (Cascading Style Sheets) files) to the proxy server (100).
[0045] The proxy server (100) may be configured to include a router (102), and in some embodiments, may further include an API gateway (101). The proxy server (100) may provide a front-end framework that supports easy integration of content implemented with different front-end frameworks. For example, the proxy server (100) may receive a first request related to a first component constituting a portion of the first webpage from the web server (20) of the first webpage. In this case, the first webpage may be implemented using the first front-end framework.
[0046] In one embodiment, the API gateway (102) can verify whether the first request is from an authorized user and cache user information to prevent repeated verification.
[0047] The router (102) can route the first request to the first target server by referring to the configuration information of the first request. At this time, the configuration information of the first request can include first path information for processing the first request and address information of the first target server.
[0048] The proxy server (100) may receive, from the first target server, the rendering result of the first content of the first target server as a response result to the first request. In some embodiments, the proxy server may further receive configuration information of the first content as a response result to the first request. In this case, the first content may be implemented using a second front-end framework different from the first front-end framework. Then, the response result to the first request may be transmitted to the web server (20) of the first web page.
[0049] In some embodiments, the caching device (11) may cache a static resource if the configuration information of the first content received as a response to the first request includes the static resource. In this case, the static resource may refer to information previously stored in the target server pool (30), such as an image, a font, CSS, etc. In one embodiment, the caching device (11) may cause the static resource to be transmitted to the web server (20) via a proxy server (100).
[0050] The front-end framework provision system (10) is configured to include the above-described proxy server (100), and may further include a caching device (11). Each of the caching device (11) and the proxy server (100) may be implemented as an independent computing system, or may be implemented together through a single computing system.
[0051] The configuration and operation of the entire system according to the present embodiment have been described above. In particular, the operation of the proxy server (100) will be understood in more detail through the embodiments described below. That is, the operation of the proxy server (100) can be supplemented through the embodiments described below.
[0052] Next, a method for providing a front-end framework according to another embodiment of the present disclosure will be described with reference to FIGS. 2 to 10. The method for providing a front-end framework according to this embodiment may be performed by one or more computing systems. Furthermore, the method for providing a front-end framework according to this embodiment may be performed in part by a first computing device, and the remaining operations by a second computing device.
[0053] For example, some operations of the front-end framework provision method according to the present embodiment may be performed by an on-premise physical server, while the remaining operations may be performed by a cloud server. Hereinafter, if the performer of each operation is omitted, it will be understood that the performer is the computing system.
[0054] Composition and functions of the front-end framework provision system (10)
[0055] First, a method for providing a front-end framework according to the present embodiment will be briefly described with reference to FIGS. 2 and 3. The details of each step may be described later, if necessary. A first request related to a first component (201) constituting a portion of a first webpage (200) is received from a web server (20) of a first webpage (200) (S110). At this time, the first webpage (200) may be implemented using a first front-end framework, and the first request may be a call to a specific API (API call). Next, with reference to the configuration information of the first request, the first request is routed to a first target server (30-1) (S120). At this time, the configuration information of the first request may include first path information for processing the first request and address information of the first target server (30-1).
[0056] From the first target server (30-1), the rendered result of the first content of the first target server (30-1) is received as a response result to the first request (S130). At this time, the rendered result may be HTML code, and the first content may be implemented using a second front-end framework different from the first front-end framework. For example, the first web page (200) may be implemented using the Vue framework, and the first content may be implemented using the React framework. Then, the response result to the first request is transmitted to the web server (20) of the first web page (S140).
[0057] The steps of routing the first request to the first target server (30-1) (S120) and transmitting the response result for the first request to the web server (20) of the first webpage (S140) will be described in more detail with reference to FIGS. 3 to 5. FIG. 4 exemplarily illustrates environment setting information (300) of the first request. In one embodiment, the environment setting information (300) of the first request may be information input from a user terminal and stored in a proxy server (100). As described above, the environment setting information (300) of the first request may include first pass information (301) for processing the first request and address information (302) of the first target server (30-1). Referring to FIG. 5, the first request is routed to the first target server (30-1) with reference to the address information (302) of the first target server (30-1) (S121). When a response result for the first request is received from the first target server (30-1) (S130), the response result for the first request is transmitted to the server (20) of the first web page (200) with reference to the first path information (301) (S141). At this time, the first path information (301) may be information that specifies the location of the first component (201) constituting a part of the first web page (200), i.e., the location where the first request was generated.
[0058] Referring to FIGS. 6 and 7, a method for providing a front-end framework according to some embodiments of the present disclosure is described. A second request related to a second component (202) constituting another part of a first webpage (200) is received from a web server (20) of a first webpage (200) (S150). In one embodiment, the second component (202) may be the entire remaining part of the first webpage (200) except for the first component (201). As described above, the first webpage (200) may be implemented using the first front-end framework, and the second request may be a call to a specific API.
[0059] Next, with reference to the environment setting information of the second request, the second request is routed to the second target server (30-2) (S160). At this time, the environment setting information of the second request may include second path information for processing the second request and address information of the second target server (30-2). In the step of routing to the second target server (30-2) (S160), the second request may be routed to the second target server (30-2) with reference to the address information of the second target server (30-2). Since the content regarding the environment setting information of the second request overlaps with the content described above with reference to FIG. 4, a detailed description thereof will be omitted (of course, the first path information and the second path information are different, and the address information of the first target server (30-1) and the address information of the second target server (30-2) are different).
[0060] From the second target server (30-2), the rendered result of the second content of the second target server (30-2) is received as a response result to the second request (S170). At this time, the rendered result may be HTML code, and the second content may be implemented using the first front-end framework. That is, the first content (specifically, the rendered result of the first content) to be embedded in the first component (201) constituting a part of the first web page (200) and the second content (specifically, the rendered result of the second content) to be embedded in the second component (202) constituting another part of the first web page (200) may be implemented using different front-end frameworks. Then, the response result to the second request is transmitted to the web server (20) of the first web page (S180).
[0061] Meanwhile, although FIG. 6 illustrates that steps (S150 to S180) according to the present embodiment are performed after step (S140) of transmitting a response result for the first request to the web server (20) of the first web page, this is merely for convenience of explanation, and it should be understood that each step (S150 to S180) can be performed in parallel within a range corresponding to each step (S110 to 140) of the embodiment described above with reference to FIG. 2. For example, the step of receiving a first request (S110) and the step of receiving a second request (S150) may substantially constitute one step, the step of routing to a first target server (S120) and the step of routing to a second target server (S160) may substantially constitute one step, the step of receiving a response result to the first request (S130) and the step of receiving a response result to the second request (S170) may substantially constitute one step, and the step of transmitting a response result to the first request to the first web page (S140) and the step of transmitting a response result to the second request to the first web page (S180) may substantially constitute one step.
[0062] Referring to FIG. 8, a method for providing a front-end framework according to some embodiments of the present disclosure will be described. From a first target server (30-1), a result of rendering the first content of the first target server (30-1) and configuration information of the first content can be received as a response to the first request (S131). If the configuration information of the first content includes a static resource, the static resource can be cached (S132). At this time, the static resource can refer to information previously stored in the first target server (30-1), such as an image, a font, CSS, etc. Through this, the speed of processing the first request can be increased. It will be apparent to those skilled in the art that the present embodiment can be applied in the same manner to a step (S170) of receiving a result of rendering the second content of the second target server (30-2) as a response to the second request from the second target server (30-2).
[0063] Referring to FIG. 9, a method for providing a front-end framework according to another embodiment of the present disclosure will be described, but any description overlapping with the above will be omitted. A first request related to a first webpage is received from a web server (20) of a first webpage, and a second request related to a second webpage is received from the web server (20) of the first webpage (S210). At this time, the first webpage and the second webpage do not have a relationship in which one is a part (component) of the other, but each refers to an independent webpage. In addition, the first webpage is implemented using a first front-end framework, and the second webpage is implemented using a second front-end framework different from the first front-end framework.
[0064] Next, with reference to the environment setting information of the first request, the first request is routed to the first target server (30-1), and with reference to the environment setting information of the second request, the second request is routed to the second target server (30-2) (S220). At this time, the environment setting information of the first request includes first path information for processing the first request and address information of the first target server, and the environment setting information of the second request includes second path information for processing the second request and address information of the second target server. At this time, the first path information and the second path information may be information specifying the location (address) of the first web page and the second web page, respectively.
[0065] Then, from the first target server (30-1), the result of rendering the content of the first webpage according to the first request is received as a response result for the first request, and from the second target server (30-2), the result of rendering the content of the second webpage according to the second request is received as a response result for the second request (S230). Then, the response result for the first request and the response result for the second request are transmitted to the web server (20; the same web server as the web server of the second webpage) of the first webpage (S240). In this way, by transmitting the rendered result to each webpage of the web server (20) of the first webpage using the proxy server (100), there is also an advantage of easily solving the cross-domain problem.
[0066] Configuration and functions of the web server (20)
[0067] A method for providing a front-end framework according to another embodiment of the present disclosure will be described with reference to FIGS. 3 and 10, with any explanations that overlap with the above description omitted. A first request related to a first component (201) forming part of a first web page (200) is transmitted to a proxy server (100) (S310). At this time, the first web page (200) may be implemented using a first front-end framework.
[0068] A response result for the first request is received from the proxy server (100) (S320). At this time, the response result for the first request includes the result of rendering the first content of the first target server (30-1) to which the first request is routed, and may further include configuration information of the first content. In addition, the first content may be implemented using a second front-end framework different from the first front-end framework. Then, the entire first web page is rendered using the response result for the first request (S330). In one embodiment, a bundler such as webpack may be used to render the entire first web page.
[0069] According to some embodiments of the present disclosure, a front-end framework can be provided that supports the easy integration of content implemented using different front-end frameworks. Accordingly, users can perform webpage development tasks using their familiar front-end framework without having to consider compatibility between different front-end frameworks. However, the benefits derived from the technical concepts of the present disclosure are not limited to the aforementioned benefits.
[0070] FIG. 11 is an exemplary hardware configuration diagram illustrating a computing device (1000) according to some embodiments of the present disclosure.
[0071] As illustrated in FIG. 11, the computing device (1000) of FIG. 11 may include one or more processors (1100), a system bus (1600), a communication interface (1200), a memory (1400) for loading a computer program (1500) executed by the processor (1100), and a storage (1300) for storing the computer program (1500). However, only components related to the embodiment of the present disclosure are illustrated in FIG. 11. Therefore, a person skilled in the art to which the present disclosure pertains will appreciate that other general components may be included in addition to the components illustrated in FIG. 11. That is, the computing device (1000) may further include various components in addition to the components illustrated in FIG. 11. In addition, in some cases, the computing device (1000) may be configured in a form in which some of the components illustrated in FIG. 11 are omitted. Hereinafter, each component of the computing device (1000) will be described.
[0072] The processor (1100) can control the overall operation of each component of the computing device (1000). The processor (1100) can be configured to include at least one of a Central Processing Unit (CPU), a Micro Processor Unit (MPU), a Micro Controller Unit (MCU), a Graphic Processing Unit (GPU), a Neural Processing Unit (NPU), or any other type of processor well known in the art of the present disclosure. In addition, the processor (1100) can perform operations for at least one application or program for executing operations / methods according to various embodiments of the present disclosure. The computing device (1000) can include one or more processors.
[0073] Next, the memory (1400) can store various data, commands, and / or information. The memory (1400) can load a computer program (1500) from the storage (1300) to execute methods / operations according to various embodiments of the present disclosure. The memory (1400) may be implemented as a volatile memory such as RAM, but the technical scope of the present disclosure is not limited thereto.
[0074] Next, the system bus (1600) can provide communication functions between components of the computing device (1000). The system bus (1600) can be implemented as various types of buses, such as an address bus, a data bus, and a control bus.
[0075] Next, the communication interface (1200) can support wired and wireless Internet communication of the computing device (1000). Furthermore, the communication interface (1200) can also support various communication methods other than Internet communication. To this end, the communication interface (1200) can be configured to include a communication module well known in the technical field of the present disclosure.
[0076] Next, the storage (1300) can non-temporarily store one or more computer programs (1500). The storage (1300) can be configured to include non-volatile memory such as Read Only Memory (ROM), Erasable Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, a hard disk, a removable disk, or any form of computer-readable recording medium well known in the art to which the present disclosure pertains.
[0077] Next, the computer program (1500) may include one or more instructions that cause the processor (1100) to perform operations / methods according to various embodiments of the present disclosure when loaded into the memory (1400). That is, when the computer program (1500) is loaded into the memory (1400), the processor (1100) may execute the one or more instructions, thereby performing the methods / operations according to various embodiments of the present disclosure.
[0078] In some embodiments, the computer program (1500) may include instructions for receiving a first request related to a first component forming a part of a first webpage from a web server of a first webpage, wherein the first webpage is implemented using a first front-end framework; instructions for routing the first request to a first target server with reference to configuration information of the first request, wherein the configuration information of the first request includes first path information for processing the first request and address information of the first target server; instructions for receiving, from the first target server, a result of rendering a first content of the first target server as a response result to the first request, wherein the first content is implemented using a second front-end framework different from the first front-end framework; and instructions for transmitting the response result to the first request to the web server of the first webpage.
[0079] In some embodiments, the computer program (1500) includes instructions for receiving a first request related to a first webpage from a web server of a first webpage, wherein the first webpage is implemented using a first front-end framework; instructions for receiving a second request related to a second webpage from the web server of the first webpage, wherein the second webpage is implemented using a second front-end framework different from the first front-end framework; instructions for routing the first request to a first target server with reference to configuration information of the first request, wherein the configuration information of the first request includes first path information for processing the first request and address information of the first target server; instructions for routing the second request to a second target server with reference to configuration information of the second request, wherein the configuration information of the second request includes second path information for processing the second request and address information of the second target server. It may include instructions including address information, instructions for receiving, from the first target server, a result of rendering the content of the first webpage according to the first request as a response result to the first request, instructions for receiving, from the second target server, a result of rendering the content of the second webpage according to the second request as a response result to the second request, and instructions for transmitting the response result to the first request and the response result to the second request to the web server of the first webpage.
[0080] Meanwhile, in some embodiments, the computing device (1000) illustrated in FIG. 11 may refer to a virtual machine implemented based on cloud technology. For example, the computing device (1000) may be a virtual machine operating on one or more physical servers included in a server farm. In this case, at least some of the processor (1100), memory (1400), and storage (1300) illustrated in FIG. 11 may be virtual hardware, and the communication interface (1200) may also be implemented as a virtualized networking element, such as a virtual switch.
[0081] So far, with reference to FIG. 11, an exemplary computing device (1000) capable of implementing a front-end framework providing system (10) according to some embodiments of the present disclosure has been described.
[0082] Various embodiments of the present disclosure and effects according to the embodiments have been described with reference to FIGS. 1 to 11. The effects according to the technical concept of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description below.
[0083] Furthermore, even though the above embodiments have described multiple components as being combined or operating in combination, the technical concept of the present disclosure is not necessarily limited to these embodiments. That is, within the scope of the technical concept of the present disclosure, all of the components may be selectively combined and operated one or more times.
[0084] The technical concepts of the present disclosure described so far can be implemented as computer-readable code on a computer-readable medium. A computer program recorded on a computer-readable recording medium can be transmitted to another computing device via a network such as the Internet, installed on said other computing device, and thus used on said other computing device.
[0085] Although the operations are depicted in a particular order in the drawings, this should not be construed as requiring that the operations be performed in the particular order depicted, or in any sequential order, or that all depicted operations must be performed to achieve the desired results. In certain situations, multitasking and parallel processing may be advantageous.
[0086] Although various embodiments of the present disclosure have been described with reference to the attached drawings, those skilled in the art will appreciate that the technical concepts of the present disclosure can be implemented in other specific forms without changing the technical concepts or essential features thereof. Therefore, it should be understood that the embodiments described above are exemplary in all respects and not restrictive. The scope of protection of the present disclosure should be interpreted by the claims below, and all technical concepts within a scope equivalent thereto should be interpreted as being included within the scope of the technical concepts defined by the present disclosure.
Claims
1. In a method performed by a computing system, A step of receiving a first request related to a first component constituting a part of a first web page from a web server of a first web page, wherein the first web page is implemented using a first front-end framework; A step of routing the first request to a first target server by referring to the environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server; A step of receiving, from the first target server, a result of rendering the first content of the first target server as a response result to the first request, wherein the first content is implemented using a second front-end framework different from the first front-end framework; and A step of transmitting a response result for the first request to the web server of the first web page, How to provide a front-end framework.
2. In paragraph 1, The step of routing to the above first target server is: A step of routing the first request to the first target server by referring to the address information of the first target server, The step of transmitting the above first web page to the web server is: A step of transmitting a response result for the first request to the web server of the first web page by referring to the first pass information, How to provide a front-end framework.
3. In paragraph 1, A step of receiving a second request related to a second component constituting another part of the first web page from a web server of the first web page; A step of routing the second request to a second target server by referring to the environment setting information of the second request, wherein the environment setting information of the second request includes second pass information for processing the second request and address information of the second target server; A step of receiving, from the second target server, a result of rendering the second content of the second target server as a response result to the second request, wherein the second content is implemented using the first front-end framework; and Further comprising a step of transmitting a response result for the second request to the web server of the first web page. How to provide a front-end framework.
4. In paragraph 3, The step of routing to the second target server is: A step of routing the second request to the second target server by referring to the address information of the second target server, The step of transmitting the above first web page to the web server is: A step of transmitting a response result for the second request to the web server of the first web page by referring to the second pass information, How to provide a front-end framework.
5. In paragraph 1, The step of receiving the response result for the above first request is: As a result of responding to the first request, further receiving setting information of the first content, In the case where the setting information of the first content includes a static resource, further comprising a step of caching the static resource. How to provide a front-end framework.
6. In paragraph 1, The first request above is an API (Application Program Interface) call, and the rendered result is HTML code. How to provide a front-end framework.
7. In a method performed by a computing system, A step of receiving a first request related to a first web page from a web server of the first web page, wherein the first web page is implemented using a first front-end framework; A step of receiving a second request related to a second web page from a web server of the first web page, wherein the second web page is implemented using a second front-end framework different from the first front-end framework; A step of routing the first request to a first target server by referring to the environment setting information of the first request, wherein the environment setting information of the first request includes first pass information for processing the first request and address information of the first target server; A step of routing the second request to a second target server by referring to the environment setting information of the second request, wherein the environment setting information of the second request includes second pass information for processing the second request and address information of the second target server; A step of receiving, from the first target server, a result of rendering the content of the first web page according to the first request as a response result to the first request; A step of receiving, from the second target server, a result of rendering the content of the second web page according to the second request as a response result to the second request; and A step of transmitting a response result for the first request and a response result for the second request to the web server of the first web page, How to provide a front-end framework.
8. In paragraph 7, The step of routing to the above first target server is: A step of routing the first request to the first target server by referring to the address information of the first target server, The step of routing to the second target server is: A step of routing the second request to the second target server by referring to the address information of the second target server, The step of transmitting the above first web page to the web server is: A step of transmitting a response result for the first request to the web server of the first web page by referring to the first pass information, and a step of transmitting a response result for the second request to the web server of the first web page by referring to the second pass information, How to provide a front-end framework.
9. In a method performed by a computing system, A step of transmitting a first request related to a first component forming part of a first web page to a proxy server, wherein the first web page is implemented using a first front-end framework; A step of receiving a response result for the first request from the proxy server, wherein the response result for the first request includes a result of rendering the first content of the first target server to which the first request is routed, and the first content is implemented using a second front-end framework different from the first front-end framework; and A step of rendering the entire first web page using the response result for the first request, How to provide a front-end framework.
10. In paragraph 9, The step of receiving the response result for the above first request is: As a result of responding to the first request, further receiving setting information of the first content, In the case where the setting information of the first content includes a static resource, further comprising a step of receiving the static resource from the proxy server. How to provide a front-end framework.
11. Communication interface; Memory into which computer programs are loaded; and Including a processor for executing the above computer program, The above computer program, Instructions for receiving a first request related to a first component forming part of a first web page from a web server of a first web page, wherein the first web page is implemented using a first front-end framework; Instructions for routing the first request to a first target server by referring to the environment setting information of the first request, wherein the environment setting information of the first request includes first pass information for processing the first request and address information of the first target server; Instructions for receiving, from the first target server, a result of rendering the first content of the first target server as a response result to the first request, wherein the first content is implemented using a second front-end framework different from the first front-end framework; and Including instructions for transmitting a response result for the first request to the web server of the first web page, Front-end framework provision system.
12. Communication interface; Memory into which computer programs are loaded; and Including a processor for executing the above computer program, The above computer program, Instructions for receiving a first request related to a first web page from a web server of the first web page, wherein the first web page is implemented using a first front-end framework; Instructions for receiving a second request related to the second web page from the web server of the first web page, wherein the second web page is implemented using a second front-end framework different from the first front-end framework; Instructions for routing the first request to a first target server by referring to the environment setting information of the first request, wherein the environment setting information of the first request includes first path information for processing the first request and address information of the first target server; Instructions for routing the second request to a second target server by referring to the environment setting information of the second request, wherein the environment setting information of the second request includes second path information for processing the second request and address information of the second target server; Instructions for receiving, from the first target server, a result of rendering the content of the first web page according to the first request as a response result to the first request; Instructions for receiving, from the second target server, a result of rendering the content of the second web page according to the second request as a response result to the second request; and Including instructions for transmitting the response result for the first request and the response result for the second request to the web server of the first web page. A front-end framework provision system.
Citation Information
Patent Citations
Aggregation method and device of multi-type front-end framework and computer equipment
CN110308904A
Front-end framework automatic conversion method and device thereof, computer equipment and storage medium
CN112306533A
Front-end frame conversion method and device
CN112860231A
Code generation method and device, computer equipment and storage medium
CN113986248A
Compatible method, system and equipment for layui framework packaging and storage medium
CN115061684A
