web2py does not have an ORM (object relational mapper), so you won't be creating classes to define models. Instead, web2py has a DAL (database abstraction layer). Different conceptualization/implementation, but mostly the same functionality as an ORM. Instead of defining classes, you create instances of the Table class to define data models (a Table object represents a database table or view). Read the book chapter on the DAL for more details: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer .
Anthony On Monday, October 7, 2013 10:39:36 AM UTC-4, Bapi Roy wrote: > > I am from PHP with good knowledge of MVC. I am new to python and web2py. > > In PHP model is made from class, does same apply to web2py model ? > > Should I design the web2py model as i did in PHP or something I am missing. > > > -- 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/groups/opt_out.

