1. AFAIK, Mochiweb source tree contains lots of non-http-server-related
stuff, for example HTML/DOM-parser (mochiweb_html:parse/1); lots of
utils, that duplicates httpd_util, http_uri and other packages from
erlang STDLIB and many more.
So generally, mochiweb goes to be something big and fat, complex swiss
knife, but not pure http-server.
> Misultin is dead
2. Misultin is ready to use. It is just a lightweigth HTTP-library and
nothing more. This is bad?
3. a) Syntetic tests is useless crap. *Real* web-application performance
is always bound to database and HTML-generator overhead.
You can save couple of microseconds by manipulating with/without
simple_bridge, juggling with different web-servers, but all of this
will be far from *real* project with big database.
b) Webmachine (WM) is not optimal idea if you just want to write a web
site for web-browsers.
WM knows everything about HTTP-logic, dozens of HTTP-codes etc. But all
of this is *really* useless in real world. WM is very good for writing
HTTP-servers for complex non-web-browser-http-clients.
Also, WM looks abandoned and bound to ancient mochiweb version.
So, 1, 2, 3 are related to KISS and modularity paradigms.
В Fri, 18 May 2012 02:15:48 +0200
Florent Gallaire <
fgal...@gmail.com> пишет: