A non-transitory computer-readable medium comprising a computer program, that, when executed by a computer system, enables the computer system to perform the following method for generating user interface (UI) modules for a dynamic user interface on the computing device, wherein the user interface has a plurality of modes, the method comprising:
- providing a plurality of UI modules, wherein each UI module is a software component that provides content within a particular category for display and wherein each UI module determines its own content by ranking data relevant to its category based at least in part on past user behavior and the current location of the computing device and selecting the highest-ranked data in its category, determines a priority level of the highest-ranked data in its category, and bids for user interface space using the priority level of the highest-ranked data in its category;
- receiving bids from the plurality of UI modules for space in the user interface;
- determining the number of available spots for UI modules in the user interface based on the current mode of the user interface and adjusting the number of available spots for UI modules in response to a change in mode for the user interface;
- and
- selecting UI modules associated with the highest priorities for display in the available user interface spots.