Tip from Fabian:
Written Friday, November 17, 2006

Nitro with FastCGI on Apache2

Written by Michael Fellinger, prepared for Oxyliquit by Fabian Buch

This is the first draft for doing an installation of Nitro on Apache 2. I am using an Ubuntu system; these intructions should work

Tip from Kashia:
Written Thursday, November 16, 2006

Enchanting an Og Model

This tip aims to define all methods to enchant a model (make it persistant).

Enchanting: Add the needed features like .find, the manager .ogmanager which contains the database connection pool,

Tip from capiCrimm:
Written Sunday, April 16, 2006

Getting Post values as a method argument.

You can use

def foo(apple) @out

and http::/url.com/foo/echo will echo echo to the screen. However nothing will be passed if you pass apple as

Tip from Fabian:
Written Thursday, March 23, 2006

Compiler Pipelines for Templates

Written by Michael Fellinger and Andrew Thompson, edited by Fabian Buch

Templates have to be transformed to be finally presented to your browser. In Nitro there are several sta

Tip from Kashia:
Written Sunday, March 19, 2006

Dynamic Controls? Not really, or...?

This is how to make dynamic controls in Nitro 0.29 / 0.30 / 0.31 work!

This tip is deprecated in Nitro 0.40!

Dynamic because:

module Nitro module Form

class MyTex

Tip from Fabian:
Written Wednesday, March 15, 2006

TableHelper tip

For faster table creation you can use the table handler.

Let's take a table with "nick", "first_name", "last_name" and "email". The result might look like:

Tip from Kashia:
Written Friday, March 10, 2006

How to implement a Pager

So, you've got a lot of data, which just won't fit on your page? You want it nicely spread over a few pages, and you just don't want to reinvent the wheel or spend hours doing it?

Here's how you do

Tip from Kashia:
Written Wednesday, April 12, 2006

Nitro Lighttpd/FasctCGI?

public/fcgi.rb:

!/usr/bin/env ruby

ENV['NITROINVOKE'] ='fcgiproc' $0 = File.join(File.dirname(FILE), '..', 'run.rb') require $0

Tip from Kashia:
Written Wednesday, May 3, 2006

Making A Patch To Glycerin

First, make sure you have a clean repository, if you're not sure, get a new version from the repo:

$ darcs get --partial http://repo.nitroproject.org nitro-dev

That g

Tip from manveru:
Written Wednesday, August 9, 2006

Using Elements

This is a quick guide how elements work in nitro and how you can yield all their power with just a few keystrokes.

let's jump in - the following code usually is put in a file called 'skin.rb' and requ

first
last