Please 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 && make
3) Start the application and initialize the db from the Erlang console (only once)
4) Browse the following address 127.0.0.1:8000
Super easy isn’t ?
Categories: Companies BeeBole
Erlang on Twitter
» uochan (飯塚将志@ももいろClojure): core.logicやるのに前提知識が足りないなぁと思って先週くらいからProlog勉強してるけど、ErlangはPrologの影響を強く受けてるのか。昔helloworld書いたきりだけど触ってみようかなぁ
» simonxk (simonking): Erlang is an operating system on top of operating system…
Erlang is an operating system on top of operating system…
» acscherp (Arjan Scherpenisse): @peetsneekes Half juni! http://t.co/Ob2TRRSDTe
@peetsneekes Half juni! http://t.co/Ob2TRRSDTe
» Erlang_07 (Erlang ): RT @tita_titutt: Udah bobo malah kebangun :(
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”
“@old_sound: Erlang Fault Tolerance: http://t.co/KNR19MQO3F vs. all the others: http://t.co/e129gNB4DU”
Number of aggregated posts: 10651
Most recent article: May 21, 2013
» 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…