Erlang Ajax Jukebox
Written by admin on November 10th, 2006 in Ajax News.
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.
Source: Ajaxian
Original Article: http://ajaxian.com/archives/erlang-ajax-jukebox
