From: itsme213 Date: 2005-04-04T18:14:47+09:00 Subject: Re: [ANN] Nitro + Og 0.15.0, Localization, Parametrized mixins, Morphing, SQLServer "George Moschovitis" wrote > Using the LocalizationShader you can have templates like this: > >

[[This is a localized]] String

>

> do you [[:like]] this? >

Nice. > * Dynamic/Parametrised mixins. A great extension to Ruby's mixin > feature. The Og::list implementation is replaced with the new > Orderable dynamic mixin, here is an example: Nice idea. You could use also this to propagate operations (e.g. delete, aggregating ops, others) along specific attribute or relations. > class Comment > property :body, String > belongs_to :article, Article > include Orderable, :scope => article > end > > c.move_higher > > The Orderable mixin uses the :scope parameter to dynamically alter > the methods appended to the Comment class. This new feature will be > used throughout the platform. What does this do to the tables? Can Comment include 'Orderable' multiple times with different :scopes? How about ordering on either end of N-M relations? > Nitro is a multiparadigm application framework and will integrate ideas > from Rails, Wee, PHP, JSP and .NET Which ideas from Wee does it currently have? Which ones would you like it to have :-)? Thanks.