[Nitro] Finally coming along...

Fang Sun nusgnaf at gmail.com
Mon Aug 28 09:43:37 EDT 2006


Would you mind explain the idea of container? I am not familiar with
advanced software engineering techniques.
>From the annotation usage of Nitro, it mainly use it to implement
configuration system and setup ORM relation, so it's a  great
playground to test the power of annotations.

On 8/28/06, TRANS <transfire at gmail.com> wrote:
> On 8/28/06, Fang Sun <nusgnaf at gmail.com> wrote:
> > Hi, Trans, I am tring to integrate latest facets-1.7.30 with nitro,
> > with the latest annotation implementation, the following class level
> > Class A
> >     ann self, :h => "metadata_h"
> > end
> > can only be accessed by
> > A.ann(A) =>#<Annotation(A#A) #<Annotation:0xb7b9aed0 {:j=>"hoo"}>>
> > A.ann.self => #NoMethodError: undefined method `self' for
> > #<Annotations:0xb7c1cf48>
> > It looks that A.ann.self refers to metadata for explicite annotation like
> > ann :self, blahblah
> > this break the annotation usage in nitro. would you please bring back
> > klass.ann.self as a quick set/get method to class level metadata?
>
> Ah, I was wondering if that worked or not. Okay I'll fix it.
>
> BTW, have you gotten a feel at all for the annotations storing the
> name and container? Is that workable or is it problematic?
>
> T.
>
>
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> >
>
>
> --
> ( o-
>  //    trans.
> / /    transfire at gmail.com
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>


More information about the Nitro-general mailing list