EP2977914A1 - Website framework - Google Patents
Website framework Download PDFInfo
- Publication number
- EP2977914A1 EP2977914A1 EP14178638.4A EP14178638A EP2977914A1 EP 2977914 A1 EP2977914 A1 EP 2977914A1 EP 14178638 A EP14178638 A EP 14178638A EP 2977914 A1 EP2977914 A1 EP 2977914A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- website
- framework
- resources
- request
- resource
- 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.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/986—Document structures and storage, e.g. HTML extensions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Definitions
- Websites are hosted by web servers.
- a web server receives a request concerning for a website and provides a response, often in the form of content such as a web page that can be rendered at a receiving client.
- Websites can be written in different languages and may be defined by markup language such as hypertext markup language, HTML, and cascaded style scripts, CSS.
- Websites may also include media such as images, sound clips and video and executable code such as Javascript.
- a website may combine, website resources such as, amongst others, multimedia, content, executable functions and access to externally hosted resources or services.
- a website may be defined in one language, or a mixture of languages.
- CMS Content Management Systems
- CMS Content Management Systems
- a CMS splits the content of a website from the structure, style and functionality of the hosted website.
- a CMS commonly has a front end graphical user interface to allow aspects of the CMS and the content to be edited.
- Changes may need to be done at the code level which can be complex and require significant expertise.
- CMS's use templates to allow a user to change style and layout of a website by swapping one template for another. Modification of templates often requires editing of its code such as its cascaded style sheet, CSS, files. However, should the template be updated for bug fixes, those modifications are commonly lost and must be re-done.
- a website may co-exist on a web server with other websites, each existing independently of other websites on the web server and having its own directory of files that define its content, structure, style and functionality.
- a web server commonly handles routing of requests to the correct one of multiple hosted websites by associating different port numbers with different websites and routing requests according to port or by having a proxy component initially receive requests that then routes requests based on the destination address or domain of the request.
- One difficulty with hosting multiple websites is that keeping all websites updated.
- Another difficulty is that maintaining a common brand or style across multiple websites that potentially have different content and structure requires care and attention to ensure necessary changes are made to each site.
- One method for hosting a website includes defining at least aspects of a website in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework.
- the framework is parsed to determine at least one of the website resources for the request and a response is provided to the request in dependence on the at least one website resource.
- Examples described herein may enable websites to be defined in a framework that extends and/or changes a root website without requiring editing of the root website.
- the extensions and/or changes may not be restricted to a particular type and can include content, configuration, style, and functionality and may be provided by resources and services that are local or remote of a hosting web server.
- a change to a website resource of the root website takes effect on any website inheriting from the root website without any further changes being needed.
- a single change, patch or addition to the root website may therefore affect multiple websites.
- the change, patch or addition will not have any effect on changes or extensions made by the framework which has a superseding effect on the root website.
- Multiple websites may inherit from a common root website, each of the multiple websites being able to be changed or extended independently of the root website or other hosted websites.
- websites may have a common style and branding that is inherited from the root site but have different content or functionality.
- Multiple tenants may be collocated on a single web server instance whilst security and access rights can be divided (for example, a tenant may be given rights to change the portion of the website dictated by his or her framework but not to anything governed by the root website - however, given that the user's framework can override the root website, changed to the root website should not be necessary). Because the framework has a superseding effect, changes ca be simply be rolled back to that of the root website by removing whichever website resources had been specified to supersede it in the framework. This causes the website to revert to inheriting from the root website.
- FIG. 1 is a block diagram illustrating a system to serve content of a website.
- FIG. 1 includes particular components, modules, etc. according to various examples. However, in different examples, more, fewer, and/or other components, modules, arrangements of components/modules, etc. may be used according to the teachings described herein.
- various components, modules, etc. described herein may be implemented as one or more electronic circuits, software modules, hardware modules, special purpose hardware (e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.), or some combination of these.
- special purpose hardware e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.
- the system 10 includes a data repository 20 encoding a website framework 30.
- the website framework 30 identifies a plurality of website resources.
- the website framework 30 also identifies the applicability of the website resources for a website.
- the system also includes a network interface 50 that is arranged to receive, from a network 60, a request for content of the website.
- the system further includes a dispatcher 70 including at least one processor 80 to execute computer program code to receive the request for content from the network interface 50.
- the dispatcher 70 accesses the website framework 30 in the data repository 20 to determine, in dependence on the applicability identified by the website framework 30, at least one of the website resources corresponding to the request for content, and serves content in dependence on the determined website resource or resources.
- FIG. 2 is a block diagram illustrating a system to serve content of a website.
- FIG. 3 includes particular components, modules, etc. according to various examples. However, in different examples, more, fewer, and/or other components, modules, arrangements of components/modules, etc. may be used according to the teachings described herein.
- various components, modules, etc. described herein may be implemented as one or more electronic circuits, software modules, hardware modules, special purpose hardware (e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.), or some combination of these.
- special purpose hardware e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.
- the system 10 includes a data repository 20 encoding a website framework 30.
- the website framework 30 identifies a plurality of website resources 40.
- the website framework 30 also identifies the applicability of the website resources for a website 90.
- the website framework 30 comprises a hierarchy, each of the plurality of website resources 40 having a position in the hierarchy, the position of a website resource 40 in the hierarchy with respect to the other website resources defining the applicability of the website resource for the website.
- the hierarchy has a plurality of levels, each level having a unique rank in the hierarchy.
- the position of each of the plurality of website resources 40 is one of the levels (in one example, multiple website resources 40 may have the same level).
- a website resource 40 in a higher ranked level has priority in applicability for the website over a website resource of a lower ranked level.
- a website resource is applicable for the website if no corresponding website resource at a higher ranked level exists in the hierarchy.
- correspondence of website resources 40 may be determined by a file naming convention. For example, two resources may correspond if they share the same name or part of a name. For example, if there are two website resources named "login.js", the resource having the higher ranked level would be the one selected as being applicable. It will be appreciated that a different ranking scheme may be selected with priority being given differently than based on the relative measure of high or low.
- correspondence may be defined in the website framework 30 by encoding a link or mark in the website framework 30 between corresponding website resources.
- the dashed lines in FIG. 2 illustrate the correspondence between the website framework 30 and the website resources 40. It will be appreciated that website resources themselves need not be part of the website framework 30 and may be hosted locally or remotely of the system 10 as shown in FIG. 2 .
- the system 10 also includes a network interface 50 that is arranged to receive, from a network 60, a request for content of the website.
- the system 10 further includes a dispatcher 70 including at least one processor 80 to execute computer program code to receive the request for content from the network interface 50.
- the dispatcher 70 accesses the website framework 30 in the data repository 20 to determine, in dependence on the applicability identified by the website framework 30, at least one of the website resources 40 corresponding to the request for content. The dispatcher then serves, or causes serving of content in dependence on the determined website resource or resources 40.
- the dispatcher 70 is a separate component to a web server engine running on the system 10.
- the web server engine is a nginx, jsnode, IIS or Apache web server engine that receives a request and directs it to the dispatcher 70 that determines website resources that define aspects of the website such as content, structure, style and/or functionality from the website framework 30 before returning a response to the request based on the website resources 40.
- the dispatcher is part of, or a plug-in to, a web server engine such as a nginx, jsnode, IIS or Apache web server engine.
- a web server engine such as a nginx, jsnode, IIS or Apache web server engine.
- the served content may be, or include, elements renderable by a receiving web browser or other client. In one example, the served content may be or include elements executable or accessible by a receiving web browser or other client. In one example, the served content may be a mixture of content types. In one example, the served content may be a combination or compilation of website resources or parts of website resources. In one example, the combination or compilation may result in the website resources or parts being presented in a different format, encoding type or language.
- each website resource 40 is of a type selected from a set including: media (such as audio, video or images); style settings (such as colour, font selection, layout); configuration settings (such as localization settings, website configuration, data for accessing other services and databases, security settings such as a htaccess file that can dictate IP addresses to allow/block, require secure connections, rewirte URLs etc); functional executable code (such as Javascript encoding website functionality, controllers, models, routes); renderable code (such as HTML); and, local and external services (for example services that execute substantially independently of the system 10 and provide data or other services to the website such as authentication or payment processing).
- media such as audio, video or images
- style settings such as colour, font selection, layout
- configuration settings such as localization settings, website configuration, data for accessing other services and databases, security settings such as a htaccess file that can dictate IP addresses to allow/block, require secure connections, rewirte URLs etc
- functional executable code such as Javascript encoding website functionality, controllers, models
- FIG. 3a is a graphical illustration of a website framework of the system of FIG. 1 .
- FIG. 3a reference may be made to the diagrams of FIGS. 1 and, 2 to provide contextual examples. Implementation, however, is not limited to those examples.
- a website framework 30 for a website is in the form of two hierarchical trees 31, 35.
- a root tree 31 corresponds to a root website and an extension tree 35 corresponds to additions or substitutions to be applied to the root website to provide the website.
- nodes 31 a, 31 b, 31 c, 31 d, 35a, 35b of the trees correspond to website resources 40.
- nodes of the extension tree 35 are ranked or prioritized higher than nodes of the root tree 31. It will be appreciated that the website framework 30 need not be encoded as graphical trees and could be encoded in the form of nodes and pointers, links, stored in a database, a file and directory structure or in other ways.
- FIG. 3b is a graphical illustration of the website framework of FIG. 3a taking into account inheritance and superseding effect of the root 31 and extension 35 trees.
- Node 35a of the extension tree 35 supersedes node 31 a of the root tree 31.
- Node 35b of the extension tree 35 has no corresponding node in the root tree and so extends the overall framework 30.
- FIG. 4a is a graphical illustration of a website framework of the system of FIG. 1 or 2 but for the case where the system 10 hosts multiple websites 90a, 90b, 90c.
- FIG. 3a reference may be made to the diagrams of FIGS. 1 , 2 , 3a and, 3b to provide contextual examples. Implementation, however, is not limited to those examples.
- the website framework 30 identifies the applicability of the website resources 40 for the plurality of websites 90a, 90b, 90c.
- the dispatcher 70 of the system of FIG. 1 or 2 includes at least one processor to execute computer program code to determine one of the plurality of websites 90a, 90b, 90c to which the request relates to and to determine at least one of the website resources 40 in dependence on the website determined from the request.
- each of the plurality of websites 90a, 90b, 90c is derived from a root website 91, the plurality of websites sharing at least one base level 31 in the website framework 30 which corresponds to the root website 91.
- websites 90a and 90b share an intermediate website framework 32.
- each of the plurality of websites 90a, 90b, 90c has a corresponding extension website framework 33-35 that is ranked higher than the website framework 31 for the root website 91 and the intermediate website framework 32.
- the dispatcher 70 includes at least one processor to execute computer program code to select the website framework for the determined website (90a, 90b or 90c).
- the dispatcher 70 determines at least one of the website resources 40 corresponding to the request for content in dependence on the website framework 31 for the root website 91 supplemented by the website framework 32-35 for the determined website and intermediate website framework as indicated by the framework 30.
- each website inherits website resources from the root website 91 unless there is a corresponding web resource 40 specified by its own framework 32-34 (or the intermediate framework 31 if applicable) in which case the higher rank web resource 40 is selected.
- applicable website resources 40 can be determined (which effectively flattens the frameworks and removes superseded nodes) resulting in the resources for the website.
- parsing the framework is performed on demand in response to a request concerning the website.
- a common framework 30 is shared by a number of websites, the nodes of the framework identifying the website to which they pertain.
- some of all of the frameworks may be merged together.
- the dispatcher 70 determining how to merge together the root and extension frameworks, it instead navigates the merged framework to determine which nodes apply to the website in question.
- FIG. 5 is a flow diagram of a method of hosting a website according to various examples.
- At least aspects of a website are defined in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework.
- the framework is parsed to determine at least one of the website resources for the request.
- a response is provided to the request in dependence on the determined website resource or resources.
- FIG. 6 is a flow diagram of a method of hosting a website according to various examples.
- the website framework comprises a hierarchy prioritizing the website resources.
- each of the plurality of website resources are assigned to the hierarchy.
- a website resource is specified in the website framework as an alternative to another website resource.
- the framework is parsed to determine at least one of the website resources for the request including, at step 112, processing the hierarchy.
- each highest priority website resource in the hierarchy relevant to the request is selected. It will be appreciated that, in one example, steps 113-115 can be combined.
- compiling the resources includes gathering them into a form that can be provided as a response.
- compiling the resources comprises serving the selected resource or resources (in their original form or in a changed form).
- compiling the resources may include combining code or mark-up into a combined response.
- FIG. 7 is a flow diagram of a method of hosting a website according to various examples.
- the method of FIG. 7 corresponds to of FIG. 6 except that a plurality of websites are hosted.
- those of the plurality of websites to which each of the website resources applies is identified in the framework.
- one of the plurality of websites is determined from the request. Steps 112-115 are then performed with respect to the determined website.
- any of the website resources that are common to all of the websites may be identified as such in the framework (either explicitly or by absence of labelling to specific websites).
- FIGs. 8a-8c are graphical illustrations of a page of a website produced by the system of FIG. 1 .
- FIG. 8a a root site is shown in FIG. 8a and extended sites inheriting from the root site are shown in FIGs 8b and 8c .
- the root site of FIG. 8a has limited content and styling and branding.
- the website of FIG. 8b has an extension framework that supersedes some content of the root website and also redefines styling.
- the website of FIG. 8c has an extension framework that adds content and redefines configuration such that URLs are private and login via an HTTPS connection is mandatory.
- the dispatcher may be implemented as a computer-readable storage medium containing instructions executed by a processor and stored in a memory.
- Processor may represent generally any instruction execution system, such as a computer/processor based system or an ASIC (Application Specific Integrated Circuit), a Field Programmable Gate Array (FPGA), a computer, or other system that can fetch or obtain instructions or logic stored in memory and execute the instructions or logic contained therein.
- Memory represents generally any memory configured to store program instructions and other data.
- FIG. 9 is a flow diagram depicting a technique to control a web server according to various examples.
- a request is received, from a network, for content of a website hosted by the web server at block 200.
- a data repository encoding a website framework for the website is accessed at block 210.
- Each of a plurality of website resources has a position in the framework.
- at block 220 at least one of the resources for the request is selected in dependence on the framework and on the respective positions of the website resources in the framework.
- a reply is made to the request in dependence on the selected website resource or resources.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Techniques for hosting websites are disclosed. At least aspects of a website are defined in a framework of website resources. The at least aspects of the website are dependent on the website resources and their position in the framework. In response to a request concerning the website, the framework is parsed to determine at least one of the website resources for the request. A response to the request is provided in dependence on the at least one website resource.
Description
- Websites are hosted by web servers. A web server receives a request concerning for a website and provides a response, often in the form of content such as a web page that can be rendered at a receiving client. Websites can be written in different languages and may be defined by markup language such as hypertext markup language, HTML, and cascaded style scripts, CSS. Websites may also include media such as images, sound clips and video and executable code such as Javascript.
- The accompanying drawings illustrate various examples and are a part of the specification. The illustrated examples are examples and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical elements.
-
FIG. 1 is a block diagram illustrating a system to serve content of a website, according to various examples; -
FIG. 2 is a block diagram illustrating a system to serve content of a website, according to various examples -
FIGs 3a and3b are graphical representations of a website framework of the system ofFIGs 1 or2 , according to various examples; -
FIG. 4 is a graphical representations of a website framework of the system ofFIGs 1 or2 , according to various examples; -
FIG. 5 is a flow diagram of a method of hosting a website, according to various examples; -
FIG. 6 is a flow diagram of a method of hosting a website, according to various examples; -
FIG. 7 is a flow diagram of a method of hosting a website, according to various examples; -
FIGs 8a-8c are graphical illustrations of a page of a website produced by the system ofFIG. 1 ; -
FIG. 9 is a flow diagram depicting a technique to control a web server according to various examples. - The same part numbers designate the same or similar parts throughout the figures.
- A website may combine, website resources such as, amongst others, multimedia, content, executable functions and access to externally hosted resources or services. A website may be defined in one language, or a mixture of languages.
- One problem with hosting websites is that they can be difficult and time consuming to create and maintain. In certain websites, the various resources to be output are linked in computer readable code such as HTML to enable the receiving client to understand and render the website. As the size, such as the number of pages, of a website increases, amending the website such as its links to reflect changes becomes increasingly difficult. Changing a component or functionality of a website, such as an authentication system for checking website access rights or a payment processor, can also be a complex task.
- Content Management Systems (CMS) have commonly been used to define and maintain websites. Content management systems commonly provide functionality such as navigation and content rendering for content that is stored in a database. A CMS splits the content of a website from the structure, style and functionality of the hosted website. A CMS commonly has a front end graphical user interface to allow aspects of the CMS and the content to be edited. However, the extent to which the structure, style and functionality of the CMS can be changed varies. Changes may need to be done at the code level which can be complex and require significant expertise.
- Certain CMS's use templates to allow a user to change style and layout of a website by swapping one template for another. Modification of templates often requires editing of its code such as its cascaded style sheet, CSS, files. However, should the template be updated for bug fixes, those modifications are commonly lost and must be re-done.
- A website may co-exist on a web server with other websites, each existing independently of other websites on the web server and having its own directory of files that define its content, structure, style and functionality. A web server commonly handles routing of requests to the correct one of multiple hosted websites by associating different port numbers with different websites and routing requests according to port or by having a proxy component initially receive requests that then routes requests based on the destination address or domain of the request. One difficulty with hosting multiple websites is that keeping all websites updated. Another difficulty is that maintaining a common brand or style across multiple websites that potentially have different content and structure requires care and attention to ensure necessary changes are made to each site.
- Accordingly, various examples described herein were developed to provide methods, computer-readable media, and systems for defining and hosting websites. One method for hosting a website includes defining at least aspects of a website in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework. In response to a request concerning the website, the framework is parsed to determine at least one of the website resources for the request and a response is provided to the request in dependence on the at least one website resource.
- Examples described herein may enable websites to be defined in a framework that extends and/or changes a root website without requiring editing of the root website. The extensions and/or changes may not be restricted to a particular type and can include content, configuration, style, and functionality and may be provided by resources and services that are local or remote of a hosting web server.
- A change to a website resource of the root website takes effect on any website inheriting from the root website without any further changes being needed. A single change, patch or addition to the root website may therefore affect multiple websites. However, the change, patch or addition will not have any effect on changes or extensions made by the framework which has a superseding effect on the root website.
- Multiple websites may inherit from a common root website, each of the multiple websites being able to be changed or extended independently of the root website or other hosted websites. For example, websites may have a common style and branding that is inherited from the root site but have different content or functionality. Multiple tenants may be collocated on a single web server instance whilst security and access rights can be divided (for example, a tenant may be given rights to change the portion of the website dictated by his or her framework but not to anything governed by the root website - however, given that the user's framework can override the root website, changed to the root website should not be necessary). Because the framework has a superseding effect, changes ca be simply be rolled back to that of the root website by removing whichever website resources had been specified to supersede it in the framework. This causes the website to revert to inheriting from the root website.
-
FIG. 1 is a block diagram illustrating a system to serve content of a website.FIG. 1 includes particular components, modules, etc. according to various examples. However, in different examples, more, fewer, and/or other components, modules, arrangements of components/modules, etc. may be used according to the teachings described herein. In addition, various components, modules, etc. described herein may be implemented as one or more electronic circuits, software modules, hardware modules, special purpose hardware (e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.), or some combination of these. - As is shown in
FIG. 1 , thesystem 10 includes adata repository 20 encoding awebsite framework 30. In one example, thewebsite framework 30 identifies a plurality of website resources. In one example, thewebsite framework 30 also identifies the applicability of the website resources for a website. In one example, the system also includes anetwork interface 50 that is arranged to receive, from anetwork 60, a request for content of the website. - In one example, the system further includes a
dispatcher 70 including at least oneprocessor 80 to execute computer program code to receive the request for content from thenetwork interface 50. In one example, thedispatcher 70 accesses thewebsite framework 30 in thedata repository 20 to determine, in dependence on the applicability identified by thewebsite framework 30, at least one of the website resources corresponding to the request for content, and serves content in dependence on the determined website resource or resources. -
FIG. 2 is a block diagram illustrating a system to serve content of a website.FIG. 3 includes particular components, modules, etc. according to various examples. However, in different examples, more, fewer, and/or other components, modules, arrangements of components/modules, etc. may be used according to the teachings described herein. In addition, various components, modules, etc. described herein may be implemented as one or more electronic circuits, software modules, hardware modules, special purpose hardware (e.g., application specific hardware, application specific integrated circuits (ASICs), embedded controllers, hardwired circuitry, Field Programmable Gate Arrays (FPGA), etc.), or some combination of these. - As is shown in
FIG. 2 , thesystem 10 includes adata repository 20 encoding awebsite framework 30. In one example, thewebsite framework 30 identifies a plurality ofwebsite resources 40. In one example, thewebsite framework 30 also identifies the applicability of the website resources for a website 90. In one example, thewebsite framework 30 comprises a hierarchy, each of the plurality ofwebsite resources 40 having a position in the hierarchy, the position of awebsite resource 40 in the hierarchy with respect to the other website resources defining the applicability of the website resource for the website. - In one example, the hierarchy has a plurality of levels, each level having a unique rank in the hierarchy. In one example, the position of each of the plurality of
website resources 40 is one of the levels (in one example,multiple website resources 40 may have the same level). Awebsite resource 40 in a higher ranked level has priority in applicability for the website over a website resource of a lower ranked level. In one example, a website resource is applicable for the website if no corresponding website resource at a higher ranked level exists in the hierarchy. - In one example, correspondence of
website resources 40 may be determined by a file naming convention. For example, two resources may correspond if they share the same name or part of a name. For example, if there are two website resources named "login.js", the resource having the higher ranked level would be the one selected as being applicable. It will be appreciated that a different ranking scheme may be selected with priority being given differently than based on the relative measure of high or low. - In one example, correspondence may be defined in the
website framework 30 by encoding a link or mark in thewebsite framework 30 between corresponding website resources. The dashed lines inFIG. 2 illustrate the correspondence between thewebsite framework 30 and thewebsite resources 40. It will be appreciated that website resources themselves need not be part of thewebsite framework 30 and may be hosted locally or remotely of thesystem 10 as shown inFIG. 2 . - In one example, the
system 10 also includes anetwork interface 50 that is arranged to receive, from anetwork 60, a request for content of the website. - In one example, the
system 10 further includes adispatcher 70 including at least oneprocessor 80 to execute computer program code to receive the request for content from thenetwork interface 50. In one example, thedispatcher 70 accesses thewebsite framework 30 in thedata repository 20 to determine, in dependence on the applicability identified by thewebsite framework 30, at least one of thewebsite resources 40 corresponding to the request for content. The dispatcher then serves, or causes serving of content in dependence on the determined website resource orresources 40. - In one example, the
dispatcher 70 is a separate component to a web server engine running on thesystem 10. In one example, the web server engine is a nginx, jsnode, IIS or Apache web server engine that receives a request and directs it to thedispatcher 70 that determines website resources that define aspects of the website such as content, structure, style and/or functionality from thewebsite framework 30 before returning a response to the request based on thewebsite resources 40. - In one example, the dispatcher is part of, or a plug-in to, a web server engine such as a nginx, jsnode, IIS or Apache web server engine.
- In one example, the served content may be, or include, elements renderable by a receiving web browser or other client. In one example, the served content may be or include elements executable or accessible by a receiving web browser or other client. In one example, the served content may be a mixture of content types. In one example, the served content may be a combination or compilation of website resources or parts of website resources. In one example, the combination or compilation may result in the website resources or parts being presented in a different format, encoding type or language.
- In one example, each
website resource 40 is of a type selected from a set including: media (such as audio, video or images); style settings (such as colour, font selection, layout); configuration settings (such as localization settings, website configuration, data for accessing other services and databases, security settings such as a htaccess file that can dictate IP addresses to allow/block, require secure connections, rewirte URLs etc); functional executable code (such as Javascript encoding website functionality, controllers, models, routes); renderable code (such as HTML); and, local and external services (for example services that execute substantially independently of thesystem 10 and provide data or other services to the website such as authentication or payment processing). It will be appreciated that website resources may be of other types. -
FIG. 3a is a graphical illustration of a website framework of the system ofFIG. 1 . In discussingFIG. 3a , reference may be made to the diagrams ofFIGS. 1 and,2 to provide contextual examples. Implementation, however, is not limited to those examples. - In one example, a
website framework 30 for a website is in the form of twohierarchical trees root tree 31 corresponds to a root website and anextension tree 35 corresponds to additions or substitutions to be applied to the root website to provide the website. In one example,nodes website resources 40. In one example, nodes of theextension tree 35 are ranked or prioritized higher than nodes of theroot tree 31. It will be appreciated that thewebsite framework 30 need not be encoded as graphical trees and could be encoded in the form of nodes and pointers, links, stored in a database, a file and directory structure or in other ways. -
FIG. 3b is a graphical illustration of the website framework ofFIG. 3a taking into account inheritance and superseding effect of theroot 31 andextension 35 trees.Node 35a of theextension tree 35 supersedesnode 31 a of theroot tree 31.Node 35b of theextension tree 35 has no corresponding node in the root tree and so extends theoverall framework 30. -
FIG. 4a is a graphical illustration of a website framework of the system ofFIG. 1 or2 but for the case where thesystem 10 hostsmultiple websites FIG. 3a , reference may be made to the diagrams ofFIGS. 1 ,2 ,3a and,3b to provide contextual examples. Implementation, however, is not limited to those examples. - In this example, the
website framework 30 identifies the applicability of thewebsite resources 40 for the plurality ofwebsites dispatcher 70 of the system ofFIG. 1 or2 includes at least one processor to execute computer program code to determine one of the plurality ofwebsites website resources 40 in dependence on the website determined from the request. - In one example, each of the plurality of
websites root website 91, the plurality of websites sharing at least onebase level 31 in thewebsite framework 30 which corresponds to theroot website 91. In one example,websites intermediate website framework 32. - In one example, each of the plurality of
websites website framework 31 for theroot website 91 and theintermediate website framework 32. In one example, thedispatcher 70 includes at least one processor to execute computer program code to select the website framework for the determined website (90a, 90b or 90c). In one example, thedispatcher 70 determines at least one of thewebsite resources 40 corresponding to the request for content in dependence on thewebsite framework 31 for theroot website 91 supplemented by the website framework 32-35 for the determined website and intermediate website framework as indicated by theframework 30. - In one example, each website inherits website resources from the
root website 91 unless there is acorresponding web resource 40 specified by its own framework 32-34 (or theintermediate framework 31 if applicable) in which case the higherrank web resource 40 is selected. By parsing the website framework of theroot website 31 and the other applicable framework(s) (31-34) for the respective website,applicable website resources 40 can be determined (which effectively flattens the frameworks and removes superseded nodes) resulting in the resources for the website. In one example, parsing the framework is performed on demand in response to a request concerning the website. - In another example, a
common framework 30 is shared by a number of websites, the nodes of the framework identifying the website to which they pertain. In this example, instead of splitting theframework 30 into a root framework and extension frameworks for specific websites (and optionally intermediate framework(s) that extend the root framework before themselves being extended by an extension framework for a specific website), some of all of the frameworks may be merged together. In this example, rather than thedispatcher 70 determining how to merge together the root and extension frameworks, it instead navigates the merged framework to determine which nodes apply to the website in question. -
FIG. 5 is a flow diagram of a method of hosting a website according to various examples. - Starting at
step 100, at least aspects of a website are defined in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework. - At
step 110, in response to a request concerning the website, the framework is parsed to determine at least one of the website resources for the request. - At step 120 a response is provided to the request in dependence on the determined website resource or resources.
-
FIG. 6 is a flow diagram of a method of hosting a website according to various examples. - Starting at
step 100, at least aspects of a website are defined in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework. In one example, the website framework comprises a hierarchy prioritizing the website resources. Atstep 101, each of the plurality of website resources are assigned to the hierarchy. Atstep 105, a website resource is specified in the website framework as an alternative to another website resource. - At
step 110, in response to a request concerning the website, the framework is parsed to determine at least one of the website resources for the request including, atstep 112, processing the hierarchy. Atstep 113, it is determined if alternative web resources specified atstep 105 are relevant to the request and, of so, atstep 114 the highest priority of the alternatives is selected Atstep 115, each highest priority website resource in the hierarchy relevant to the request is selected. It will be appreciated that, in one example, steps 113-115 can be combined. - At
step 116, the selected website resources are compiled and a response to the request from the compiled website resources is provided at step 130. In one example, compiling the resources includes gathering them into a form that can be provided as a response. In one example, compiling the resources comprises serving the selected resource or resources (in their original form or in a changed form). In one example, compiling the resources may include combining code or mark-up into a combined response. -
FIG. 7 is a flow diagram of a method of hosting a website according to various examples. - The method of
FIG. 7 corresponds to ofFIG. 6 except that a plurality of websites are hosted. Atstep 106, those of the plurality of websites to which each of the website resources applies is identified in the framework. - At
step 111, one of the plurality of websites is determined from the request. Steps 112-115 are then performed with respect to the determined website. - In one example, at
step 106, any of the website resources that are common to all of the websites may be identified as such in the framework (either explicitly or by absence of labelling to specific websites). -
FIGs. 8a-8c are graphical illustrations of a page of a website produced by the system ofFIG. 1 . In discussingFIGs. 8a-8c , reference may be made to the diagrams ofFIGS. 1 ,2 ,3a and3b ,4a and 4b ,5 ,6 and7 to provide contextual examples. Implementation, however, is not limited to those examples. - In this example a root site is shown in
FIG. 8a and extended sites inheriting from the root site are shown inFIGs 8b and 8c . The root site ofFIG. 8a has limited content and styling and branding. The website ofFIG. 8b has an extension framework that supersedes some content of the root website and also redefines styling. The website ofFIG. 8c has an extension framework that adds content and redefines configuration such that URLs are private and login via an HTTPS connection is mandatory. - The functions and operations described with respect to, for example, the dispatcher may be implemented as a computer-readable storage medium containing instructions executed by a processor and stored in a memory. Processor may represent generally any instruction execution system, such as a computer/processor based system or an ASIC (Application Specific Integrated Circuit), a Field Programmable Gate Array (FPGA), a computer, or other system that can fetch or obtain instructions or logic stored in memory and execute the instructions or logic contained therein. Memory represents generally any memory configured to store program instructions and other data.
-
FIG. 9 is a flow diagram depicting a technique to control a web server according to various examples. In the technique, a request is received, from a network, for content of a website hosted by the web server atblock 200. A data repository encoding a website framework for the website is accessed atblock 210. Each of a plurality of website resources has a position in the framework. Atblock 220, at least one of the resources for the request is selected in dependence on the framework and on the respective positions of the website resources in the framework. Atblock 230, a reply is made to the request in dependence on the selected website resource or resources. - Various modifications may be made to the disclosed examples and implementations without departing from their scope. Therefore, the illustrations and examples herein should be construed in an illustrative, and not a restrictive, sense.
Claims (15)
- A system to serve content of a website, the system comprising:a data repository encoding a website framework, the website framework identifying:a plurality of website resources; and,the applicability of the website resources for the website;a network interface to receive, from a network, a request for content of the website;a dispatcher including at least one processor to execute computer program code to receive the request for content from the network interface, to access the website framework in the data repository to determine, in dependence on said applicability, at least one of the website resources corresponding to the request for content, and to serve content in dependence on the determined website resource or resources.
- The system of claim 1, wherein the website framework comprises a hierarchy, each of the plurality of website resources having a position in the hierarchy, the position of a website resource in the hierarchy with respect to the other website resources defining the applicability of the website resource for the website.
- The system of claim 2, wherein the hierarchy has a plurality of levels, each level having a unique rank in the hierarchy, the position of each of the plurality of website resources comprising one of said levels and a website resource in a higher ranked level having priority in applicability for the website over a website resource of a lower ranked, a website resource being applicable for the website if no corresponding website resource at a higher ranked level exists in the hierarchy.
- The system of claim 1, wherein each website resource is of a type selected from a set including media, style settings, configuration settings, functional executable code, renderable code, local services, and external services.
- The system of claim 3, wherein the website framework identifies the applicability of the website resources for a plurality of websites, the dispatcher including at least one processor to execute computer program code to determine one of the plurality of websites from the request and to determine the at least one website resource in dependence on the website determined from the request.
- The system of claim 5, wherein each of the plurality of websites is derived from a root website, the plurality of websites sharing at least one base level in the website framework which corresponds to the root website.
- The system of claim 6, wherein each of the plurality of websites has a corresponding website framework that has levels ranked higher than the website framework for the root website, the dispatcher including at least one processor to execute computer program code to select the website framework for the determined website and to determine at least one of the website resources corresponding to the request for content in dependence on the website framework for the root website supplemented by the website framework for the determined website.
- A method of hosting a website comprising:defining at least aspects of a website in a framework of website resources, the at least aspects of the website being dependent on the website resources and their position in the framework;in response to a request concerning the website, parsing the framework to determine at least one of the website resources for the request and providing a response to the request in dependence on said at least one website resource.
- The method of claim 8, wherein the website framework comprises a hierarchy prioritising the website resources, the method further comprising:assigning each of the plurality of website resources to the hierarchy,wherein the step of parsing including processing the hierarchy and selecting each highest priority website resource in the hierarchy relevant to the request.
- The method of claim 9, further comprising:specifying, in the website framework, a website resource as an alternative to another website resource, wherein where the alternatives are relevant to the request, the step of parsing including selecting the highest priority of the alternatives.
- The method of claim 9, further comprising:compiling the selected website resources and providing a response to the request from the compiled website resources.
- The method of claim 8, wherein the step of defining further comprises defining at least aspects of a plurality of websites in the framework and identifying, in the framework, which of the plurality of websites each of the website resources applies to, the step of parsing further comprising:determining one of the plurality of websites from the request and determine the at least one website resource in dependence on the website determined from the request.
- The method of claim 12, wherein the step of identifying includes identifying, in the website framework, any of the website resources that are common to all of the websites.
- A non-transitory computer-readable storage medium containing instructions to control a web server, the instructions when executed by a processor causing the processor to:receive, from a network, a request for content of a website hosted by the web server;access a data repository encoding a website framework for the website, each of a plurality of website resources being positioned in the framework;select at least one of the resources for the request in dependence on the framework and on respective positions of the website resources in the framework; and,reply to the request in dependence on the at least one selected website resource.
- The non-transitory computer readable storage medium of claim 14, further comprising instructions when executed by a processor cause the processor to:determine which of a plurality of websites hosted by the web server the request pertains.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP14178638.4A EP2977914A1 (en) | 2014-07-25 | 2014-07-25 | Website framework |
US15/310,901 US10158711B2 (en) | 2014-07-25 | 2015-01-15 | Website framework |
PCT/US2015/011549 WO2016014112A1 (en) | 2014-07-25 | 2015-01-15 | Website framework |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP14178638.4A EP2977914A1 (en) | 2014-07-25 | 2014-07-25 | Website framework |
Publications (1)
Publication Number | Publication Date |
---|---|
EP2977914A1 true EP2977914A1 (en) | 2016-01-27 |
Family
ID=51260616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP14178638.4A Withdrawn EP2977914A1 (en) | 2014-07-25 | 2014-07-25 | Website framework |
Country Status (3)
Country | Link |
---|---|
US (1) | US10158711B2 (en) |
EP (1) | EP2977914A1 (en) |
WO (1) | WO2016014112A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019109889A1 (en) * | 2017-12-05 | 2019-06-13 | 中兴通讯股份有限公司 | Web page display method, browser, terminal, and computer readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113806647B (en) * | 2020-06-12 | 2025-07-18 | 腾讯科技(深圳)有限公司 | Method for identifying development framework and related equipment |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7493553B1 (en) * | 1998-12-29 | 2009-02-17 | Intel Corporation | Structured web advertising |
US6868525B1 (en) | 2000-02-01 | 2005-03-15 | Alberti Anemometer Llc | Computer graphic display visualization system and method |
US6704729B1 (en) | 2000-05-19 | 2004-03-09 | Microsoft Corporation | Retrieval of relevant information categories |
US6701459B2 (en) | 2000-12-27 | 2004-03-02 | Egurkha Pte Ltd | Root-cause approach to problem diagnosis in data networks |
US7779001B2 (en) | 2004-10-29 | 2010-08-17 | Microsoft Corporation | Web page ranking with hierarchical considerations |
US20070028162A1 (en) * | 2005-07-30 | 2007-02-01 | Microsoft Corporation | Reusing content fragments in web sites |
US7580931B2 (en) | 2006-03-13 | 2009-08-25 | Microsoft Corporation | Topic distillation via subsite retrieval |
WO2007123919A2 (en) * | 2006-04-18 | 2007-11-01 | Gemini Design Technology, Inc. | Method for ranking webpages via circuit simulation |
WO2008046210A1 (en) | 2006-10-20 | 2008-04-24 | Ray Ganong | Software for web-based management of an organization's response to an event |
US8131850B2 (en) | 2009-10-12 | 2012-03-06 | Palo Alto Research Center Incorporated | Apparatus and methods for managing network resources |
WO2011130870A1 (en) * | 2010-04-19 | 2011-10-27 | Hewlett-Packard Development Company, L.P. | Semantically ranking content in a website |
US20130198641A1 (en) * | 2012-01-30 | 2013-08-01 | International Business Machines Corporation | Predictive methods for presenting web content on mobile devices |
US10095788B2 (en) | 2012-04-02 | 2018-10-09 | Microsoft Technology Licensing, Llc | Context-sensitive deeplinks |
-
2014
- 2014-07-25 EP EP14178638.4A patent/EP2977914A1/en not_active Withdrawn
-
2015
- 2015-01-15 WO PCT/US2015/011549 patent/WO2016014112A1/en active Application Filing
- 2015-01-15 US US15/310,901 patent/US10158711B2/en active Active
Non-Patent Citations (1)
Title |
---|
No relevant documents disclosed * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019109889A1 (en) * | 2017-12-05 | 2019-06-13 | 中兴通讯股份有限公司 | Web page display method, browser, terminal, and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
US10158711B2 (en) | 2018-12-18 |
WO2016014112A1 (en) | 2016-01-28 |
US20170093973A1 (en) | 2017-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11150893B2 (en) | Collaborative software development tool for resolving potential code-change conflicts in real time | |
CN108279932B (en) | Method and device for dynamically configuring user interface of mobile terminal | |
EP3011442B1 (en) | Method and apparatus for customized software development kit (sdk) generation | |
US9569288B2 (en) | Application pattern discovery | |
CN112434117B (en) | WebGIS visualization configuration method and system based on Vue | |
US10528675B2 (en) | Context-aware translation memory to facilitate more accurate translation | |
US11029802B2 (en) | Automated command-line interface | |
US10387682B2 (en) | Parallel access to running electronic design automation (EDA) application | |
EP3000054A1 (en) | Methods and systems for validating multiple methods of input using a unified rule set | |
US20190018867A1 (en) | Rule based data processing | |
CN110941779A (en) | Page loading method and device, storage medium and electronic equipment | |
US20180210708A1 (en) | Discovery and modeling of deployment actions for multiple deployment engine providers | |
Elkhatib et al. | Experiences of using a hybrid cloud to construct an environmental virtual observatory | |
US20100180205A1 (en) | Method and apparatus to provide user interface as a service | |
CN110909290B (en) | Method and system for combining multiple systems into large single-page applications | |
US20140068416A1 (en) | System and method for automatically inserting correct escaping functions for field references in a multi-tenant computing environment | |
US10158711B2 (en) | Website framework | |
US11762911B2 (en) | Utilizing search capabilities for configuring input parameters of a workflow engine | |
CN116225394A (en) | Method, device, electronic equipment and storage medium for creating cloud development environment | |
US12314867B2 (en) | Guided row insertion | |
US11176134B2 (en) | Navigation paths between content items | |
US20200034119A1 (en) | Translating User Inputs Into Discretely Functional Styled Standalone Web and Mobile Software Features | |
CN111752559A (en) | Front-end and back-end separation system, method, device and storage medium | |
US12293146B2 (en) | Overlay rule integration for document migration | |
US10120972B1 (en) | System and method for visualizing internal instance structure and connections in a design system component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN |
|
18W | Application withdrawn |
Effective date: 20160506 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: HEWLETT PACKARD ENTERPRISE DEVELOPMENT L.P. |