Interview: Ond?ej Žára, Websockets Dev Derby winner

Ond?ej Žára achieved a first in the Websockets Dev Derby this past May. In one month, he won three spots in the top five: a finalist spot for Collaborative Draw, third place for Atoms, and first place for Just Spaceships!.

I recently had the chance to learn more about Ondras, his work, and his thoughts on the future of web development. In our interview, he shared insight that should be interesting to new web developers and veterans alike.

Tell us about developing your winning demos. Was anything especially exciting, challenging, or rewarding?

I have submitted quite a number of projects to Mozilla Demo Studio, but the most critically acclaimed were related to WebSocket technology. Writing WebSocket demos was truly challenging, as the Mozilla Demo Studio site is hosted at HTTPS, which means that (at least in Firefox) the WebSocket backend must communicate via WSS. Therefore, in order to publish a working demo, I had to completely add TLS support to my TeaJS-based server.
Generally speaking, this was very beneficial: implementing TLS capabilities to TeaJS resulted in a new release with exciting features 🙂

How did you get interested in web development?

I experimented with new and interesting web technologies from my early age: first with VRML, later with JavaScript. One of my hobby projects, the WWW SQL Designer, was highly praised by many users: that convinced me that I should indeed focus on Web/JS development.

What makes the web an exciting platform for you?

The complete and immediate availability; in every computer, every OS, every sufficiently advanced mobile device. Web browser is one of the most sophisticated and optimized piece of software today; most of the interesting stuff in IT is related to the Web.

What up-and-coming web technologies are you most excited about?

I watch the new ECMA stuff with interest; the Dart language also looks very promising – mostly because of a much better DOM. When is Mozilla going to add Dart bindings to Firefox?

The Boot to Gecko project is also something to look at; along with Emscripten and jslinux.

Finally, the very recent E4H proposal looks rather sexy 🙂

If you could change one thing about the web, what would it be?

As a JavaScript person, my answer here is obvious: the HTMLElement should be fully cross-browser prototype extensible. That would be awesome. That would make this world definitely a better place 🙂

What advice would you give to aspiring web developers?

Do not trust what most other people say; try stuff for yourself! Most of the long discussion/support threads on the Web are old and obsolete; the same often applies to articles and news reports.

Also, do not use tools you don’t 100% understand. Avoid working with an external library/toolkit unless you are very familiar with what – and how – it does. To understand stuff, you need to look under the hood.

Is there anything else you would like to share?

I would like to thank Mozilla for the wonderful work it does, including the Firefox browser, Demo Studio website, Hacks weblog and Dev Derby competition 🙂

Further Reading

View full post on Mozilla Hacks – the Web developer blog

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

May Dev Derby: Show us what you can do with Websockets

The May Dev Derby is underway. A monthly contest hosted by the Mozilla Developer Network, the Dev Derby gives you the chance to apply the technology you read about on this blog, push the web forward, and compete for fame, glory, and prizes.

This month, we are excited to see what you can do with Websockets. Websockets allow you to send messages to a server and receive event-driven responses in real time, without server polling. But this is about more than just sending messages. Websockets have been used in BrowserQuest, Rawkets, and many other highly interactive applications.

Setting up a Websockets demo is more involved than setting up a static demo, but we know you can do it. As long as you keep these three simple rules in mind, everything should work flawlessly.

  1. To use Websockets, you need a server to communicate with. Thankfully, free services like Heroku and Nodejitsu provide just that.
  2. You do not need to use Heroku or Nodejitsu. If you use a different server, however, you must ensure that it has a signed SSL certificate.
  3. When building your demo, be sure to use the wss:// prefix (not the ws:// prefix) to specify the address of your server.

If you have any questions about setup, please let us know in the comments. We will work with you to resolve any issues you encounter. Otherwise, good luck and have fun!

Want to get a head start on a future Derby? We are also accepting entries related to the WebGL (June Derby) and demos that push the limits of the web without using JavaScript (July Derby).

View full post on Mozilla Hacks – the Web developer blog

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)