Patent ID: 8904345

Claim:
A method comprising: collecting user activity feedback from a community of users; identifying a plurality of modules for inclusion in a webpage, each of the plurality of modules being a user-interface element that is likely favored by a particular user based on a correlation of the collected user activity feedback and context information associated with the particular user, each of the plurality of modules having input and output properties; discovering dependencies between each of the plurality of modules based on the input and output properties of each of the plurality of modules, wherein discovering dependencies between each of the modules of the plurality of modules includes extracting dependency information from an application programming interface (API) for each of the plurality of modules; designating a state module from the plurality of modules for retaining dependency state information, the dependency state information including a number of states available at the state module; generating a dependency graph for the webpage based on the discovered dependencies and the dependency state information; and creating the webpage by executing the plurality of modules in an order corresponding to the dependency graph.