Friday, November 10th, 2006
Erlang Ajax Jukebox
Tony Garnock-Jones released an Ajax jukebox written with Prototype on the frontend and Erlang on the backend.
-
You point the jukebox at one or more root URLs, which it then spiders, collecting URLs for MP3 and OGG files, which it puts into a simple flat-file database. Just expose, say, your iTunes folder via Apache, point the Jukebox at it, and you’re away.
-
It relies on mpg123 and ogg123’s support for playing HTTP-streamed MP3 and OGG files, respectively, rather than retrieving or playing the media itself.
-
The user interface is completely written in HTML+Javascript, using prototype for its event
binding and XMLHttpRequest support. -
The server side of the application communicates with the user interface solely via JSON-RPC.
-
Erlang made a great platform for the server side of the application. Its support for clean, simple concurrency let me design the program in a very natural way.













link??
Here ya go : http://www.lshift.net/blog/2006/11/06/an-ajax-erlang-jukebox
thanks Sam!
It is great to see Erlang in use! That platform is WAY underutilized today. I think Erlang is Server 2.0–the perfect companion to Web 2.0.