[ANN] Nitro 0.7.0 + Og 0.7.0

G

George Moschovitis

Hello everyone,

a new version of Nitro was just released.

Homepage: http://www.navel.gr/nitro
Download: http://www.rubyforge.com/projects/nitro

A snapshot of the latest code. Many fixes and new features result
in a more mature product. Many thanks to the ruby hackers that sent
suggestions and patches used in this release!

Most notable additions:

* Improved win32 compatibility (Tiny example runs out of the box).
* Binary content example (Flash, needs ruby-ming installed to run).
* Totaly recoded prop_accessor mechanism, avoids polution of the Module
class.
* prop_accessors for Modules, allows synthesizing of managed objects
from Mixins.
* new automatically generated methods in Og.
* MockDatabase leverages the FlexMock object for easier unit testing.
* Integrated the cool Breakpointer library by Florian Gross.
* Markup mixin to automatically expand/compact generalized markup code.
* new_form wizard.
* Statically (compile time) included subscripts.
* Important bug fix in redirects.

and many many bugfixes! :)some words about Nitro:

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 Og (ObjectGraph) object-relational mapping
library. Og provides transparent serialization of object graphs to a
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 querieng 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 and MySQL are included.


Suggestions, ideas, bug reports are welcome!
have fun,
George Moschovitis
 
R

Raphael Bauduin

George said:
Hello everyone,

a new version of Nitro was just released.

Homepage: http://www.navel.gr/nitro
Download: http://www.rubyforge.com/projects/nitro


Hi,
I've downloaded it and tried to start the blog example but got a problem:

.../../lib/nitro/server/shaders.rb:156:in `require': No such file to load -- xml/xslt (LoadError)


I'm on debian, and I have installed all xml related packages, amongst others:

libxml-ruby1.8 libxslt-ruby1.8 librexml-ruby1.8

but it didn't correct the problem

Any idea?

Btw, it's great to see the cross pollination happening with Ruby on Rails.

Raph
 
G

George Moschovitis

Hello James,
Does this install and run on Windows?

Sadly no :( I 'll try to make a simple pure Ruby xslt library
for a future release. As the XSL transformation is precompiled
in the actual script (essentially you get the transform for free),
Ruby is fast enough. If anyone is working on a simple pure Ruby
XSLT library or wants to help, please contact me.

Btw, Nitro does NOT force design decissions, neither puts
the developer on ..rails :-D

You DON'T have to use XSLT, if you dont like it. In fact,
Nitro provides a fully programmable 'shader' pipeline. The
shader pipeline describes the steps needed to convert a
standard XHTML file to a compiled ruby method to be called by
the Nitro dispatcher. You can use other means of templating
if you want.

best regards,
George
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top