| | 7 | == Purpose == |
| | 8 | |
| | 9 | The S3Model class defines the framework for data models in Eden. It extends the web2py concept by: |
| | 10 | |
| | 11 | - implicit and lazy model loading |
| | 12 | - an extensible, per-table configuration pattern |
| | 13 | - a meta-model for projected entities (the so-called "resource component model") |
| | 14 | - a meta-model for multi-table keys (the so-called "super-entity model") |
| | 15 | |
| | 16 | 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. |
| | 17 | |
| | 18 | == Concepts == |
| | 19 | |
| | 20 | === Resources === |
| | 21 | |
| | 22 | ''- tbw'' |
| | 23 | |
| | 24 | === Resource Components === |
| | 25 | |
| | 26 | ''- tbw'' |
| | 27 | |
| | 28 | === Resource Configuration === |
| | 29 | |
| | 30 | ''- tbw'' |
| | 31 | |
| | 32 | === Resource Methods === |
| | 33 | |
| | 34 | ''- tbw'' |
| | 35 | |
| | 36 | === Super-Entities === |
| | 37 | |
| | 38 | ''- tbw'' |
| | 39 | |