Back to my page

Developer Blog



Posts Tagged ‘preference’

Converting a MiniAPI module to a UWA widget (part 7)

We’ve seen how to switch to UWA pretty all available MiniAPI functionalities in this series’ previous articles. Now is the time to touch on functionalities that cannot be switch as-is, or simply put, that are not available in the stricter, more portable Universal Widget API.
One of the toughest of these is preferences. Sure, we’ve […]

Converting a MiniAPI module to a UWA widget (part 6)

One question keeps coming up from people who have taken the dive and converted their module to a widget. It’s pretty simple, and represents an essential part of such conversion. This post will therefore be suitably short.
I’m done converting. It works. What’s next?
The “what’s next?” part implies a lot of questions, but mostly they are […]

Converting a MiniAPI module to a UWA widget (part 2)

It takes more than just updating the emulation files’ URLs to turn a MiniAPI module into a fully working UWA widget. In the first part of this series of articles, we saw that many others section of the HTML code itself need to be upgraded, and the documentation already indicates which MiniAPI function calls have […]

Use UTF-8 in your widgets and live happily ever after

One of the requirements we insist on for developing UWA widget is to use the UTF-8 character encoding - and when I write “we insist”, we really mean it.
It’s not that we find other encodings uncool - really, ISO-8859-1 is a nice fella, and had Ken Thompson and Rob Pike not found themselves in front […]

Building a Twitter widget, part 4: getting your private data through authentication

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 […]

Building a Twitter widget, part 3: paging and automatic preferences

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 […]

Building a Twitter widget, part 2: displaying the public timeline

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 […]

Building a Twitter widget, part 1: setting-up the code and displaying a single status

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 […]