Questions tagged [nitrogen]

The Nitrogen Web Framework is a framework for building full-stack Erlang web applications.

The Nitrogen Web Framework is for making rich web applications with an emphasis on AJAX and Comet, and uses full-stack Erlang, using the Erlang webserver of your choice: Inets, Mochiweb, Yaws, or Webmachine.

Created by Rusty Klophaus (@rustyio)

Resources:

Home page with demos and tutorials: http://www.nitrogenproject.com

Github: http://github.com/nitrogen

Google Groups: http://groups.google.com/group/nitrogenweb

IRC: irc.freenode.net // #nitrogen

Twitter: @nitrogenproject

88 questions
27
votes
4 answers

What is your experience with Nitrogen on Erlang?

I've been checking out the Nitrogen Project which is supposed to be the most mature web development framework for Erlang. Erlang, as a language, is extremely impressive. However, with regards to Nitrogen, what I am not too keen about is using…
Yuval Adam
  • 161,610
  • 92
  • 305
  • 395
8
votes
0 answers

Mnesia Fragmentation and replication: resultant availability and reliability

Following the solutions to the question i asked recently about mnesia fragmentation, I still have a number of challenges. Consider the following scenario (The question I am asking is based on what follows below): You have a data driven enterprise…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
6
votes
0 answers

Nitrogen (Erlang web framework) file upload and validators on other form elements

I am using Nitrogen. And I have an #upload element together with a #textarea element. When a user presses the button to upload the file the #textarea also gets posted and I can receive it with wf:q/1 in the finish_upload_even/4 function. This is all…
danron
  • 189
  • 8
6
votes
3 answers

Where does Nitrogen get the best performance - yaws, mochiweb, or inets?

The Nitrogen project web page declares equal support for yaws, mochiweb, and inets, but with which of these web servers is it going to perform the best? I.e. for a large scale application with mostly dynamic content with nitrogen + a web server…
Jeremy Raymond
  • 5,817
  • 3
  • 31
  • 33
5
votes
2 answers

How to get Peer IP Address in Nitrogen

Is is there a built in function in nitrogen framework to get Peer IP address? If not, is there a way to get the IP address of peer which is making to request to Nitrogen App
Shree Kavi
  • 65
  • 4
4
votes
2 answers

How to use html lists in Nitrogen

I would like to create an html list in Nitrogen but can't figure out how to do it. Basically I want to output:
  • One
  • Two
I found some source for lists under apps/nitrogen/src/elements/html in my Nitrogen distribution…
rancidfishbreath
  • 3,944
  • 2
  • 30
  • 44
4
votes
1 answer

How to connect Nitrogen with Couchdb using Ecouch

I don't understand how to make a connection with nitrogen and couchdb using ecouch, because I have a error on this connection CAUGHT ERROR: error-undef [{ecouch,db_info,["test_suite_db"]} I put ecouch in my erlang library path and I create a…
user331852
  • 53
  • 3
4
votes
2 answers

Unflash a message with Nitrogen

I have a login page for my Nitrogen based web app. If user authentication fails I wf:flash a message to the user to let them know. However if the user continues to supply bad credentials these flash message keep building up. Is there a way to first…
Jeremy Raymond
  • 5,817
  • 3
  • 31
  • 33
4
votes
1 answer

How to add a tooltip to a button

It is very easy with links and images. One could just specify title="Something" to get a nice tooltip over an element. But somehow I don't see any convenient way to do the same to a button. Seems like HTML itself miss this option at the first place.…
akalenuk
  • 3,815
  • 4
  • 34
  • 56
3
votes
1 answer

Counting number of Hits on yaws web application

if i have a web application running from a yaws web server, how would i count the number of hits from users to my site? I have tried to use rudimentary methods of counting the number of lines in the .access file of my site found in the yaws logs…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
3
votes
1 answer

Using Erlang Nitrogen and Bootstrap 4 Templates

Is there a way to allow bootstrap 4 designed web pages (as Nitrogen templates) to "interact" with Erlang Nitrogen? Apart from breaking out all input fields, buttons and forms and converting it to Nitrogen, is it possible to leave the designed HTML…
3
votes
2 answers

Working with Emails (POP3, IMAP, SMTP e.t.c) in Erlang?

How can one handle email related communications pragmatically in Erlang/OTP? Using bash, python or Perl scripts, its possible for one to send out emails. However, in Erlang, i have not yet found an Application or built in function dedicated to…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
3
votes
2 answers

Nitrogen - Dynamically creating Events

I am a beginner with Erlang/Nitrogen. I am toying with a bidding system back by a mnesia db. On my index page I have the following code and the various items and their properties get created dynamically from the database: %% -*- mode: nitrogen…
elimayost
  • 123
  • 1
  • 4
3
votes
1 answer

How can an ejabberd newbie setup a fully functioning ejabberd server?

i am completely new to ejabberd. I have downloaded the installation for both windows and linux (Ubuntu). Somewhere on the web i had seen a demo of how to install and set it up but the installation was configured as a 'demo'. I have the pidgin XMPP…
Muzaaya Joshua
  • 7,736
  • 3
  • 47
  • 86
3
votes
2 answers

Including the Erlang client library from Riak in Nitrogen

i'm just starting up with a web app using nitrogen and everything is going well. But i also want my app to interface with a riak db that i set up and i'm having some trouble. I'm confused as to how I "include" the erlang client interface so that…
user436605
  • 411
  • 1
  • 5
  • 13
1
2 3 4 5 6