Category Archives: Simple_Bridge

How to add Nitrogen and Cowboy as dependency libs to your erlang application

I received several emails asking to give the steps how to add Nitrogen and Cowboy as dependency libs to an application. The similar questions came up few times in the past on the Nitrogen mailing list. I posted a while … Continue reading

Posted in Cowboy, Erlang, Nitrogen, Simple_Bridge | Tagged , , , | Leave a comment

Cowboy 0.8 experemental bindings for Nitrogen

I have been playing with a new Cowboy 0.8 release and built Simple_Bridge bindings for Nitrogen. Simple_Bridge fork for Cowboy 0.8 can be found here. I converted Nitrogen_Elements_Examples to use Cowboy 0.8 so you can use it as a starting … Continue reading

Posted in Cowboy, Erlang, Nitrogen, Nitrogen_Elements, Simple_Bridge | Tagged , , , | 2 Comments

How Nitrogen processes requests – part 2

Context In the last post we discussed how Nitrogen inits a new Context for each request and stores it in the process dictionary. Conceptually, Nitrogen uses Context to pass the page state from the server to browser and then, on … Continue reading

Posted in Cowboy, Erlang, Nitrogen, Simple_Bridge | Tagged , , , , | 1 Comment

How Nitrogen processes requests – part 1

If you have used Nitrogen for a while, you might start wandering how Nitrogen actually processes your requests and what is happening under the hood. Unfortunately the documentation on this part is particularly patchy. There is a very good introductory … Continue reading

Posted in Cowboy, Erlang, Nitrogen, Simple_Bridge | Tagged , , , , | Leave a comment