Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] Nitro 0.7.0 + Og 0.7.0

Reply
Thread Tools

[ANN] Nitro 0.7.0 + Og 0.7.0

 
 
George Moschovitis
Guest
Posts: n/a
 
      12-27-2004
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

 
Reply With Quote
 
 
 
 
Raphael Bauduin
Guest
Posts: n/a
 
      12-28-2004
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
>

 
Reply With Quote
 
 
 
 
George Moschovitis
Guest
Posts: n/a
 
      12-28-2004
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

 
Reply With Quote
 
James Britt
Guest
Posts: n/a
 
      12-28-2004
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



 
Reply With Quote
 
George Moschovitis
Guest
Posts: n/a
 
      12-28-2004
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

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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Nitro] [ANN] Nitro/Og 0.31.0 gabriele renzi Ruby 22 08-01-2006 12:33 PM
Nitro Ax Full Tower Server Case @ A True Review Silverstrand Front Page News 0 11-25-2005 10:27 PM
[ANN] Nitro Web Engine 0.2.0 George Moschovitis Ruby 2 10-27-2004 08:03 AM
[ANN] Nitro 0.1.2 George Moschovitis Ruby 2 10-21-2004 08:49 AM
DVD Verdict reviews: NITRO DIGGERS, CRASH ENCOUNTERS, and more! DVD Verdict DVD Video 0 06-26-2004 09:01 AM



Advertisments