Tidbits: Mochiweb… Nitrogen
March 18, 2009
Mochiweb
In case it slipped by, Jamaal posted a comment the other day that brings to our attention a meaty Mochiweb tutorial:
Design and Analysis of Mochiweb
An English language translation is available.
Unfortunately for this Newbie the garbled machine-translated English is almost as challenging as Mochiweb itself.
My how I would love to see a fluent English-speaking human take on the task of translation, since this tutorial promises much. Even more, I’d love to be able to read the original Chinese.
Most of all, I’d love to see an in-depth English language user guide to Mochiweb that shows us how to build beautiful apps on the Mochiweb foundation.
Some days I fear that Erlang fluency may be as far off for me as mastery of Chinese.
Many thanks for the links Jamaal.
And thanks to refactor for sharing your insights into Mochiweb.
Nitrogen
Nitrogen develop Rusty Klophaus tossed off this provocative comment in the Nitrogen Google Group the other day:
“Overall, Nitrogen is rapidly maturing as a framework. The interfaces
are much less volatile than they were even a few months ago.
“Within the next few month I hope to start labeling releases with major
and minor version numbers. At that point, interfaces would only change
as part of a major release, and the changes will be well documented.”
May the Force be with you, Rusty!
March 19, 2009 at 5:08 pm
The cool thing about the erlang-china article is that it isn’t a tutorial, exactly, but it is an analysis of all of the weird cool tricks that Mochiweb uses to structure itself, esp. the heavy, yet focused use of parameterized modules to create what are really static objects to represent requests (i.e. Req).
Though it’s not exactly a tutorial, what it does do is walk through some of the major difficulties that people would have while reading through the source.
The only reason I can understand the machine translation is that I was just sweating though this same code over the past week, and think that it’s just as cool as refactor seems to.
Webmachine is just as pretty though, and adds the massive factor of allowing you to leave the niceties of http to the smart people and just concentrate on structuring your resources.
If I get any time this weekend, I may slog through the machine translation and try to massage it into something that reads easily. If I do, I’ll see if I can get an approval on it from refactor to be posted here.
Cheers.
March 19, 2009 at 7:18 pm
Hi Jamaal,
I, for one, very much welcome your offer to polish up the machine translation of refactor’s piece… and welcome as well your own insights into Mochiweb.
Hoping to play with Webmachine soon.
Many thanks,
LRP
March 23, 2009 at 4:01 pm
Webmachine just released a 1.0 version, along with a lot more documentation:
http://blog.therestfulway.com/2009/03/webmachine-one-point-oh.html