<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span style="font-size: 12pt;">Greetings to All!</span><br><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>We are happy to announce that experimental fork of N2O (Nitrogen 2x Optimized) is quite stable to be announced. Let us introduce the reason of refreshing Nitrogen. During our Erlang activities of creating a couple of complex Erlang Web projects we discovered that Nitrogen is extremely useful and productive not only among Erlang frameworks, but even comparable to known modern Web frameworks: <a href="https://gist.github.com/5HT/5522302" target="_blank" style="font-size:12pt;">https://gist.github.com/5HT/5522302</a></div><div>However, we have discovered the Nitrogen limitations on speed, process registration gaps and technology lock with XHR. So we decided to fork and broke the compatibility with Nitrogen saving the general DSL approach and event system. So if your want to try Nitrogen you will have all the benefits of it with N2O too. Let us state new core features:</div><div><br></div><div>-- WebSockets from the ground up with fallback to XHR using Bullet</div><div>-- REST modules handlers using code from FarWest</div><div>-- Control Events for custom JavaScript controls</div><div>-- New Editor Elements like Medium.js and TinyMCE</div><div>-- GProc "comet" registrations and Pub/Sub</div><div>-- Proper ID instead of class attributes</div><div>-- Erlang on Xen compatible with instructions of how to install on Xen</div><div>-- DTL templates instead of Nitrogen slow templates</div><div>-- Compatible enough to port Nitrogen sites</div><div>-- Bootstrap and LESS styles boilerplate</div><div><br></div><div>Some legacy code is completely removed and simplified for speed:</div><div><br></div><div>-- simple_bridge removed</div><div>-- nprocreg removed</div><div>-- rendering simplified</div><div>-- framework code reduced to 3000 LOC.</div><div><br></div><div>Since one of our goals was to create the fastest web framework in all 7 levels (routing, query, session, templates, dsl, html rendering and javascript rendering) we tuned it up, reaching 15K Req/s (on the same machine raw cowboy yields 30K and raw nginx 60K). We don't send any JS on a first page load, and all JS comes on WebSockets afterwards, so the page is possible to render in one RTT -- in that way we reduced latency.</div><div><br></div><div>Big news for MVC fans. From now on you can mix DSL and MVC separation with linking DSL controls by an ID that will produce only JS code and will not produce HTML. HTML could be served statically and variables could be picked up from cookies in JS code (this is experimental at the moment).</div><div><br></div><div>But that is not all. We’ve also created a KVS data model framework where you can store all the data with commonly known KV stores: Riak and Mnesia. The data model includes Users, Group, Subscriptions, Likes, Products, Accounts, Transactions, Payments, Purchases, Feeds, ACL, Entries, Comments. You can store those entities in Mnesia and Riak in an abstract manner. More KV databases are to come along with SQL backends.</div><div><br></div><div>Here are come sample sites built with N2O:</div><div><br></div><div><a href="http://igratch.synrc.com/" target="_blank" style="font-size:12pt;">http://igratch.synrc.com/</a></div><div><a href="http://skyline.synrc.com/" target="_blank">http://skyline.synrc.com/</a></div><div><br></div><div>Sources: <a href="https://github.com/5HT/n2o" target="_blank" style="font-size:12pt;">https://github.com/5HT/n2o</a></div><div>Documentation: <a href="http://synrc.com/framework/web/" target="_blank" style="font-size:12pt;">http://synrc.com/framework/web/</a></div><div><br></div>                                     </div></div><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>                                      </div></div><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>                                      </div></body>
</html>