How can I, an end-user-programmer, create a new "CRUD" model in Magento 2? That is, I want to create the PHP class files and XML configuration files that will
- Let me Create, Read, Update and Delete data from a database table
- Let me create the initial database table(s) that will store this information.
In Magento 1 this was handled by a Model, Resource Model, Setup Resource Model, and various nodes in
config.xml. It's not 100% clear how this is handled in Magento 2.
Is there a sample module or clear tutorial out there yet for this? Or is working backwards from an existing core model (like CMS page) our only option?