> Massimo or anyone familiar with app engine, i am beginning development > with bot app engine and web2py and have reviewed much of the google io > videos especially those by bret slatkin regarding how to work with the > app engine datastore properly. I hope but am guessing it is probably > not the case that w2p allows a more direct control of the data model > for app engine.
That is correct, the model is generated and stored at db.table._tableobj. A wrapper could be written that converts query results and ID based entities into web2py storage dicts, but it would not work if using keynames or parent entities, because web2py only tracks IDs. The only way to correctly achieve unique names in GAE is to use keynames and a transaction. How do i define an entity group? does the orm do this > for me. One of the major no-nos is to have high write contention in > your entity groups, is web2py following some of these basic guidelines > for the app engine datastore? Every new entity created in GAE DAL has the default parent=None, so it is a brand new entity group. Can we integrate direct app engine api > usage cleanly with w2p? You could use db.table._tableobj directly if you needed to. > Sorry for having so many questions but i fear that the orm could > become a huge bottle neck and dumbing down of app engine to the point > where there is little benefit to using app engine over any other sql > server. I agree that the datastore, although scalable, could be called dumbed down, but the very interesting thing is that I know all of those advanced features of the GAE datastore could be exposed nicely via the web2py DAL: -batch get/put/delete -list-properties -transactions as passing a callable -storing keys as fields -setting parent key -key only queries That says a lot about how flexible the web2py dal interface is to be able to support all that. The problem is that I am not working on it currently, and nobody else has implemented them, but it can be done. Robin On Sep 30, 12:41 am, AndrewLoot <[email protected]> wrote: > Massimo or anyone familiar with app engine, i am beginning development > with bot app engine and web2py and have reviewed much of the google io > videos especially those by bret slatkin regarding how to work with the > app engine datastore properly. I hope but am guessing it is probably > not the case that w2p allows a more direct control of the data model > for app engine. How do i define an entity group? does the orm do this > for me. One of the major no-nos is to have high write contention in > your entity groups, is web2py following some of these basic guidelines > for the app engine datastore? Can we integrate direct app engine api > usage cleanly with w2p? > > Sorry for having so many questions but i fear that the orm could > become a huge bottle neck and dumbing down of app engine to the point > where there is little benefit to using app engine over any other sql > server. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

