Sounds like you're on the right track.
If you're looking for some direction there's the Framework sample app here (https://github.com/dbhurley/framework-app) and Andrew Eddie has put together a series of introductory tutorials here - (http://learn.theartofjoomla.com/framework-solutions.html)
You can do the same thing in the Framework. Just create your basic model to extend the Joomla\Model\AbstractModel or Jooma\Model\AbstractDatabaseModel.
You were spot on. You would use the Joomla\Form class. This has a method loadFile that allows you to load a form definition from an xml file. I just maintain one xml file for each form object I want to display.
You can get more info about how to create the XML file here: (https://github.com/joomla-framework/form/blob/master/README.md)
Currently you would probably manage the database interaction in your model. The Joomla Framework doesn't have JTable the way the CMS does but something similar has been implemented in the sample app (https://github.com/dbhurley/framework-app/blob/master/App/Table/DefaultDatabaseTable.php). I've been using this in the apps I have been writing.
I have done this in one of the apps I have used the Framework for. The Framework doesn't have a lot of the helpers that the CMS has for back end tabular data (ie. what you would see in something like the com_content table) but the barebones are there. You just need to do things like the pagination and the filtering yourself.
On 26/05/2014, at 10:33 PM, Henk te Sligte <htesligte AT gmail.com> wrote:
Description: Message signed with OpenPGP using GPGMail