f



[ANN] Nitro 0.7.0 + Og 0.7.0

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

0
12/27/2004 11:21:36 AM
comp.lang.ruby 48885 articles. 0 followers. Post Follow

4 Replies
1125 Views

Similar Articles

[PageSpeed] 22

George Moschovitis wrote:
> 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

> 
> 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
> 
0
12/28/2004 10:21:11 AM
Hello Raph,

thanks for trying the blog example. As this example uses XSLT you have
to install the ruby-xslt library:

http://gregoire.lejeune.free.fr/ruby-xslt_0.4.0.tar.gz

I think this is mentioned in the docs, I 'll have a look at it again.
Hope this will work for you :) If not, just email me and I 'll gladly
help you.


best regards,
George

0
12/28/2004 10:39:26 AM
George Moschovitis wrote:
> Hello Raph,
> 
> thanks for trying the blog example. As this example uses XSLT you have
> to install the ruby-xslt library:
> 
> http://gregoire.lejeune.free.fr/ruby-xslt_0.4.0.tar.gz

Does this install and run on Windows?


Thanks,


James



0
12/28/2004 5:20:50 PM
Hello James,

> > http://gregoire.lejeune.free.fr/ruby-xslt_0.4.0.tar.gz
> 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

0
12/28/2004 7:27:54 PM
Reply: