Composable application session parameters

Information

  • Patent Grant
  • 9529572
  • Patent Number
    9,529,572
  • Date Filed
    Friday, December 20, 2013
    10 years ago
  • Date Issued
    Tuesday, December 27, 2016
    7 years ago
Abstract
Developer-composed custom application session parameters are disclosed. In various embodiments, a definition of a custom application session parameter is received via a software development tool user interface. Application code to store and manage the custom application session parameter, including by making the custom application parameter available across a plurality of application user interface pages, is generated programmatically based at least in part on the definition.
Description
BACKGROUND OF THE INVENTION

Advanced software development tools enable developers to define application interfaces (such as pages and fragments thereof) and functionality (e.g., action flows). Developer tools, such as the EMC® Documentum® xCP development platform, enable developers to create advanced applications with complex user and data service interactions. However, it is not possible to anticipate all application data values a developer may desire to define and use as application variables, and which application components will be desired to have access to which variables.





BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.



FIG. 1 is a block diagram illustrating an embodiment of an application development system and environment.



FIG. 2 is a block diagram illustrating an embodiment of a system to.



FIG. 3 is a block diagram illustrating an embodiment of an application configured to use developer-composed application session parameters.



FIG. 4 is a flow chart illustrating an embodiment of a process to compose an application session parameter.



FIG. 5 is a flow chart illustrating an embodiment of a process to store and manage application session parameters.



FIG. 6 is a flow chart illustrating an embodiment of a process to store and manage application session parameters.





DETAILED DESCRIPTION

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.


Composable application session parameters are disclosed. In various embodiments, an application developer is provided, via a software development tool, with an interface to compose one or more application session parameters. Application session parameters may, for example, be made available across application user interface pages and/or fragments thereof, application action flows, application user interface events, etc. In some embodiments, application session variables may be stored as attributes of an application session parameter object. In various embodiments, application session parameter values may be determined and/or modified as defined by the developer, e.g., via an expression evaluated at runtime, and/or may be used as arguments in expressions, functions, etc. evaluated at runtime.



FIG. 1 is a block diagram illustrating an embodiment of an application development system and environment. In the example shown, a plurality of client systems, representing in FIG. 1 by client systems 102, 104, and 106, connect via a network 108 to an application server 110 associated with a body of managed content 112. In some embodiments, the managed content 112 may be stored in a content management system, such as an EMC® Documentum® system. In various embodiments, a software developer or other user associated with application developer workstation 114, e.g., a personal or other computer, may use a software development tool to create an application to run on application server 110. For example, in some embodiments a developer may use the “xCP Designer” and/or other components comprising the EMC® Documentum® xCP development platform to create applications to run on application server 110, for example in a runtime environment provided on application server 110. The EMC® Documentum® xCP development platform, for example, enables a developer to use visual and other tools to build custom applications that leverage the advanced enterprise content management (ECM) capabilities of EMC® Documentum®.


In various embodiments, a visual or other development tool interface to enable developers to compose developer-composed custom application session parameters. Definitions are received via the interface and stored. The definitions are used to generate application code which at runtime initializes, stores, and manages application session parameters, as defined by the developer.



FIG. 2 is a block diagram illustrating an embodiment of a system to. In the example shown, browser software 202, running for example on a client system such as client systems 102, 104, and 106, provides a runtime environment 204 in which application code associated with an application 206 executes. In some embodiments, the application code associated with application 206 may be retrieved from an application server, such as application server 110 of FIG. 1. The application 206 includes an application session parameter manager 208 and a local data store 210. In some embodiments, the session parameter manager 208 includes one or more software objects configured to store and manage application session parameters as attributes. Examples of an application local data store 210 include a local data store provided to the application 206 by the browser 202, for a browser 202 having such a capability, and one or more cookies managed by browser 202 on behalf of application 206.



FIG. 3 is a block diagram illustrating an embodiment of an application configured to use developer-composed application session parameters. In the example shown, the application 300 includes a plurality of application user interface pages 302, each of which includes one or more widgets, data services, and/or other page elements, and/or partial pages (e.g., fragments) comprising such elements, and each of which is configured to access application session parameters and/or other application context data from an application local data store, such as the context data cache 304 shown in FIG. 3. In various embodiments, elements comprising application pages 302 may publish events having as a payload one or more values used to store initially and/or modify the value of one or more application session parameters. For example, an expression may be evaluated using as input an application event payload and/or other values to determine a value of an application session parameter to be stored and made available to other application pages and/or elements, such as action flows, etc., for example via the context data cache 304 or some other local data store or other mechanism.



FIG. 4 is a flow chart illustrating an embodiment of a process to compose an application session parameter. In the example shown, an indication is received, e.g., via an application software development tool user interface, that a custom application session parameter is desired to be defined and used in an application being developed. Application session parameter definitional inputs, such as session parameter type (e.g., primitive, data model, etc.); lifetime (e.g., discarded at end of current user's current application session, etc.); and default value (e.g., specific value, expression to be evaluated at initialization to determine value, etc.) are received and stored (402). At application code generation and/or deployment time, the stored application session parameter definitional values are used to generate programmatically and include in the application code to initialize, store, and manage the developer-composed application session parameters (404). Examples include without limitation application code configured to provide and instantiate a JavaScript or other software object to store, manage, and provide access to application session parameters.



FIG. 5 is a flow chart illustrating an embodiment of a process to store and manage application session parameters. Upon application login by a user, an application session associated with the user is established, and application session parameters may be initialized and stored (502). In various embodiments, one or more of session data and/or other context data, one or more expressions, etc. may be used to initialize and store application session parameters associated with the user's application session. In various embodiments, the application session parameters and their respective values are defined at development time using an application session parameter composition interface as disclosed herein. User, application page element, application or other action flow, and/or other interactions are monitored to store and/or modify the initial and/or other application session parameters (504). For example, user interface events and/or other actions originated by page elements, fragments, etc., may result in one or more application session parameters being stored and/or modified. In various embodiments, a session parameter manager, such as session parameter manager 208 of FIG. 2, stores and/or modifies application session parameters as required.



FIG. 6 is a flow chart illustrating an embodiment of a process to store and manage application session parameters. In the example shown, a component configured to store and manage session parameters (602), e.g., session parameter manager 208 of FIG. 2, upon detecting that a new application session parameter is to be stored or that a value of an already-stored application session parameter is to be modified (606), the new/modified application session parameter is stored (608). Once the user's application session is done (610), it is determined whether one or more of the current application session parameter values is to be stored persistently, e.g., to be available beyond expiration of the current application session (614). For example, a user's last search, and/or user actions reflected in application session parameters that reflect user preference, e.g., with respect to how information is displayed in application pages, may be desired to remain available beyond the close of the current application session, e.g., to enable such values to be used in a future session of the same user, such as to allow the user to pick up work where the user left off, or to arrange information in a way the user prefers. If one or more application session parameters are to be stored persistently beyond the session end (614), the application session parameter values are stored (616) and the process ends. Otherwise, the process ends without the application session parameter values being stored persistently (614).


Using techniques disclosed herein, a highly dynamic and flexible application can be defined, enabling the developer to provide interactions and functionality that may not be possible without the ability to define and manage application session parameters as disclosed herein.


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.

Claims
  • 1. A method, comprising: receiving, via a software development tool user interface, a definition of a custom application session parameter, wherein the custom application session parameter corresponds to an application session parameter that is developer-composed in connection with development of an application to run on a server, and wherein the definition of the custom application session parameter includes at least a field indicating a lifetime associated with the custom application session parameter; andgenerating programmatically, using a processor, based at least in part on the definition of the custom application session parameter, an application code configured to store and manage the custom application session parameter, including by making the custom application session parameter available from a first application user interface page to one or more other application user interface pages based at least in part on evaluating an expression associated with an event payload of the first application user interface page to determine a value of the custom application session parameter,wherein the application code configured to store and manage the custom application session parameter includes code configured to create, at a client system with which a remote user of the application being run on the server is associated, an instance of an application session parameter manager, wherein the instance of the application session parameter manager is configured to store and manage the custom application session parameter based at least in part on the field indicating the lifetime associated with the custom application session parameter.
  • 2. The method of claim 1, wherein the application session parameter manager comprises a JavaScript or other software object.
  • 3. The method of claim 1, wherein the application code is configured to be executed in a runtime environment.
  • 4. The method of claim 3, wherein the application code configured to store and manage the custom application session parameter is configured to use a local data store associated with the runtime environment.
  • 5. The method of claim 1, wherein the application session parameter is stored in a local data store associated with a browser used to execute the application code.
  • 6. The method of claim 1, wherein the definition includes a default value for the application session parameter.
  • 7. The method of claim 6, wherein the default value comprises the expression.
  • 8. The method of claim 7, wherein the application code configured to store and manage the custom application session parameter is configured to evaluate the expression at runtime to determine a value for the custom application session parameter.
  • 9. The method of claim 7, wherein the expression includes as an argument an application context data.
  • 10. The method of claim 9, wherein evaluating the expression includes determining at runtime a value of the application context data.
  • 11. The method of claim 1, further comprising receiving an indication that an application session with which an instance of the custom application session parameter is associated is ending; determining that a value of the instance of the custom application session parameter is to be stored beyond the end of the application session; and storing the value of the instance of the custom application session parameter in a persistent data store.
  • 12. The method of claim 1, wherein the definition of the custom application session parameter includes fields respectively corresponding to an indication of a session parameter type and a session parameter default value.
  • 13. The method of claim 1, wherein the field indicating the lifetime associated with the custom application session parameter indicates whether the custom application session parameter is stored persistently so as to be available beyond expiration of an application session.
  • 14. The method of claim 1, wherein the application session parameter manager updates the value of the custom application session parameter based at least in part on a context of at least one of the one or more other application user interface pages.
  • 15. The method of claim 1, wherein the application code is further configured to, in response to the remote user logging into the application, establish an application session associated with the remote user, and initialize the custom application session parameter based at least in part on context data stored in a context data cache.
  • 16. A system, comprising: a data storage device; anda processor coupled to the data storage device and configured to: receive, via a software development tool user interface, and store in the data storage device a definition of a custom application session parameter, wherein the custom application session parameter corresponds to an application session parameter that is developer-composed in connection with development of an application to run on a server, and wherein the definition of the custom application session parameter includes at least a field indicating a lifetime associated with the custom application session parameter; andgenerate programmatically, based at least in part on the definition of the custom application session parameter, an application code configured to store and manage the custom application session parameter, including by making the custom application session parameter available from a first application user interface page to one or more other application user interface pages based at least in part on evaluating an expression associated with an event of the first application user interface page to determine a value of the custom application session parameter,wherein the application code configured to store and manage the custom application session parameter includes code configured to create, at a client system with which a remote user of the application being run on the server is associated, an instance of an application session parameter manager, wherein the instance of the application session parameter manager is configured to store and manage the custom application session parameter based at least in part on the field indicating the lifetime associated with the custom application session parameter.
  • 17. The system of claim 16, wherein the data storage device comprises a memory device.
  • 18. The system of claim 16, wherein the application code configured to store and manage the custom application session parameter is configured to use a local data store associated with a runtime environment.
  • 19. The system of claim 16, wherein the application session parameter is stored in a local data store associated with a browser used to execute the application code.
  • 20. The system of claim 16, wherein the definition includes a default value for the application session parameter.
  • 21. The system of claim 20, wherein the default value comprises the expression.
  • 22. A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions for: receiving, via a software development tool user interface, a definition of a custom application session parameter, wherein the custom application session parameter corresponds to an application session parameter that is developer-composed in connection with development of an application to run on a server, and wherein the definition of the custom application session parameter includes at least a field indicating a lifetime associated with the custom application session parameter; andgenerating programmatically, based at least in part on the definition of the custom application session parameter, an application code configured to store and manage the custom application session parameter, including by making the custom application session parameter available from a first application user interface page to one or more other application user interface pages based at least in part on evaluating an expression associated with an event payload of the first application user interface page to determine a value of the custom application session parameter,wherein the application code configured to store and manage the custom application session parameter includes code configured to create, at a client system with which a remote user of the application being run on the server is associated, an instance of an application session parameter manager, wherein the instance of the application session parameter manager is configured to store and manage the custom application session parameter based at least in part on the field indicating the lifetime associated with the custom application session parameter.
US Referenced Citations (52)
Number Name Date Kind
4910660 Li Mar 1990 A
5079690 Li Jan 1992 A
5644738 Goldman et al. Jul 1997 A
6226627 Polak May 2001 B1
6304886 Bernardo et al. Oct 2001 B1
6724403 Santoro et al. Apr 2004 B1
7013469 Smith et al. Mar 2006 B2
7225425 Kompalli et al. May 2007 B2
7734995 Saikaly Jun 2010 B1
7797432 Volodarsky et al. Sep 2010 B2
7933632 Flynt et al. 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 et al. Jan 2013 B1
8560959 Zaman et al. Oct 2013 B2
8572268 Wray Oct 2013 B2
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
20040044987 Kompalli et al. Mar 2004 A1
20050022157 Brendle et al. 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 et al. Oct 2006 A1
20070055591 Enenkiel Mar 2007 A1
20070266368 Szpak et al. Nov 2007 A1
20080046868 Tsantilis Feb 2008 A1
20080281944 Vorne et al. Nov 2008 A1
20090019386 Sweetland et al. Jan 2009 A1
20090055725 Portnov et al. Feb 2009 A1
20090210631 Bosworth et al. Aug 2009 A1
20090307670 Kashyap et al. Dec 2009 A1
20100211420 Kodi et al. Aug 2010 A1
20100281462 Festa Nov 2010 A1
20100293056 Flynt et al. Nov 2010 A1
20110225565 Van Velzen et al. Sep 2011 A1
20110246549 Katzenberger et al. Oct 2011 A1
20120131442 Grizim et al. May 2012 A1
20120166992 Huynh et al. Jun 2012 A1
20130019172 Kotler et al. Jan 2013 A1
20130019182 Gil et al. Jan 2013 A1
20130205193 Matsufuji et al. Aug 2013 A1
20130219263 Abrahami Aug 2013 A1
20140201232 Berry et al. Jul 2014 A1
20140245262 Hill et al. Aug 2014 A1
Non-Patent Literature Citations (4)
Entry
Kohana Team, “Session Library”, Jan. 2012, retrieved from http://www.hcs.harvard.edu/˜powerpak/kohanadocs/libraries/session.html, 6 pages.
www.gwtproject.org, “GWT”, Jul. 2013, retrieved from https://web.archive.org/web/20130708095321/http://www.gwtproject.org/doc/latest/DevGuideHtml5Storage.html , 7 pages.
w3schools.com, “HTML5 Web Storage”, Nov. 2012, retrieved from https://web.archive.org/web/20121123023047/http://www.w3schools.com/html/html5—webstorage.asp, 3 pages.
The PHP Group, “What is PHP?”, Jan. 2009, retrieved from http://web.archive.org/web/20090124160056/http://php.net/manual/en/intro-whatis.php , 1 page.