yes. db.define_table('polygon',SQLField('name')) db.define_table('triangle',db.polygon,SQLField('area'))
db.triangle.name On Nov 20, 3:36 am, mmstud <[EMAIL PROTECTED]> wrote: > I send example by email. File has some rows... > > I also wondered if there is support for table inheritance (separate > tables or same table with class field) and hierachal data structures > in DAL? They are quite often needed yet advanced options on ORM. > > -Marko > > On Nov 20, 2:03 am, mdipierro <[EMAIL PROTECTED]> wrote: > > > If you send me some example of elixir models I can add a layer to > > support them. I did that alredy for Django and SQLAlchemy. > > > Massimo > > > On Nov 17, 1:40 am, mmstud <[EMAIL PROTECTED]> wrote: > > > > Earlier this year i made a web app with Pylons using Elixir as ORM > > > front layer. I got a project lately and browsed to Pylons, Django and > > > Turbogears sites to find, if there are any updates. Finally on some > > > point using Google i found web2py mentioned. I dont remember, that i > > > had read it last year, when i was comparing python web frameworks. But > > > now when i found it, it rapidly raised my own projects of early days > > > doing with PHP. I called designed framework Online Web Application > > > Builder, OWAB. > > > > So you can imagine, that i was surprised and very excited to read > > > web2py and try it. Now im sure, im going to implement my association > > > member management system with web2py, maybe other projects later this > > > and next year, if it goes well. > > > > I have a large set of tables and links defined with Elixir and now im > > > interested to hear, if anyone has tried to make conversion or just > > > used Elixir models in web2py programs? > > > > Other things also came to my mind. Do you have aims to do reverse > > > modeling from database table structures? Some web frameworks has > > > similar features and in some cases it could help development cycle to > > > get models fetched from table structures for futher, detailed work. > > > > Thanks for great active group, > > > -Marko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---