A method performed on a server in a network, comprising:
- providing the server with a structured document, the structured document comprising first data identifying an application and defining a request URL domain and path that map to the application, second data identifying at least one rule for composing an instance of the application on the server using a set of one or more components, each of the components being defined in the structured document by a URI-addressable path and being one of:
- a presentation component, a code component and a data component, and third data identifying a property of a given presentation, code or data component;
- responsive to receipt at the server of a request to the request URL domain and path, evaluating the request URL domain and path;
- based on evaluating the request URL domain and path, retrieving the structured document;
- parsing the first, second and third data in the structured document to compose the instance of the application;
- generating a response to the request using the instance of the application;
- and
- delivering the response to the client.