1. A method of providing browser widgets in a data processing system, comprising: receiving a request, from a client device, for a web page having a custom tag for a browser widget; generating a browser widget object for the browser widget based on the custom tag; generating code for representing a view of the web page; and transmitting the browser widget object and the code for representing the view of the web page to the client device, wherein the browser widget object provides a client-side model for providing browser widget functionality.