There should be a note in chapter 4 about class side initialization of TBBlog class. Since it is invoked explicitly by user, class is initialized (and Mongo memory DB) only when this initialized method is called by user. Therefore note to Save image right after initialization in order to persist state of DB, otherwise DB won't be initialized next time image is opened.
Current state:
The ==reset== class method re-initializes the database. The ==initialize== class method ensures that the database is initialized when we load TinyBlog's code. Do not forget to execute expression ==TBBlog initialize== to ensure that the database is initialized.
Proposal to add right after that:
Note: Please save your image right after you evaluated initialize method. Class side initialization is done only when explicitly evaluated by user. Therefore TBBlog initialization might be lost, if you quit the image without saving changes.
There should be a note in chapter 4 about class side initialization of TBBlog class. Since it is invoked explicitly by user, class is initialized (and Mongo memory DB) only when this initialized method is called by user. Therefore note to Save image right after initialization in order to persist state of DB, otherwise DB won't be initialized next time image is opened.
Current state:
Proposal to add right after that:
Note: Please save your image right after you evaluated
initializemethod. Class side initialization is done only when explicitly evaluated by user. Therefore TBBlog initialization might be lost, if you quit the image without saving changes.