Changes between Version 2 and Version 3 of RESTController
- Timestamp:
- 11/20/09 00:01:20 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RESTController
v2 v3 21 21 This extends the single-table [wiki:BluePrintRESTImplementation REST Implementation]. 22 22 23 A joined resource request is a request to a table ("joined resource" or " component") in dependency of a join to another table ("primary resource" or simply "resource"), e.g.:23 A joined resource request is a request to a table ("joined resource" or "'''component'''") in dependency of a join to another table ("primary resource" or simply "'''resource'''"), e.g.: 24 24 25 25 * the list of addresses (=component) of a person (=resource). … … 27 27 There are different ways how "Joined Resources" can be seen: 28 28 29 a)as subtables of database tables30 b)as structured properties of object classes31 c)as component classes within data compounds29 - as subtables of database tables 30 - as structured properties of object classes 31 - as component classes within data compounds 32 32 33 33 In this implementation, component resources can be joined 1:1 or N:1 to their primary resources, either by natural joins (same key field in both tables) or primary/foreign key matches, where the primary key is always the 'id' field in the primary table.