Video Tutorial To Start Developing Web Applications on Erlang
BeeBole - - October 20, 2008Please find hereunder a video tutorial highlighting the key points of developing a JSON based web application with Erlang and Mochiweb.
Note that, for best performances (HD Definition), you have to directly go to the Vimeo website where the video is stored and watch it in full screen mode.
You may want to download the video. In that case, you will have to follow the instructions at the bottom of the video page on the Vimeo website.
Click on the image below to go the the video page.
The purpose of all this, aside from arousing your curiosity, is to provide you with a getting started pack and allow you to go a step further in the Erlang web application sphere.
I invite you to download the example application (as illustrated in the video stickyNotes.zip) in order for you to understand all the pieces of the puzzle and to venture behind the scene.
Just keep in mind that stickyNotes is a one shot application that I’ve developed from scratch with the unique aim of illustrating the video example.
Having said that, any comment or suggestion is always welcome, especially about ’struct.erl’, a module that I’ve created when I was learning the language in order to play with the tree structure resulting from the mochijson2 decode function.
We are using it in our mainstream development and I’m still wondering if I might have missed something important with regard to the Erlang distro or Mochiweb itself.
In order to install this stuff on your system and assuming that Erlang is properly setup on your box, just follow these steps:
1) Download stickyNotes and extract the archive in your home directory:
2) cd to stickyNotes dir and compile the code :
make clean && make3) Start the application and initialize the db from the Erlang console (only once)
./start-dev.sh
stickydb:reset().
4) Browse the following address 127.0.0.1:8000
Super easy isn’t ?
Enjoy
Categories: Companies BeeBole
Erlang on Twitter
» peetsneekes (Peet Sneekes): The movie to go with @Zotonic The T-Shirt, featuring @AtillaE !
https://t.co/1QufRWzUdv
Get your #erlang on at: http://t.co/BGjxHa3zo0
» 0xAX (0xAX): RT @simonxk: Erlang is an operating system on top of operating system…
» uochan (飯塚将志@ももいろClojure): core.logicやるのに前提知識が足りないなぁと思って先週くらいからProlog勉強してるけど、ErlangはPrologの影響を強く受けてるのか。昔helloworld書いたきりだけど触ってみようかなぁ
» simonxk (simonking): Erlang is an operating system on top of operating system…
» macintux (John Daily): Beware, Nashville, @macintux is coming to town Tue. Crash the @NashFP party to hear about Riak, Erlang, and whatever else I can hallucinate
» findmjob (Findmjob.com): needs Platform Engineer (Java / Scala) http://t.co/wEvyjgYhXs #erlang #mongodb #couchdb #scala #java #nosql #ha… http://t.co/cLbLdFow2G
» acscherp (Arjan Scherpenisse): @peetsneekes Half juni! http://t.co/Ob2TRRSDTe
» JempolJail (DhanangPrihardono): Pendekar harum berwibawa. :D RT”@rioherwanto: Sing koyo dewa erlang nek ono. :3 RT @ibnuardie: Sesuk milih gubernur sing raine ko ngopo cah?
» Erlang_07 (Erlang ): RT @tita_titutt: Udah bobo malah kebangun :(
» LaurensLeeuwis (Laurens Leeuwis): “@old_sound: Erlang Fault Tolerance: http://t.co/KNR19MQO3F vs. all the others: http://t.co/e129gNB4DU”
Statistics
Number of aggregated posts: 10651
Most recent article: May 21, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…
