The real separation between data and representation is not always an easy task. Learning to divide the core and the GUI into two different projects is good practice; it will force you to design separated layers in your application. At first sight, the Qt model/view system can appear complex. But this chapter taught you how powerful it can be and how easy it is to use. Thanks to the Qt framework, we can persist data in a database without headaches.
This chapter built on top of the foundations we laid with the gallery-core library. In the next chapter, we will reuse the same core library and create a mobile UI with Qt Quick in QML.