Kings of Code day one is over. The weather is perfect, Tuschinski theatre is charming and todays side-events were a great warm-up for tomorrows conference day. The seminars may not have been extremely advanced but they were nice introductions to some really interesting topics that I’ve been wanting to learn more about.
Advanced jQuery techniques
The day started off with a few advanced jQuery techniques with speaker Edwin Martin. While I don’t personally consider them really advanced, the techniques still had some nice points we could learn from.
For example, I hadn’t heard of the live() event binder which solves the problem of having to rebind onclick events when adding elements dynamically, which will come in handy in almost every project. Edwin also gave a nice introduction to creating custom easing animations.
One thing that impressed me was jQuery’s RSS parser. With jut a few lines of code, you can make an AJAX call to get an RSS feed and conveniently traverse and output it in the browser by using Javascript only. Didn’t know that.
Neither did I know how fast and easy it can be to create a custom themed dynamic interface with jQuery UI and ThemeRoller (though I may have suspected it.)
<canvas>
The seminar of the canvas element by Marcel Beumer was something I had looked forward to. I find the idea of rendering 2D with HTML5 and Javascript to be fascinating. While the seminar itself was great and informative, it gave me the feeling that it may still be a better idea to learn Flash and AS3, rather than start playing with canvas.
Marcel pointed out that the advantages with HTML5’s canvas element is that it’s an open standard that is supported by the browser rather than dependent on a plugin, and that you will use the same toolset—HTML and Javascript—as you are used to. I completely agree and it’s a beautiful idea which seems to already be very capable.
However, it may take a very long time until it becomes a standard and even longer until it’s supported by all major browsers. Flash is already an extremely powerful platform that is being constantly improved and updated. It may be a browser plugin (and as such, an additional download) but it’ll take a long time before more people will have a browser supporting <canvas> than a browser with Flash.
Of course, there’s always emulation layers and similar but they are, and will be, much slower. And talking about speed, I’ve got a strong feeling that Flash will be way more optimized as it can already render 3D at stunning frame-rates. I saw amazing examples of this at FITC earlier this year.
The canvas element is a nice tool and I will love to see it become an open standard. Hopefully I’ll find somewhere to put it to good use but for now, I’m a bit skeptic and still find Flash to be more mature, proven and optimized for the purpose of rendering heavier graphics. As the technology matures, I hope we’ll see an increasingly powerful and fast HTML5 with great frameworks/ abstraction layers for all sorts of rendering.
Link recommendation from the seminar:
Bespin – Web code editor built using HTML5 technology
https://bespin.mozilla.com/
Introduction to Rails
It’s funny how the seminar I suspected would be least interesting turned out to be the one I enjoyed most. Before this, I’ve never looked at either Ruby or Rails. Since I’m used to PHP, I simply assumed it would be somewhat boring, hyped and unnecessary. I’m glad to say I was wrong.
During the one hour long seminar, Menno van der Sman and Justin Halsall introduced us to Rails by building a database driven location-based search engine. I have to say, Rails really impressed me and I’m going to another seminar about it tomorrow. It looked and felt really comfortable, quick and convenient. These guys made me want to learn more and I’ll probably even put it to practice in an upcoming project.
Subversion & Versions App
In the afternoon, Jasper Hauser and Jonathan Dann from Sofa gave an introduction to subversion and their own Mac client, Versions. Since I’m actually using this application daily, there wasn’t a whole lot of new information for me to pick up. However, it’s always fun to hear things from other people’s perspective, especially those who developed the application I’m using. Besides, I really like Sofa.
All in all, it was a good and enjoyable presentation. Among other things, they recommended Google Code as a subversion repository and I noticed them using a very nice snippet app called TextExpander which I will definitely take a look at.
iPhone app development
Last but not least came an excellent end of an exciting first day Since I’m an iPhone owner and a huge fan, I of course looked forward to this seminar. Joris Verbogt, creator of the Dutch TXXI app (of which the owner is actually a friend of mine) gave us a quick walkthrough on how to create a native iPhone application using Objective-C in Xcode and Interface Builder.
The syntax of Objective-C may seem a bit odd at first but it shouldn’t take long to get used to it if you’ve ever written C or C++. Using the supplied iPhone simulator and Interface Builder, Joris showed us how to quickly build a Twitter feed interface and conveniently see it in action right there on his Mac. Plenty of fun!
All I can really say after this on hour seminar is that Apple seem to have made it a joy to develop for this platform and I’d love to try it out.
End of the day
My first day of my first visit at Kings of Code turned out to be warm, exciting and very educational. The atmosphere is great, the subjects are awesome and at the end of the day, both my colleague and I are satisfied and even more excited about tomorrow.
Note: Rapid blogging, the clock is ticking—beware of typos.