News for hackers. Stuff that matters.

Wok

Re:Zotonic - The Erlang CMS on Sunday February 27, 2011 @02:26PM (#2268641)
Indeed, Mochiweb under Webmachine. Webmachine is the excellent HTTP protocol library made by Basho.
Re:Zotonic - The Erlang CMS on Sunday February 27, 2011 @02:25PM (#2268635)
We have some other *tonic projects, which is the primary reason behind the name.
Re:Zotonic - The Erlang CMS on Sunday February 27, 2011 @02:24PM (#2268632)
I am reading this :) At the moment we don't have a package on our plans. We are reorganizing the complete installation and splitting up the module system. Maybe you can file a feature request? Then we can look into it for some future release.
Re:Zotonic...rethinks the CMS with Erlang on Wednesday July 21, 2010 @02:13PM (#1536001)
It is easy enough to start programming Erlang with Zotonic.

Every module is a completely independent gen_server, allowing you to add whatever functionality you want.

Zotonic also uses standard Webmachine resources, when you want then you can skip all functionality of Zotonic and just add whatever code you want to add or experiment with.

Re:Zotonic...rethinks the CMS with Erlang on Wednesday July 21, 2010 @02:07PM (#1535971)
Justin is just super busy. I understand that he didn't merge it yet, as our delta is touching major parts of almost every file.
Re:Zotonic...rethinks the CMS with Erlang on Wednesday July 21, 2010 @02:05PM (#1535960)
Actually Zotonic is called after isotonic. We also publish the CSS framework Atatonic. Keeping our names similar.

Besides that, Erlang has some history to name projects after diseases. For example Mnesia, the build-in database, which was called Amnesia before general release.

Re:Zotonic...rethinks the CMS with Erlang on Wednesday July 21, 2010 @02:01PM (#1535942)
The most important things we changed are:

- Pluggable dispatcher, as the original webmachine copies all dispatch rules for every request. This gave us the greatest speedup as a Zotonic server typically has hundreds of dispatch rules.

- Removal of all process dictionary use. This makes testing easier and also gave a nice speedup.

- Use proplists instead of dicts for small dictionaries.

- Use a memocache for the resource callback functions.

- Removed the use of parametrized modules, this enables us to copy less data (and gives simpler code).

- Added support for protocol upgrades (for Websockets)

Our dispatcher also accepts regular expression checking on uri parameters. And it uses a different approach to vhost handling, allowing a redirect to the main hostname (which is needed when you set browser cookies).