Collection describe in chapter 5
in chapter 5 this book describe a collection class, it's clear the read data method that use a callback function ( method of StudentFactory ) but is't clear how I can save collection change.
The collection method ( add, remove ) alter the object status but they didn't do anything in DB.
In OOP structure where I can put this code?
If I must insert or delete record from the n:m table link couse and student Object what is the best way to do thi actions?
Thanks a lot