Key notes in the presentation:
- Move business logic code (book lister) from controller to model. Controller is then used only for linking variables between model and view, not generating anything on its own.
- Create a separate model dedicated to book gathering from DB and ...
- ... a model / class for a book thus making book an object.
- Looking at an advantage of further utilizing OOP by having each set of related data, in our case a book, as a complete object rather than a linear array.
| < Prev | Next > |
|---|
