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-it-like-rails
http://bitbucket.org/jonromero/pyactiverecord
What do you thing?
--
Alejandro Fanjul Fdez.
alex.fan...@gmail.com
www.mhproject.org
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.