wiki:S3/S3Model

Version 7 (modified by Dominic König, 11 years ago) ( diff )

--

S3Model

Purpose

The S3Model class defines the framework for data models in Eden. It extends the web2py concept by:

  • implicit and lazy model loading
  • an extensible, per-table configuration pattern
  • a meta-model for projected entities (the so-called "resource component model")
  • a meta-model for multi-table keys (the so-called "super-entity model")

Data models can be implemented as subclasses of S3Model, and then loaded on demand - with automatic resolution of cross-model dependencies. This saves processing time as it will always only load those models which are actually needed to process the request.

Concepts

Resources

- tbw

Resource Components

- tbw

Resource Configuration

- tbw

Resource Methods

- tbw

Super-Entities

- tbw


DeveloperGuidelines

Note: See TracWiki for help on using the wiki.