Category Archives: Nitrogen_Elements

How to make closable tabs with Nitrogen and jQuery UI 1.9

A minor annoyance with using jQuery UI lib is that some of the controls are missing obvious features. I don’t want to call the lib “half-baked” – jQuery UI is of good quality but sometimes you can’t help but to … Continue reading

Posted in custom Nitrogen elements, Erlang, Nitrogen, Nitrogen_Elements, Uncategorized | Tagged , , , , , | Leave a comment

How to build a live datagrid with Nitrogen

One of the most useful element in Nitrogen Elements project is jqGrid control. jqGrid is a Nitrogen wrapper for a popular javasript library which allows to represent and manipulat tabular data on the web. There are lots of examples for … Continue reading

Posted in Cowboy, custom Nitrogen elements, Erlang, Nitrogen, Nitrogen_Elements, Uncategorized | Tagged , , , , | Leave a comment

Extended example with graphviz updates via Websockets

Native Websockets support is a very compelling reason to use Cowboy. (Yaws also supports Websockets natively as well so it is another alternative). I will give a simple example how to use Websockets with Nitrogen and Cowboy by extending on … Continue reading

Posted in Cowboy, custom Nitrogen elements, Erlang, Nitrogen, Nitrogen_Elements | Tagged , , , , | Leave a comment

How to draw graphviz graphs with Nitrogen

I built an initial version of a new control which allows to draw graphviz graphs with Nitrogen and added it to the collection of Nitrogen_Elements. As far as I know Erlang ecosystem doesn’t have a convenient library to draw dot … Continue reading

Posted in custom Nitrogen elements, Nitrogen, Nitrogen_Elements | 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 3

Last time we traced the steps that Nitrogen takes to initialize the Context and reached wf_core:run_catched function which builds the Response. Firstly, this function updates the Context with the page State which comes from the browser in the http Request … Continue reading

Posted in custom Nitrogen elements, Erlang, Nitrogen, Nitrogen_Elements | Tagged , , , , , | Leave a comment

Announcing “Nitrogen Elements” 0.2.1

I have been working on the re-incarnated project “Nitrogen Elements” – which is a collection of useful Nitrogen GUI elements and now it is time to make a first release – v.0.2.1. The project contains the implementation for the following … Continue reading

Posted in custom Nitrogen elements, Erlang, Nitrogen, Nitrogen_Elements, Uncategorized | Tagged , , | Leave a comment