> Karl Guertin wrote:
> > On 11/9/06, Tim Lesher <[EMAIL PROTECTED]> wrote:
> > > Any chance that this "end result" will include something like Rails' 
> > > "Acts"?
> >
> > Got an explanation for this? My google-fu is lacking.
>
> I'm guessing it is a reference to the various "acts_as_*" plugins that
> make it relatively easy to add row metadata (tags, voting, commenting,
> etc) to your model.
>

I took a look at Agile Rails book.
Besides the relationship between tables(OneToMany, ManyToMany...etc),
"acts_as_*" are the metadata(such as tablename is the metadata for sql
table, but acts_as_*  are the metadata for model) for ActiveRecord
(rails ORM), which add an predefined set of methods to manipulate the
model.

For example, add a line to specify "acts_as_list" in model's metadata
could put results in order and act as a list;
"acts_as_tree" add some methods to play model like the tree structure.

SQLAlchemy/TurboEntity didn't have such stuff currently, but its not a
hard thing to warp a method to access SQLAlchemy/TurboEntity model in
native python code. 

--
Fred


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to