Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
The documenation makes reference to DDD and describes the use of Entities and Aggregate Roots but I can't see an example of the right* way to implement this.
When you generate an Entity (FullyAuditedEntity) with ABP Suite it generates an AppService, Repository, UI and all the other bits for that entity. My understanding (which is far from complete admittedly).
Let's take an example of a simple order form or invoice (not ecommerce). The user creates a new Invoice
(Aggregate Root) and adds LineItem
s to it. This is pretty much the canoncial example of an Aggreagate Root (, right?) and we're told the Invoice should be bring with it the line items, and then you add new items to that Aggregate Root, and then persist the Aggregate Root and it's line items as a whole.
How does this map to the patterns in ABP? Should we use standard EF functionality to Include()
the line items, map those to LineItemDto
s and put a IList<LineItemDto>
on the Invoice aggregate root? Or should we use the service and repository provided when we create the entity?
Thinking specifically about the Angular UI, should we be loading the line items in a separate AJAX call or do they come from the Invoice service?
As a new ABP customer I feel this information is missing from the documentation and that an explanation of this canonical DDD example would be a great addition to the platform.
Thanks, Greg
(I've removed my last response as it was incorrect).
I think this information answers my question for now.
Thanks @armanozak
Hi @arnanozak.
No, I'd like to integrate another theme. The specific theme is not really important, it might be a custom theme or something bought from Theme Forrest (or similar). How do I include CSS and JS for another theme and how to I alter the HTML structure of the various components as needed by the theme.
Another way of thinking about it is how do I build an alternative to the Lepton theme?
Thanks
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
How can I add a custom theme to an ABP app using Angular UI?