Commit Graph

16 Commits (1b13bd0e0c4e23d6fa81abca045b3161dd6082ca)

Author SHA1 Message Date
Jason Zhu 1b13bd0e0c Chap02 -> Managing template with jQuery (Bug fixing) 2022-04-21 00:32:44 +10:00
Jason Zhu 9b7f2fefbe Chap02 -> Managing templates with jQuery 2022-04-20 23:53:23 +10:00
Jason Zhu 0e06cb0806 chap02 -> Handling templates with if and ifnot bindings 2022-04-20 23:44:00 +10:00
Jason Zhu 93dae838eb chap02 -> Creating templates -> The order template 2022-04-20 22:33:50 +10:00
Jason Zhu 7256b15da7 chap02 -> Creating template -> The cart template 2022-04-20 22:04:15 +10:00
Jason Zhu a9fdd8d516 chap2 -> Creating templates -> The cart-item template 2022-04-20 21:54:35 +10:00
Jason Zhu 16d677a98c chap02 -> Creating templates -> The cart-widget template (Bug Fix) 2022-04-20 21:38:38 +10:00
Jason Zhu b1fc664fe9 chap02 -> Creating templates -> The cart-widget template 2022-04-20 21:30:56 +10:00
Jason Zhu e52b7bb978 chap2 -> Creating templates -> The catalog template -> part 3
Add CartProduct.js
Add addToCart method in viewmodel
Rename product.js to Product.js
2022-04-19 23:38:16 +10:00
jason.zhu 4b8c3312f0 chap2->Creating templates->The header template 2021-05-27 05:43:48 +00:00
jason.zhu 834316a5a4 chap1->Observables to refresh the UI automatically->Computed observables (optimised) 2021-05-27 04:43:27 +00:00
jason.zhu 48d61e59b9 chap1->observables to refresh the ui automatically->Computed observables (non optimized) 2021-05-27 04:36:59 +00:00
jason.zhu 9cb6be067a chap1->Observables to refresh the UI automatically->Inserting elements in collections
1. Learned with binding for context switch

2. Learned textInput for text binding

3. click binding for event driven
2021-05-27 04:22:28 +00:00
jason.zhu 27dfb6c739 chap1->Observables to refresh the UI automatically->Managing collections with observables
1. Learned what is observableArray

2. Create catalog in viewmodel using observableArray

3. Create foreach databind in html
2021-05-27 03:58:59 +00:00
jason.zhu d7d701f343 chap1->The view-model->The model
1. Create separate model 'Product'
2. Place link to product.js in HTML at correct place
3. Learn & apply Revealing Module Pattern on both Product module and viewmodel
2021-05-27 02:46:22 +00:00
jason.zhu 4e774c2585 chap1->The view-model->The view 2021-05-27 02:03:06 +00:00