Data Model Best Practices in Ionic 2


Are there some Best Practices concerning Data Models in Ionic 2 thinking of a MVC layout, maybe connected to some underlying SQLStorage providing a Database Abstraction Layer?

The reason I’m thinking of this, is that I want to save some User data to the SQLStorage. In order to provide some clean and easy to use Interface I am thinking of a User Model (Class with methods) and some functions to interact with the database (save, exit, get, …).

If there is nothing available on this topic, I would just add a model directory under my app folder and simple create a user-model.ts file with the aforementioned functionality.