addyosmani / addyosmani/backbone-fundamentals

Possible idea for chapters 3-5

Đang mở
#334 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rich Text Format
Star
9.2k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In my review issue for chapter 3 I mentioned that it was very long. My only comment remaining for chapter 5 would be that we still repeat a lot of ground work in setting up the app, even if we do go through it at a good pace.

One way that we might address this is to restructure chapters 3 to 5 so that they present one long Todo app example.

Chapter 3 deals with setup, dependencies, models and the basics of collections. At the end it should have covered everything on those topics from current chapter 3 while building the relevant parts from the app. The index.html doesn't even contain the templates and the views and router aren't mentioned.

Chapter 4 is events, views and routers.

Chapter 5 is the sync API (starting with localStorage as in the TodoMVC implementation), the Underscore utility methods and the sync API. Then a brief example of creating a node/express/mongodb server to persist to instead of localStorage.

This is just an idea. Its a fairly big change at this late stage and I can't commit to doing it myself (my wife is due to give birth within the next three weeks!)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.