If you want I can post a full working application.
It's awesome because it reduces the amount of code that needs to be
written and (in later versions) I am thinking about putting a Proxy
class that does caching. Of course this is a ROUGH prototyping (for
example I can setattr for every function that exists) but it's
working :)

If anyone has ideas for features that can be added, I am all ears

On Jan 17, 10:03 pm, Alex Fanjul <[email protected]> wrote:
> It sounds very cool for fast prototyping too.
> Alex F
>
> El 17/01/2010 14:44, Jon Romero escribi :
>
>
>
> > I created a small lib which adds an abstraction over DAL and makes it
> > feel like Rails' Activerecord.
> > For example:
> > user = User.find_by_name("Jon")
>
> > It creates queries on the fly (you don't have to create a function
> > 'find_by_name' - it creates it dynamically based on your table
> > fields).
>
> > I plan to extend it so it can do:
> > user = User.find_by_name_and_sex("Jon", "male")
> > and some other interesting stuff (insert/update etc)
>
> > Check it here
> >http://jon.is.emotionull.com/post/339111307/activerecord-in-python-do...
> >http://bitbucket.org/jonromero/pyactiverecord
>
> > What do you thing?
>
> --
> Alejandro Fanjul Fdez.
> [email protected]
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.


Reply via email to