Actually, PHP doesn't have models. PHP Frameworks do.

But, answering your question, in web2py you don't need classes to
define your models. See in documentation [1].

[1] 
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Record-representation



On Mon, Oct 7, 2013 at 11:39 AM, Bapi Roy <[email protected]> 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.

-- 
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.

Reply via email to