How do widgets and data services work together?
Applications consist of widgets, which are reusable pieces of user interfaces, and data services, or reusable server-side logic that ties everything together. Widgets and data services are focused on specific tasks, and are comprised of JavaScript, CSS, and HTML (and in the case of Facebook, FBML). Using just widgets and data services, you can create social applications that run in Facebook, Meebo, OpenSocial containers like MySpace and hi5, on the iPhone, and in the browser.