A computer program embodied on a non-transitory computer-readable medium and comprising code, that, when executed by one or more processors on a computing device, enables the computer system to perform the following method for generating user interface (UI) modules on the computing device:
- 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;
- and
- selecting UI modules associated with the highest priorities for display in the available user interface spots.