Posted By: George Moschovitis
Date: 2005-03-01 01:13
Summary: Nitro + Og 0.11.0
Project: Nitro

The platform continues to evolve and now supports the Apache web server and the Oracle database out of the box. This version features improved documentation, important bug fixes and many subtle improvements to make programming even more enjoyable. Many thanks to Matt Bowen for his help
with this release.

Most notable additions:

* Configuration files for Apache/FastCGI.

* Og documentation (doc/og_tutorial.txt, doc/og_config.txt)

* Actions with parameters:

def list(username, oid)
...
end

http://www.mysite.com/list?username=tml;oid=2

calls list() with the correct parameters, no need to use request['oid'], just use oid.

def list(username, oid)
puts oid # oid == request['oid']
end

WARNING: this feature requires the ParseTree library which is not compatible with Windows. For the moment, this feature is dissabled by default. To enable this feature, set Nitro.resolve_action_arguments = true.

* New session store system, DRb sessions (stored in an independent DRb server) are reimplemented.

Session.store_type = :drb

* TableBuilder helps in creating html tables.

* Integrated builders with the programmatic render. For example:

<div class="mytable">
#{o.build_table(:id => 'my_tab', :headers => headers, :values => values)
</div>

or

<p>
<b>Object Form</b>
#{o.build_form(obj)}
</p>

* Og Oracle adapter.

* Og provides advanced metadata for the managed objects

class Article
property :title, String
property :body, String
has_many :comments, Comment
end

par = Article.properties_and_relations
=> [Property(:title), Property(:body), Og::HasMany(:comments)]

par[2].klass
=> Comment

par[2].meta[:linkback]
=> :article_oid

* Og Typemacros, here is an example:

def VarChar(size)
return String, :sql => "NOT NULL VARCHAR(#{size})"
end

property :title, VarChar(30)

* Option for faster startup, skip schema check.

* Many small Og improvements and fixes.

* FastCGI adapter bug fixes.

* New example, why's wiki, from a cool post at
http://redhanded.hobix.com

* IMPORTANT security fixes.

Latest News
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58

 

Forums | Admin

Discussion Forums: nitro---og-0.11.0

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post