Hi,
 Just curious, what's the status of this patch?
I'm eagerly waiting for NDB support in web2py.
S

On Sunday, September 29, 2013 9:49:36 AM UTC-7, 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.

Reply via email to