[ANN] Nitro + Og 0.23.0 Scaffolding reloaded, Taggable, Nano/Mega integration...

G

George Moschovitis

Hello everyone,

New versions of Nitro (Web Application Framework) and Og (Object
Relational Mapping) were released:

Homepage: http://www.nitrohq.com
Download: http://rubyforge.org/projects/ nitro
Mailing List: http://rubyforge.org/mailman/l istinfo/nitro-general=20

The summer vacations are over and there is a brand new Nitro=20
release. There is a preview of the new Scaffolder (also handles
Og relations), support for Tagging (folksonomy), lots of small=20
features and improvements and many bug fixes. Additionally, the=20
code has been restructured to utilize the excellent Nano and Mega
support libraries.

Most notable additions:

* Scaffolding reloaded. The scaffolding infrastructure is=20
reimplemented to generate more flexible code. The automatically
generated forms allow for visualization and editing of=20
Og relations such as HasMany and BelongsTo.

For example when rendering a BelongsTo relation all possible=20
parents are presented with a select element. When rendering a=20
HasMany relation a list of all children is presented.

Moreover, an experimental admin component is provided. Just add the
line:

require 'part/admin'

and surf

http://www.mysite.com/admin

To enter a simple administration screen.=20

WARNING: This feature is considered a preview and will be=20
improved in a future version.

* Major cleanup in the Glue subproject. Some files are moved
to the nano/mega project. Nano/Mega is now used throughout=20
Nitro and really makes development so much easier.

* Introduced Og Taggable mixin. It was never easier to add
tagging to your application.

class Article
include Og::Taggable
..
end

article.tag('navel', 'gmosx', 'nitro')
article.tags
article.tag_names
Article.find_with_tags('navel', 'gmosx')
Article.find_with_any_tag('name', 'gmosx')

t =3D Article::Tag.find_by_name('ruby')
t.articles
t.articles.count

For an example usage of this Mixin, consult the Spark sources.

* Added support for relative and absolute URLs in redirects
and renders. This feature simplifies the creation of reusable
components.

* Support for assigning compound objects from the request. Here=20
is an example:

class Article
property :title, String
property :body, String
end

<form>
<input type=3D"text" name=3D"article.title" />
<input type=3D"text" name=3D"article.body" />
</form>

article =3D request.assign('article')

Alternatively you can use the article[title] article[body]
notation.

* Added simple Benchmarking mixin.

* Added support for 'evolving' a single Og managed class. Useful
when you are in development mode and change your schema.

* Added support for session garbage collection.

* Many many small bug fixes in Og and Nitro.


Nitro provides everything you need to develop professional Web
applications using Ruby and Javascript.=20

Nitro redefines Rapid Application Development by providing a=20
clean, yet efficient API, a layer of domain specific languages=20
implemented on top of Ruby and the most powerful and elegant=20
object relational mapping solution available everywhere.=20

Nitro is Web 2.0 ready, featuring excellent support for AJAX,=20
XML, Syndication while staying standards compliant.

Nitro gives choice to the developer: Multiple paradigms are=20
implemented, incorporating ideas from Rails, CherryPy, Catalyst,=20
Wee, PHP, JSP and Microsoft.NET and more. The developer is free
to choose the pattern that better fits his application. This=20
kind of freedom makes Nitro applicable to a wide range of=20
applications, spanning from big, scalable web sites with thousands
of concurrent users to simple solutions for deployment on intranet
desktops.

have fun :)
George Moschovitis

--=20
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top