Changes between Version 14 and Version 15 of S3/S3Model


Ignore:
Timestamp:
01/20/14 09:05:06 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified S3/S3Model

    v14 v15  
    2424While web2py executes ''all'' models during every request cycle, {{{S3Model}}} only executes the models needed to process the request.
    2525
    26 That means though that all names (e.g. tables, variables, functions) which are defined in S3Models need to be requested explicitly before they can be used. To facilitate that, a global {{{S3Model}}} instance '''s3db''' serves as model loader.
     26That means though that all names (e.g. tables, variables, functions) which are defined in S3Models need to be requested explicitly before they can be used. To facilitate that, a global {{{S3Model}}} instance [#current.s3db s3db] serves as model loader.
    2727
    2828In web2py, database tables can be accessed from the global '''db''' object: