2011/9/5 Ovnicraft <[email protected]>:
> Hello i read about this maybe yo can consider a better python
> libĀ https://github.com/lasarux/ooop
> IMHO better than pypi registered.

This one seems to have the best api of the bunch I saw posted here. I
still think it has one problem, why the .get and .new? I think .new
should be mapped to __call__ and maybe .get too. So instead of:

o.ResPartner.new() and o.ResPartner.new(name='Guido', active=True)

you get:

o.ResPartner() and o.ResPartner(name='Guido', active=True)


also it would be cool is any of this libs could be used inside an
openerp module, so no more pool.get (which can we can easily map
__get_attr__ to pool.get(captalization_to_points(attr))) and the ugly
browse/search and the cr,uid everywere (whi a custom metaclass that
decorate all methods with an OOP instance).

_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help   : https://help.launchpad.net/ListHelp

Reply via email to