Hi all,
I was hoping for some advice and direction on the best way to proceed with CUBA given a complex model but fairly simple browse / edit UI.
I have a model that might be a few levels deep and at the lower levels there are many entities say 20-30
This isn’t my model but I’m just trying to give a simple example so go with it…
School
School has many Grades
Grade has many Classes
Class has many Students
Student has many (addresses, results, parents etc)
In this situation School would be considered a top level Edit Entity. The other entities I guess fall in to what would be considered Compositions (at least they would in the real model) as they don’t really exist in their own right without the parent entity all the way up to School.
What I want to do is create a simple UI for this but I would like to not have to run in to issues with too much data being loaded at the root Top Level Edit screen in the main datasource. I would also like to have some sort of tab sheet with lazy loaded tabs at the Student level to show the child entities in the usual tables.
I don’t know how best to structure the model relationships as either Compositions which they are or Associations for other reasons such as performance?
I’m also unsure if the best approach is to create nested datasources or create all the data as linked datasources in their own right?
Can anyone give me advice on if this type of model will work ok and how best to structure my relationships?
Many thanks