Would like some Kendo-specific suggestions or tips to best use the components, mainly in regards to whether or not seperate "create" and "edit" components should be created. The UI im putting together is fairly complex and ill either need to manage the complexity of having almost identical create and edit components, or managing whether or not the user is editing or creating a new object. So, either in general or given the scenario below, would you look at creating separate "create" and "edit" components?
Generally I have been using separate create and edit components when using angular with basic html components. However, I think I should be able to manage a particular object type with just a single component. Eg the Angular.io example managing heros. The example below allows listing and editing a "hero", but not creating a new hero.
example
The UI im about to build involves two grids in a master/detail relation, along with other elements related to the parent object. So the user would come to this screen and start a new DeliveryBucket by entering some basic info about the DeliveryBucket, then adding items to Grid A and for each row in Grid A, they would need to add items to Grid B. Once they have enough to start they could "save" the DeliveryBucket which would persist the data model back to the database via an angular service and api.
The data model looks something like this.
DeliveryBucket
|___Path
|__<Destination>
|__Order
|__<OrderItem>
Where:
- DeliveryBucket will contain a single path
- Path contains one or more Destinations
- Destination contain a single order
- Order contains one or more OrderItem