I am just starting a project on GAE using web2py and would certainly prefer
to start with ndb from the beginning. Is this patch going to be official?
Can I start with the regular db and then switch to ndb once it's official?
I am new to GAE and web2py but after reading all docs I believe they
You can always switch between DB and NDB. Thats the idea of the patch.
You can also grab the trunk version and help testing it.
On Nov 22, 2013 5:12 PM, Cato Gonzalez catogonza...@gmail.com wrote:
I am just starting a project on GAE using web2py and would certainly
prefer to start with ndb
Hi,
I attached a new patch.
I also attached a file with a couple of tests I ran. (based on test_dal.py)
Needs more testing by other GAE users though.
Quint
On Monday, October 28, 2013 2:49:37 PM UTC+1, Massimo Di Pierro wrote:
If you send me a revised patch to do this, I will include. It may
Ok,
I will look at it this weekend.
On Monday, October 28, 2013 2:49:37 PM UTC+1, Massimo Di Pierro wrote:
If you send me a revised patch to do this, I will include. It may be
better than using a different adapter.
On Monday, 28 October 2013 01:40:41 UTC-5, Quint wrote:
Yes, using the
interesting i as skim the NDB docs very quickly and the patch above i
see that it is *very* similar to the DB Datastore/Big Table. if the APIs
are the same then we should just use the same DAL adapter with a parameter
to use NDB. Though because of the caching nature of NDB there may be a
Yes, using the same adapter with a parameter is also a possibility i thought
of. Don't really know anymore why i choose this. Maybe because initially i
wanted to create a plugable thingy without changing the DAL code.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
If you send me a revised patch to do this, I will include. It may be better
than using a different adapter.
On Monday, 28 October 2013 01:40:41 UTC-5, Quint wrote:
Yes, using the same adapter with a parameter is also a possibility i
thought of. Don't really know anymore why i choose this.
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
btw dumb question
when db.py says DAL(google:datastore)
Is it referring to the DB datastore in GAE
https://developers.google.com/appengine/docs/python/datastore/
Asking because there a few options for storage mentioned in the GAE docs.
On Sunday, September 29, 2013 9:49:36 AM UTC-7, Quint
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
Thank you I will review this asap!
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
11 matches
Mail list logo