[web2py] Re: Dynamic model creation

2012-06-07 Thread Anthony
Once you specify a given type of object, will its schema always remain the same? If so, you should be able to dynamically generate the DAL table definition and have the DAL create the table. However, if you need to make arbitrary dynamic changes to the schema within a given class of object,

[web2py] Re: Dynamic model creation

2012-06-07 Thread Anthony
Also, see this discussion: https://groups.google.com/d/msg/web2py/r0pLhvGi27Y/VtTibzxs6koJ On Thursday, June 7, 2012 10:42:48 AM UTC-4, Anthony wrote: Once you specify a given type of object, will its schema always remain the same? If so, you should be able to dynamically generate the DAL

[web2py] Re: Dynamic model creation

2012-06-03 Thread pbreit
My guess is it's NoSQL, probably Mongo which seems to be the preferred DB behind a lot of these real-time JavaScript frameworks. On Sunday, June 3, 2012 2:35:34 AM UTC-7, Christian wrote: Hello group, I found a backend service, mostly for mobile apps, called parse.com. Looking at their

[web2py] Re: dynamic model (with uploaded db)

2012-02-08 Thread giovanni allegri
PS: I've tried using the auto_import=True option in DAL, but if I try to access any table, eg. db(db['table'].select(), I get KeyErrors On 8 Feb, 09:28, giovanni allegri gioha...@gmail.com wrote: Hi, I'm moving my first steps ith web2py. I'm considering it to setup a REST service where a user

[web2py] Re: dynamic model (with uploaded db)

2012-02-08 Thread Niphlod
auto_import takes the database folder with all the stored files. You can then avoid to do define_tables, because the definitions are on the files auto_imported. This means that you create a db, define_table for every table in one app, and access the same data without re-defining all tables

[web2py] Re: dynamic model (with uploaded db)

2012-02-08 Thread giovanni allegri
Thanks very much. If I understand correctly auto_import will only work for DBs located in the databases/ folder and have associated a .table file, right? While, if my DB is anywhere I still can use it (without auto_import) but setting to False the migration option. I will give it a try... as soon

[web2py] Re: dynamic model (with uploaded db)

2012-02-08 Thread Anthony
On Wednesday, February 8, 2012 8:55:11 AM UTC-5, giovanni allegri wrote: Thanks very much. If I understand correctly auto_import will only work for DBs located in the databases/ folder and have associated a .table file, right? The db itself doesn't have to be in the /databases folder --

[web2py] Re: Dynamic Model

2011-10-01 Thread GoldenTiger
Using Database in the cloud with google spreadsheets makes it easy On 30 sep, 18:34, Richard Vézina ml.richard.vez...@gmail.com wrote: Yes. OrientDB is totally written in Java and can run in any platform without configuration and installation. The full Server distribution is about 1Mb without

[web2py] Re: Dynamic Model

2011-09-30 Thread Lazarof
Hi! You should consider this http://asktom.oracle.com/pls/asktom/f?p=100:11:0P11_QUESTION_ID:10678084117056 On Sep 30, 5:48 am, TheSweetlink yanosh...@gmail.com wrote: I have recently found OrientDBhttp://orientechnologies.com It is a document-graph db that will allow you to evolve

Re: [web2py] Re: Dynamic Model

2011-09-30 Thread Vasile Ermicioi
it is easy to solve using orientdb sql syntax

[web2py] Re: Dynamic Model

2011-09-30 Thread Lazarof
Hi! I am using this model: In tables (say model_table_catalogs and model_table_fields) we keep (change) the model and based on these tables we create the real database. Create or change the real database we do when we summit the configuration. With this always in mind ...

Re: [web2py] Re: Dynamic Model

2011-09-30 Thread Vasile Ermicioi
with orientdb schema less you don't need 'model_table_fields'

[web2py] Re: Dynamic Model

2011-09-30 Thread Lazarof
Orientdb is good, it's in the new NOSQL wave but it's NEW. and we always are looking for all inclusive. This is why we use web2py. On Sep 30, 2:02 pm, Vasile Ermicioi elff...@gmail.com wrote: with orientdb schema less you don't need 'model_table_fields'

Re: [web2py] Re: Dynamic Model

2011-09-30 Thread Vasile Ermicioi
what you want to implement is a graph database read concepts of orientdb and you will see that this is very clear from Massimo's models the time spent to write sql queries for that models could be spent to write an adapter for orientdb and adding some new API I am spending now some time, if I am

Re: [web2py] Re: Dynamic Model

2011-09-30 Thread Phyo Arkar
It will be good if orient is written in C, i dont like java base DBs. I am looking into Mongo. On 9/30/11, Vasile Ermicioi elff...@gmail.com wrote: what you want to implement is a graph database read concepts of orientdb and you will see that this is very clear from Massimo's models the

Re: [web2py] Re: Dynamic Model

2011-09-30 Thread Richard Vézina
Yes. OrientDB is totally written in Java and can run in any platform without configuration and installation. The full Server distribution is about 1Mb without the demo database. http://code.google.com/p/orient/ Richard On Fri, Sep 30, 2011 at 8:37 AM, Phyo Arkar phyo.arkarl...@gmail.comwrote:

[web2py] Re: Dynamic Model

2011-09-28 Thread Jose
http://groups.google.com/group/web2py/browse_thread/thread/99cd6e8d1141336/0670fb6370961c26?lnk=gstq=meta+Jose#0670fb6370961c26

[web2py] Re: Dynamic Model

2011-09-28 Thread Andrew
Exactly Jose, That is what I'm doing for one app. The Table, and Fields are defined in metadata. On Sep 29, 11:31 am, Jose jjac...@gmail.com wrote: http://groups.google.com/group/web2py/browse_thread/thread/99cd6e8d11...