23
I am going to build complex application having many different views. Imagine for example eshop solution. There can be a lot of different views:
- Contact page with some static information
- Registration form for new customers
- View of your order
- List of the products
- Details about a product
- ...
Now I am little bit confused, how to build such a complex application using Web UI. I would like to have the HTML templates for the views separated in multiple files and having some logic to determine, which one should be rendered.
Assume I want to have a single master template containing basic things like header and footer, then I have a lot of content templates, these should get injected into the right place inside the master template.
Until now, I have always seen only small single-template examples of using Dart Web UI, so I have no idea, how to achieve this.