Hello everyone,
new versions of Nitro and Og were just released.
Homepage + Downloads: http://nitro.rubyforge.org
Mailing list: http://rubyforge.org/mailman/listinfo/nitro-general
Mainly a bug fix release. Many small improvements were implemented. All
reported bugs were fixed, as well as bugs found during the deployment
of a live application. For more information consult the detailed
changelog. Thanks to Julien Perrot for small patches.
Some notable changes:
* Some changes to make Webrick a valid solution for powering a
production server. The full page output caching was improved and
support for daemonizing the server was added. Support for running as a
proxy target (behind an apache server) was also added.
* Thread safe mode was added again in Og. This works nice with the
Webrick server.
* New order macro in Og to set default ordering for each entity. The
has_many collections respects the order setting.
* Improved error reporting.
* Support for template_root overloading. Lets say you have the
following Controller hierarchy:
Controller > MyController > SpecificController.
The template roots of the 3 controller are searched in reverse order.
So by adding a template file in the SpecificController template root
you can override a default action in the base Controller. For
convienience the base Controller points to the Proto directory. This is
experimental.
* Provide the examples as a separate distribution to make it easier for
Ruby newbies to find them.
* Bug fixes in the Elements system.
* Improved the nitrogen generator command. Just run
nitrogen app ~/the/target/path
to create a skeleton application.
* Cleaned up some source files.
Nitro is an efficient, yet simple engine for developing professional
Web Applications using the Ruby language. Nitro aims to provide a
robust infrastructure for scalable web applications that can be
distributed over a server cluster. However, Nitro can also power simple
web applications for deployment on intranets or even personal
computers. Nitro integrates the powerful Og Object-Relational mapping
library.
Nitro is a multiparadigm application framework and will integrate ideas
from Rails, Wee, PHP, JSP and .NET
Nitro integrates the Og (ObjectGraph) object-relational mapping
library. Og provides transparent serialization of object graphs to an
RDBMS backend. Unlike other similar libraries Og maps standard Ruby
objects to SQL tables and not vice versa. Og provides a meta language
to describe the relations between objects, a flexible and intuitive API
for querying the database, raw access to the SQL language if needed
(for example to fine tune the automatically generated SQL tables, or
for custom queries), suports deserialization to Ruby objects or tuples,
automatically generates join tables for many_to_many relations and
provides a collection of usefull Mixins to synthesize common Entities.
Og is a combination of the best features of Active Record and the
former O-R mapping library included in Nitro (NDB). Adapters for
PostgreSQL, MySQL, SQLite and Oracle are included.
I hope this software will be useful for you, and I would love to
receive your suggestions, ideas and bug reports.
have fun,
George Moschovitis