UWA developers: Jeremy Selier
Jeremy Selier is a backend guy at heart, but has been exploring widget-making using UWA, documenting his findings along the way on his French blog. We thought it’d be interesting to ask for his feedback as new widget developer, seeing how his second one, TV Shows, was already pretty advanced.
Your first UWA widget is Personalized Countdown. Is it your first widget ever? How familiar where you with XHTML/JavaScript before that? How hard was it to get it working as you wanted it to?
Yes, Personalized Countdown is my first UWA widget ever. I have played with MiniAPI before but not for a particular widget and not for a long time. I wasn’t an expert of XHTML/Javascript before that but I had to work with it on few projects like Visual-Music.org. I was mainly focused on server side scripting (PHP), so Javascript was only here to do some basic stuffs like show/hide element and form processing…
Due to the simplicity of the widget, it wasn’t really hard to get Personalized Countdown working like I wanted to. I’m an engineer, so I have some good automatisms like reading the documentation and the forums before starting. The documentation is not that big, but for a beginner it’s really perfect to start and to understand the basics. The most complicated thing in this widget was to use the correct function to do the periodical stuff. Not really a big deal in the end.
You then embarked in the more complicated TV Shows widget. Was it complicated to jump to a widget driven by external data?
Yes it was. In my first widget, there wasn’t so much Javascript. For the TV Shows widget, I needed to gather data from other websites to provide information to my widget. I first played with some RSS feeds and tried the different example widgets provided by the documentation. Then, I tried with other types of feeds and it wasn’t so hard with the Ajax examples. It wasn’t that hard maybe thanks to my job and education: I proceeded step by step, focusing on how to get external data with UWA first, and then on the design/features and so on. Once again, there are some basic steps explained really clearly in the documentation, and this helps a lot!
While building your widget, you documented the creation of your widget on your blog. Did it help you in any way – for instance, helping focusing on what to do?
I decided to do this for me, to see if I was able to explain things to a non-specialized audience. I don’t know if I have done a good job in the end, but it was a great experience. The other great aspect when you are working on an application like this one is the relation with the readers. At the end I wanted this widget to be not just for myself, so when people were leaving comments, advises and recommendations it helped me having a more global picture of the application and made me think about features I didn’t see at first sight. So yes, it mainly helps me focusing on what to do.
Did your perspective of UWA change between the time you got started with Countdown and when you were done with TV Shows?
Not really, mainly because I thought UWA was a great API since the beginning, when it was launched. The crossplatform compliance is just so cool! Like every computer scientist, I’m very lazy… So knowing that my widget would work on different platforms and not only netvibes.com was a huge point. The only idea that changed in my mind was that at the beginning I thought it would have been much harder to get into it.
What were your best surprises, and the biggest blockers/issues?
The first best surprise is how fast we can get something working and being cool. In like one hour of work, your widget is not just a hello world, it’s a personalized RSS feed!
The other great thing is to be able to log. If there is one thing I hate with javascript, it’s coding alert()s everywhere to check data… With UWA and Firebug, it just made my day everyday!
Nevertheless, there were some issues that got on my nerves, like the fact that the process is different on Standalone/Netvibes mode, my widget doesn’t work on standalone mode and I have NO idea why… I also switched to Ginger during the development and run into some bugs which were corrected quickly by the Netvibes team.
The last thing which bugs me is the Netvibes cache. For example my TV Shows widget doesn’t work on standalone mode and when I made a Javascript change, I had to wait for the cache to be over to test my changes. Maybe there is some tips to deal with this, but I don’t know them, so I had to be patient! (Ed. You can use the “Disable Cache” option in the UWA Test widget)
Where would you like to see UWA go next?
I would love to have documentation like a JavaDoc. The current documentation is good, but I don’t find it easy to navigate through. Documents like the PDF you made is just what I love to read! It helps finding new functions and sometimes helps finding new features for the widget.
The other thing I would love to see is a good management of the internationalization. It’s not perfect yet, you can’t internationalize the preferences part. Maybe the future is to build our own preferences part and not use the <preferences /> like the last Digg widget.












May 11th, 2008 at 12:47 am
We would like to see more interviews.
Backend professionals are very important to see the latest trends.