| 1 | = !BluePrint for Data Model changes to the Messaging Model = |
| 2 | |
| 3 | == S3ChannelTemplateModel == |
| 4 | * Build a class S3ChannelTemplateModel which inherits from S3Model. |
| 5 | * Channel instances inherit from this instead of from S3Model direct. |
| 6 | * All the enable/disable controllers can be converted to custom methods of the Template (& hence all instances) |
| 7 | |
| 8 | == Message Super Entity == |
| 9 | * Make msg_message a [wiki:S3XRC/ModelExtensions/SuperEntities Super Entity] |
| 10 | * Each Channel would have an instance of this super entity which acts as the !InBox and/or !OutBox as-appropriate for that instance type |
| 11 | * The 'Master Message Log' then becomes the view of the super-entity (rather than having to copy messages here) |
| 12 | * Move non-core fields to component tables so that the core tables are uncluttered & fast |
| 13 | |