Category Archives: custom 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

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

Use of extra_param in Nitrogen #event{}

I already briefly touched on how #event{} Nitrogen action allows to bind to jquery events. But #event{} has a pretty interesting feature extra_param which is worth extra post as it could be very useful. You can specify postback option for … Continue reading

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