Thank you for the patch. I guess my question is why do we need a new
adapter? Is this for backward compatibility because otherwise it would
break apps that use Field('...',type='decimal(...)')?
On Sunday, 29 September 2013 11:49:36 UTC-5, Quint wrote:
>
> Hi,
>
> I think web2py should support NDB for the Google Datastore.
> NDB a newer datastore api which has automatic caching features built in.
>
> https://developers.google.com/appengine/docs/python/ndb/
>
> I think it would be great for GAE users to be able to use NDB because it
> potentially has better performance and can reduce the costs of your app
> (dependent of the type of app off course).
>
> In fact, i think it wouldn't be that hard to integrate it.
>
> I had a go at it and i only had to change a couple of lines in dal.py and
> it seems to work.
> You can switch between NDB and DB because they both should store exactly
> the same data in the datastore.
>
> I attached a patch i made based on version 2.6.4
> Maybe one of the developers could have a look.
>
> I'm not a web2py expert so this does need to be reviewed by someone with
> more in depth knowledge.
> But maybe this could serve as a starting point.
>
> resources:
>
>
> https://docs.google.com/document/d/1AefylbadN456_Z7BZOpZEXDq8cR8LYu7QgI7bt5V0Iw/mobilebasic
>
> http://dylanv.org/2012/08/22/a-hitchhikers-guide-to-upgrading-app-engine-models-to-ndb/
>
> Thanks!
>
>
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.