In a typical web application, sections of web pages can be divided in multiple sections and some of these sections may be reusable across web pages. To reduce the duplication of similar markup/code, typically these sections are stored in separated files (e.g., fragments), then these fragments are included in the different pages using specialized markups (e.g. <include>). Typically, the fragments to be included on a page are predefined and the interactions between fragments are well known at application development time.
The classical approach to the use of fragments facilitates fragment reuse but has limitations in terms of the variety and nature of dynamic behavior that can be provided using prior approaches.
Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.
The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.
Dynamic discovery and management of page fragments is disclosed. In various embodiments, a developer using a development tool to develop an application comprising developer-composable application pages defines one or more fragments capable of being included in one or more application pages dynamically. A page fragment discovery and management infrastructure is provided. At runtime, based on a developer's definition of a composed page and/or fragment, one or more conditions (e.g., contextual data, such as session or other application variables; event payloads; etc.) may be evaluated to determine dynamically a fragment to be retrieved and included in the page. The fragment may be specified by an identifier and/or determined by evaluating an expression or other logic. Inputs required by the fragment are provided (e.g., context variables). The fragment definition may include a definition of one or more user interface (UI) or other events that may be published and/or consumed by the fragment. In various embodiments, one or more of the inclusion (or not) of a particular fragment and its behavior as included under specific circumstances, including by way of example and without limitation whether or not and/or in what manner it is rendered visibly on the page as displayed, may be determined dynamically, at runtime, e.g., based on context data, UI events, user input, etc.
In the example shown, a development tool associated with application developer workstation 114 enables the developer to compose custom, reusable fragments capable of being included in one or more application pages, e.g. as determined dynamically at runtime as defined by the developer at development time. Fragment definitions created as disclosed herein may be stored in a fragment definition store 116 and may be used at application deployment and/or at runtime to retrieve fragment definitions to be used at runtime to discovery a fragment to be included in a page; to instantiated and include a fragment on a page being displayed; and/or to manage the inputs, outputs, dynamic behavior, etc. of a fragment as included in a page being displayed.
In the example shown in
In various embodiments, a fragment may be defined to include and/or to potentially include, based on a determination made at runtime, one or more other fragments. For example, at runtime a developer-composed expression may be evaluated, and based on a result of the evaluation one or more fragments may be instantiated and included within the fragment with which the expression is associated.
Typically, a fragment is defined to receive, e.g., from the hosting page, one or more inputs, and to provide, e.g., via developer-composed user interface events, one or more outputs. In various embodiments, when composing a page and/or fragment and defining a fragment to be loaded via an expression, the developer is provided with a way to define a fragment “hint” or other default behavior that is to be exhibited in the event that evaluation of an expression at runtime fails to indicate a valid fragment name or other identifier. In some embodiments, the fragment hint takes the value of another fragment. The fragment hint is used as a proxy during composition time and as a fallback at runtime. The fragment hint acts like a proxy at design-time as the actual fragment that might be loaded when the application is running is not known. The system then sees the proxy fragment and uses its inputs and outputs to wire the fragment to the page in which it is embedded.
In various embodiments, the architecture shown in
Using techniques disclosed herein, highly dynamic application page behaviors may be provided in applications composed by users of a development tool, including behaviors that cannot be known in advance by a provider of the development tool.
Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.
This application is a continuation of, and claims a benefit of priority under 35 U.S.C. 120 of the filing date of U.S. patent application Ser. No. 14/136,255, filed Dec. 20, 2013, entitled “Dynamic Discovery and Management of Page Fragments”, the entire contents of which are hereby expressly incorporated by reference for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
4910660 | Li | Mar 1990 | A |
5079690 | Li | Jan 1992 | A |
5644738 | Goldman et al. | Jul 1997 | A |
5754772 | Leaf | May 1998 | A |
6012067 | Sarkar | Jan 2000 | A |
6226627 | Polak | May 2001 | B1 |
6233726 | Bowman et al. | May 2001 | B1 |
6304886 | Bernardo | Oct 2001 | B1 |
6397220 | Deisinger | May 2002 | B1 |
6724403 | Santoro | Apr 2004 | B1 |
7013469 | Smith | Mar 2006 | B2 |
7225425 | Kompalli et al. | May 2007 | B2 |
7734995 | Saikaly | Jun 2010 | B1 |
7797432 | Volodarsky et al. | Sep 2010 | B2 |
7933632 | Flynt | Apr 2011 | B2 |
8156481 | Koh et al. | Apr 2012 | B1 |
8271899 | Blackburn et al. | Sep 2012 | B1 |
8321681 | Tulchinsky et al. | Nov 2012 | B2 |
8346889 | Chiu | Jan 2013 | B1 |
8560959 | Zaman | Oct 2013 | B2 |
8572268 | Wray | Oct 2013 | B2 |
8645848 | Lesh | Feb 2014 | B2 |
9170786 | Totale | Oct 2015 | B1 |
9756147 | Totale | Sep 2017 | B1 |
9977703 | Gall | May 2018 | B2 |
10466872 | Totale | Nov 2019 | B1 |
1054015 | Totale et al. | Jan 2020 | A1 |
20020194393 | Hrischuk et al. | Dec 2002 | A1 |
20030004770 | Miller et al. | Jan 2003 | A1 |
20030023641 | Gorman et al. | Jan 2003 | A1 |
20030222906 | Fish et al. | Dec 2003 | A1 |
20040006765 | Goldman et al. | Jan 2004 | A1 |
20040044987 | Kompalli et al. | Mar 2004 | A1 |
20050022157 | Brendle | Jan 2005 | A1 |
20050114849 | Megiddo | May 2005 | A1 |
20050149908 | Klianev | Jul 2005 | A1 |
20050166207 | Baba et al. | Jul 2005 | A1 |
20060053421 | Dickenson | Mar 2006 | A1 |
20060074704 | Shukla et al. | Apr 2006 | A1 |
20060074733 | Shukla et al. | Apr 2006 | A1 |
20060236304 | Luo et al. | Oct 2006 | A1 |
20060236306 | DeBruin | Oct 2006 | A1 |
20060259586 | Wood | Nov 2006 | A1 |
20070055591 | Enenkiel | Mar 2007 | A1 |
20070266368 | Szpak et al. | Nov 2007 | A1 |
20080046868 | Tsantilis | Feb 2008 | A1 |
20080126396 | Gagnon | May 2008 | A1 |
20080201332 | Souders | Aug 2008 | A1 |
20080281944 | Vorne | Nov 2008 | A1 |
20090019386 | Sweetland et al. | Jan 2009 | A1 |
20090055725 | Portnoy | Feb 2009 | A1 |
20090193339 | Nichols | Jul 2009 | A1 |
20090210631 | Bosworth et al. | Aug 2009 | A1 |
20090307670 | Kashyap et al. | Dec 2009 | A1 |
20100058177 | Engel | Mar 2010 | A1 |
20100211420 | Kodi et al. | Aug 2010 | A1 |
20100281462 | Festa | Nov 2010 | A1 |
20100293056 | Flynt | Nov 2010 | A1 |
20110225565 | Van Velzen et al. | Sep 2011 | A1 |
20110246549 | Katzenberger | Oct 2011 | A1 |
20120131442 | Grizim | May 2012 | A1 |
20120166992 | Huynh et al. | Jun 2012 | A1 |
20130019172 | Kotler et al. | Jan 2013 | A1 |
20130019182 | Gil et al. | Jan 2013 | A1 |
20130151571 | Stumpf | Jun 2013 | A1 |
20130205193 | Matsufuji et al. | Aug 2013 | A1 |
20130218919 | Solonchev | Aug 2013 | A1 |
20130219263 | Abrahami | Aug 2013 | A1 |
20130290380 | Flickner et al. | Oct 2013 | A1 |
20140013297 | Cook | Jan 2014 | A1 |
20140052681 | Nitz | Feb 2014 | A1 |
20140201232 | Berry | Jul 2014 | A1 |
20140245262 | Hill | Aug 2014 | A1 |
20160054986 | Totale | Feb 2016 | A1 |
20200012402 | Totale et al. | Jan 2020 | A1 |
Entry |
---|
The PHP Group, What is PHP?, Jan. 23, 2009. |
Author Unknown, Kohana Team, Session Library, Jan. 2012, retrieved from http://www.hcs.harvard.edu/-powerpak/kohanadocs/libraries/session.html, 6 pgs. |
Author Unknown, www.gwtproject.org. GWT, Jul. 2013, retrieved from https://web.archive.org/web/20130708095321/http://www.gwtproject.org/doc/latest/DevGuide-Html5Storage.html, 7 pgs. |
Author Unknown, w3schools.com, “HTML5 Web Storage,” Nov. 2012, retrieved from https://web.archive.org/web/20121123023047/http://www.w3schools.com/html/html5_webstorage.asp, 3 pgs. |
Office Action for U.S. Appl. No. 14/136,287, dated Dec. 17, 2014, 10 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Sep. 11, 2015, 15 pgs. |
Office Action for U.S. Appl. No. 14/136,255, dated Jan. 15, 2016, 16 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Feb. 1, 2016, 17 pgs. |
Office Action for U.S. Appl. No. 14/136,255, dated Apr. 22, 2016, 16 pgs. |
Office Action for U.S. Appl. No. 14/136,255, dated Jul. 12, 2016, 23 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Sep. 22, 2016, 18 pgs. |
Office Action for U.S. Appl. No. 14/136,255, dated Oct. 17, 2016, 21 pgs. |
Office Action for U.S. Appl. No. 14/136,255, dated Feb. 6, 2017, 21 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Mar. 10, 2017, 19 pgs. |
Notice of Allowance for U.S Appl. No. 14/136,255, dated May 26, 2017, 4 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Nov. 15, 2017, 20 pgs. |
Office Action for U.S. Appl. No. 14/842,713, dated Mar. 9, 2018, 43 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Jun. 11, 2018, 26 pgs. |
Notice of Allowance for U.S. Appl. No. 14/842,713, dated Oct. 1, 2018, 7 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Nov. 6, 2018, 21 pgs. |
Notice of Allowance for U.S. Appl. No. 14/842,713, dated Jan. 28, 2019, 4 pgs. |
Office Action for U.S. Appl. No. 14/136,232, dated Apr. 12, 2019, 24 pgs. |
Notice of Allowance for U.S. Appl. No. 14/842,713, dated May 7, 2019, 4 pgs. |
Notice of Allowance for U.S. Appl. No. 14/136,232, dated Jul. 18, 2019, 6 pgs. |
Notice of Allowance for U.S. Appl. No. 14/842,713, dated Aug. 15, 2019, 4 pgs. |
Notice of Allowance for U.S. Appl. No. 14/842,713, dated Nov. 27, 2019, 4 pgs. |
Number | Date | Country | |
---|---|---|---|
20170359445 A1 | Dec 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14136255 | Dec 2013 | US |
Child | 15633293 | US |