Posts Tagged ‘ajax’
UWA provides a fair number of built-in Ajax methods:
UWA.Data.getXmlwhen you want to get XML data (including well-formed XHTML), and be able to parse it using XML’s DOM properties and methods (parentNode, childNodes, attributes, getElementsByTagName, etc.),
UWA.Data.getTextwhen you just want to get the data in plain text, and maybe parse it using a regexp,
UWA.Data.getJsonwhen you want to safely [...]
Tags: ajax, feed, format, getfeed, json, uwa
Posted in Articles, Tutorials on April 11th 2008 | No Comments
Here comes the high point of this series of articles, where all the bricks come together. During the first three parts, I’ve been banging one specific drum: whereas MiniAPI modules could be based on a multitude of inter-linked dynamic files, UWA widgets should really stick to one static file, and rely on Ajax requests to [...]
Tags: ajax, conversion, dom, http post, javascript, miniapi, uwa
Posted in Articles, Tutorials on January 11th 2008 | 1 Comment
We’ve seen a lot already: now you should be familiar with the differences between a MiniAPI file and a UWA one, and you should know how to convert a MiniAPI configuration form into a UWA preferences form. Now is the time to dive into a more advanced feature, one that will be of use to [...]
Tags: ajax, conversion, dom, getfeed, getxml, http get, javascript, miniapi, uwa
Posted in Articles, Tutorials on January 5th 2008 | No Comments
The Netvibes Ecosystem has its share of search widgets, mostly because they’re easy to build: make a test request in the original search site, write down the search URL, build it into a widget and make that widget open a new page with the search string neatly placed into the search URL.
This is nice, since [...]
Tags: ajax, getjson, javascript, Showcase, uwa, widget
Posted in Articles, Showcase, Tutorials on December 17th 2007 | 3 Comments
Update: there is now a definitive URL for the UWA cheat-sheet.
Note: This post is about the preview version of the cheat-sheet. It has since been updated: you can read about it here.
We’ve been working on a nifty new, much-needed document for you, dear developers : a all-in-one, printable, quick reference to UWA’s basic skeleton and [...]
Tags: ajax, dom, javascript, uwa
Posted in News on November 15th 2007 | No Comments
We’ve been through a lot of things since we started this series of articles, but the part we are entering now is what will make a difference in your widget. Many widget are able to display public data, and others can display private data just fine, but being able to also publish data directly from [...]
Tags: ajax, authentication, dom, http post, javascript, request, twitter, uwa
Posted in Tutorials on June 8th 2007 | No Comments
So far, this series of articles have focused on getting and displaying public data, like Twitter public timeline in the previous part of this series of tutorials.
Public data is what most of the current web services will let you play with, but the more interesting services are those that let you manipulate your private [...]
Tags: ajax, authentication, http post, javascript, preference, request, twitter, uwa
Posted in Tutorials on June 7th 2007 | 5 Comments
The first part of this series saw us build a widget that displayed a single Twitter status. The second part built upon the first on, and expanded the widget to display the whole public timeline feed, all the while learning UWA techniques and good practices.
Techniques and best practices are the central elements of [...]
Tags: ajax, getjson, http post, javascript, pager, preference, twitter, uwa
Posted in Tutorials on June 6th 2007 | No Comments
This is part 2 of our series of articles on building a complete Twitter widget, all the while exploring the functionalities of UWA and learning some good practices of widget developing. If you haven’t already, read the first part, where we set up the basic widget code, and customize it to display a single, known [...]
Tags: ajax, dom, getjson, http post, javascript, preference, twitter, uwa
Posted in Tutorials on June 5th 2007 | No Comments
With the introduction of authentication methods in UWA (see the complete documentation) comes the ability to build some much more interesting widgets, ones that can access private data securely, both in read and write mode (HTTP GET and POST).
In order to present authentication to you, we’ve built a Twitter widget able to access your own [...]
Tags: ajax, getjson, http post, javascript, preference, twitter, uwa
Posted in Tutorials on June 4th 2007 | 3 Comments