-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Em 12-02-2014 15:58, Juslin Guo escreveu: > Hi, > > I have an application in PHP with 500 over tables, what's the best way to > managed them in Web2Py, without repeating model definitions nor loading them > all. >
Hi, You can follow this approach: http://www.web2pyslices.com/slice/show/1479/model-less-apps-using-data-models-and-modules-in-web2py Basicly, you move table defenitions from models to modules, only defining tables as needed. - -- Com os melhores cumprimentos, Carlos Correia ========================= MEMÓRIA PERSISTENTE Tel.: 219 291 591 - GSM: 917 157 146 / 967 511 762 e-mail: [email protected] - URL: http://www.memoriapersistente.pt Jabber: [email protected] GnuPG: wwwkeys.eu.pgp.net URL Suporte: https://t5.m16e.com/gps -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlL+zxMACgkQ90uzwjA1SJUPhQCdHJpv8zAT9Op4DPj2uoREswi4 WdAAnivDivp9nuiBhO5Ve5rbp+Rd9Dlr =aYSC -----END PGP SIGNATURE----- -- 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.

