How do I without using any legacy structure or classes, use the Joomla feature wich allows you to define forms in an XML file in the folder:
And then import and use these forms in a view? I have tried looking for examples, or even looking at Joomla default components like user and contact. It seems though that these components have a mix of JModelBase and JViewLegacy or JModelLegacy. Therefore, find this all very confusing as a newcomer to Joomla development.
Another thing that would be really helpful that I can't seem to find that would also answer this question is a Fully Joomla 3.x only example component with forms (No legacy material used).