Implementation Focus: Fun and Games with Kris Cieslak
What is your background in frontend engineering?
When did you first learn about YUI? What was the first application you wrote with it?
About six months ago. I've really the Yahoo APIs; this is why I decided to spend more time working with them and with YUI. My first application based on Yahoo services was Image-Search! and the first project I created with YUI was Yetris!.
What games have you written using YUI?
Solitaire is my most recent project. I spent one week, six hours per day working on it. I hadn't used drag and drop techniques before, and there was a lot to learn. When you look
at the code you will see that it is complex but it is also very compact. Without YUI the problem would be very hard to resolve. I wrote four different versions of that game using four different techniques. And the last technique proved the best and works very well on three popular browsers.
In using YUI for these projects, what aspects of the library have been particularly pleasing to work with and powerful in solving problems?
YUI does a great job keeping balance between functionality, the size of the library and performance of the functions. Generally I'm using YUI because it's solving the problems with cross-browser compatibility, because I can easy manipulate each element/layer, because I can get or change the position, color, transparency of each object, because I can use the Drag and Drop Utility, and of course because of the Animation Utility — very effective and simple in use.
What pain points have you noticed in using YUI? What would you like the YUI team to focus on next?
At the beginning, I had the problems with documentation. Each of the functions is clearly described. However, I didn't know how to use them. I would like to see more simple examples; these are more important than any description, especially for complex functions.
As for what to add to the library, maybe advanced mathematical libraries (numbers conversion, vectors, complex, angles, statistics, calculator widget etc...) would be nice to see in YUI.
What's next on your plate? Any exciting projects coming down the pike?