Of course one can use the usual postgresql which an ORDBM... pyDAL does not (yet) support inheritance at DDL level, but can be used at DML level for most needs.
2015-07-15 11:09 GMT+02:00 Massimo Di Pierro <[email protected]>: > web2py include pydal and pydal is an API for accessing RDBMs and some > NoSQL engines. This is not your use case. > > web2py does not include a OODBM but nothing prevent you from accessing one > and take advantage of all the other features. You simply would not do it > through the DAL. The reason is that there is no standardize API for > accessing OODBMs. Every one of them is different and every one has its own > set of APIs. > > So for example in the python world a popular one is ZODB. You can install > ZODB and use it with web2py. I do not expect any problem but I never tried > it. There are other OODBMs which you can use from python. If they work with > Python, they work with web2py. > > That said. I disagree that OODBMs are the future and SQL is the past for > two reasons: SQL databases are still widely more popular and more scalable. > It is possible to build a OODBM on top of SQL database, and in fact, if > time permits, I would like to build one on top of the web2py dal. > > > On Wednesday, 15 July 2015 03:29:04 UTC-5, Esteban Bulutsuzku wrote: >> >> Hello, >> >> I am an experienced OOP programmer. I -fortunately- do not use relational >> technology anymore, so I won't plan get back to write SQL/RDBMS/ORM stuff >> (I really don't care if the relational math theory + ISO/IEC 9075-1 backs >> the stack). This could sound like a rare use case for you, but it is not if >> you use actively other systems (Java, db4o, GemStone, etc) where you can >> have nested complex designs with navigational access to data, dynamic class >> definitions, class extensions, etc. Also if you don't ever plan to use an >> OODBMS, sometimes is desirable to delay the need to hook up a database >> during development, or ever forever ;) >> >> But I am dissapointed, because after hearing a lot about web2py I still >> have not found how to work with web2py with an OODBMS (any of them). It >> seems that web2py is tied to RDBMS (which to me is technology from 1970's >> but that's another story). >> >> Maybe most python devs have experience with flat simple tabular data >> models, it could also be the case that Python file-orientation promotes >> more scripting approach than object-technology, and I am not criticizing >> you but in my case I already have a rich object model (is *NOT* NoSQL) and >> I am giving web2py a chance. >> >> But it seems there is few to none documentation of web2py + OODBMS, i.e. >> how to use the DAL with a OODMS backend. >> >> Is web2py still valid for my use-case? >> Anyone working with OODBMS and web2py? >> >> Thanks, >> Cheers, >> >> Esteban >> >> -- > 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/d/optout. > -- 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/d/optout.

