I’ve updated my book with the following changes:
I’ve updated this book to remove functionality marked as deprecated since Marionette 2.3.
Please download a copy of the current code base if you plan on continuing to use it: it is temporarily available at github.com/davidsulc/marionette-gentle-introduction/archive/master_old.zip.
The changes are:
`addInitializer` has been removed. Instead, we simply add an event listener for the `start` event. Check out sub-chapter “Adding a router to ContactsApp” (p. 71) for an example.
Regions are no longer used. This lead to the following changes:
In addition, the persistance management code has been revamped. This is for compatibility reasons with the book on testing I’ve started working on (read more about it at leanpub.com/marionette-testing). You can consult the updated code in chapter “Using web storage for persistance” (p. 235).
That’s all for now, I hope you’re enjoying reading!
Fixed some minor typos and updated URLs for some libraries used in the book.
This release fixes a few minor typos.
The book has been updated for Marionette 2.0. Here are the changes made :
In addition, a new feature (`getOptions`) has been covered in the “Handling Data Latency” chapter (or look at commit).
Naturally, this updating process meant all of the Git commits and book content had to be modified and updated, which is extremely error prone. Hours have been spent going through each commit in the book, and the book text itself to make sure everything is in working order. Should some mistakes have crept in, don’t hesitate to report them on the book’s errata page.
That’s all for now, enjoy building your apps!
There was a bug in the app (see github.com/davidsulc), where if you deleted all the contacts and tried creating a new one, the app would throw an error. This was due to using local storage (where we need to specify model ids manually) and incorrectly assuming the contacts collection is populated when computing the highest id.
The code repository has been updated, as well as the code sections in the book refering to it (p. 148 where it gets introduced, and p. 166 where it is displayed again). Please note that YOU MUST UPDATE the book in order for the Git commit references to be correct (and for the links to the online repository to work).
Minor update to fix the Bootstrap site link.
First electronic release.