[{"path":"/liff-canvas-toblob-delay","title":"LIFF 產生分享圖片要等 7 秒？一路追到 canvas.toBlob 在 LINE 瀏覽器裡排隊","description":"LIFF 活動頁在入門 Android 手機上產生邀請卡要等 7～10 秒。換掉 html2canvas、壓縮底圖、改輸出 JPEG 都沒用，最後發現是 canvas.toBlob 在 LINE 瀏覽器裡等不到空檔、遲遲不開始編碼，改用 toDataURL 後按下按鈕 38ms 就出圖。","date":"2026-12-02T15:36:53+08:00","updated":null,"tags":["LIFF","LINE","Canvas","Performance"],"categories":["前端開發"],"draft":false,"wordCount":6801,"readingTime":7,"canonical":null,"series":null},{"path":"/csp","title":"CSP 是什麼？用 Content-Security-Policy 限制瀏覽器能執行的程式碼","description":"從一段被注入的 onerror 開始，理解 CSP 怎麼由瀏覽器限制頁面能執行的程式碼與載入的資源，以及 directive、nonce、hash、Trusted Types、Report-Only，和在 Nuxt 用 Nuxt Security 導入的實測結果。","date":"2026-11-21T17:57:05+08:00","updated":null,"tags":["CSP","XSS","Web Security"],"categories":["前端開發","Web 安全"],"draft":false,"wordCount":7162,"readingTime":7,"canonical":null,"series":null},{"path":"/subgrid","title":"Flexbox 對齊不了的卡片內容，CSS Subgrid 怎麼做到？","description":"從巢狀 Grid 的格線錯位到商品卡片案例，比較 Flexbox、一般巢狀 Grid 與 CSS Subgrid 的對齊方式。","date":"2026-11-16T20:46:51+08:00","updated":null,"tags":["CSS Grid","Subgrid","前端排版","切版技巧"],"categories":["CSS","前端開發"],"draft":false,"wordCount":2926,"readingTime":3,"canonical":null,"series":null},{"path":"/XSS","title":"XSS 到底怎麼發生？從瀏覽器執行到 Angular 防護","description":"從實際範例理解 XSS 如何發生，認識反射型、儲存型與 DOM 型 XSS，以及 Angular 提供的防護與前端仍需注意的風險。","date":"2026-11-16T11:37:38+08:00","updated":null,"tags":["XSS","Web Security","Angular"],"categories":["前端開發","Web 安全"],"draft":false,"wordCount":5925,"readingTime":6,"canonical":null,"series":null},{"path":"/cors","title":"CORS 到底在擋什麼？Vue 3 + NestJS 跨來源 Cookie 實作筆記","description":"從同源政策、簡單請求與預檢請求開始，實作 Vue 3 與 NestJS 的 CORS 設定，並說明跨來源 Cookie、withCredentials、HttpOnly、SameSite 與 CSRF 防護。","date":"2026-11-13T13:19:26+08:00","updated":null,"tags":["CORS","Vue 3","NestJS","Cookie","Web Security"],"categories":["前端開發","Web 安全"],"draft":false,"wordCount":8030,"readingTime":8,"canonical":null,"series":null},{"path":"/ithome-2026-day-30","title":"Day 30：Angular Router Providers 與生命週期管理，路由離開後 Service 會銷毀嗎？","description":"平常在 Angular 中，我們可以透過 providers 決定 Service 的注入範圍。例如註冊在 Root，讓整個 Application 共用同一個實例；或註冊在 Component，讓 Service 隨著…","date":"2026-10-14T14:46:39+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7227,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10424222","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":30}},{"path":"/ithome-2026-day-29","title":"Day 29：Angular 也有 VueUse？使用 Signality 整合常見 Browser API","description":"在 Vue 生態系中，VueUse 提供許多 Composables，讓我們可以快速使用瀏覽器功能，例如監聽網路狀態、保存使用者設定，或偵測元素是否進入可視範圍。","date":"2026-10-13T23:14:18+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6387,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10424070","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":29}},{"path":"/ithome-2026-day-28","title":"Day 28：Angular 動態建立 Component，NgComponentOutlet 與 ViewContainerRef","description":"平常在 Angular 中使用 Component，通常會直接在 Template 裡面宣告：","date":"2026-10-12T17:27:41+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6565,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10423641","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":28}},{"path":"/ithome-2026-day-27","title":"Day 27：NgRx Store vs SignalStore，從 Action、Reducer 到直接更新 State","description":"前幾天我們使用 NgRx SignalStore 實作購物車，透過 withState() 管理商品資料、withComputed() 計算總金額，再利用 withMethods() 與 patchState() 更新 …","date":"2026-10-11T20:06:41+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7308,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10423362","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":27}},{"path":"/ithome-2026-day-26","title":"Day 26：SignalStore 與 Strategy Pattern，透過 DI 動態切換業務邏輯","description":"昨天我們使用 Angular 原生 Signal 與 NgRx SignalStore 實作購物車，透過 State 管理商品資料，再利用 Computed 計算商品數量與總金額。","date":"2026-10-10T22:01:59+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7347,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10423116","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":26}},{"path":"/ithome-2026-day-25","title":"Day 25：Angular SignalStore，原生 Signal 不夠用嗎？","description":"在 Angular 開發中，如果資料只會被單一 Component 使用，通常可以直接透過 signal() 管理。但當多個 Component 需要共用同一份資料時，就得考慮狀態應該放在哪裡。","date":"2026-10-09T21:28:45+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":9117,"readingTime":9,"canonical":"https://ithelp.ithome.com.tw/articles/10422784","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":25}},{"path":"/ithome-2026-day-24","title":"Day 24：SPA Router 為什麼不再只靠 History API？","description":"平常使用 Angular Router 時，可以透過 routerLink 或 router.navigate() 切換不同頁面。","date":"2026-10-08T14:30:47+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6330,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10422348","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":24}},{"path":"/ithome-2026-day-23","title":"Day 23：RouteReuseStrategy，切換路由一定要銷毀 Component 嗎？","description":"在後台系統中，很常會看到頁籤式介面，例如：","date":"2026-10-07T15:58:32+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7361,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10422016","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":23}},{"path":"/ithome-2026-day-22","title":"Day 22：Angular Render Lifecycle，從 afterNextRender 到 DestroyRef","description":"過去在 Angular 中，只要遇到初始化、View 建立或資源清理，通常會先想到 Lifecycle Hooks：","date":"2026-10-06T23:36:23+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":8111,"readingTime":8,"canonical":"https://ithelp.ithome.com.tw/articles/10421810","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":22}},{"path":"/ithome-2026-day-21","title":"Day 21：Angular Template 還適合呼叫 Method 嗎？從 Pipe、RxJS 到 computed","description":"過去在寫 Angular 時，因為 Template 可以直接呼叫 Method，很容易在專案裡看到大量這樣的寫法。","date":"2026-10-05T23:30:32+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5431,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10421425","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":21}},{"path":"/ithome-2026-day-20","title":"Day 20：Signal Forms 非同步驗證，validateHttp 與 validateAsync","description":"前兩篇介紹了 Signal Forms 的基本驗證，以及需要參考其他欄位的 Cross-field Validation。","date":"2026-10-04T20:56:17+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4278,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10420910","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":20}},{"path":"/ithome-2026-day-19","title":"Day 19：Signal Forms Cross-field Validation 與欄位更新時機","description":"上一篇介紹 Signal Forms 時，已經看到可以透過 Schema 定義欄位驗證，例如 required()、email()、minLength()。","date":"2026-10-03T23:18:26+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":3783,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10420631","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":19}},{"path":"/ithome-2026-day-18","title":"Day 18：Angular Signal Forms 穩定了，跟我們用了這麼久的 Reactive Forms 到底差在哪？","description":"在 Angular 中處理表單，很多專案使用的都是 Reactive Forms。","date":"2026-10-02T23:28:36+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5886,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10420249","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":18}},{"path":"/ithome-2026-day-17","title":"Day 17：effect() 不是拿來同步 Signal 的，Angular 的 Side Effect 該怎麼寫？","description":"effect() 是 Angular signal 裡很容易被誤用的一個 API。因為寫法直覺，只要讀取 signal，就能在值改變時執行一些事情，所以很常被拿來同步狀態、打 API，甚至再去修改其他 signal。","date":"2026-10-01T21:22:13+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6473,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10419779","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":17}},{"path":"/ithome-2026-day-16","title":"Day 16：即將登場的 Route Resources，Angular Router 為什麼需要新的資料載入方式？","description":"過去在 Angular Router 中，如果希望進入 Component 前先完成資料載入，可以透過 Resolver，讓資料取得流程在 Component 初始化之前執行。","date":"2026-09-30T23:12:05+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6534,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10419409","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":16}},{"path":"/ithome-2026-day-15","title":"Day 15：搞懂 Injection Context，從 inject()、runInInjectionContext() 到 injectAsync()","description":"前面提到 Injection Context 時，可能會讓人聯想到先前介紹過的 Reactive Context。我一開始也有點搞混，因此花了一些時間重新理解 Angular 裡這些不同的執行環境。","date":"2026-09-29T13:44:28+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6986,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10418752","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":15}},{"path":"/ithome-2026-day-14","title":"Day 14：Lazy Loading 不只一種，從 Router Preloading、@defer 到 injectAsync()","description":"當 Client Side Rendering 的應用越來越大時，我們通常會開始思考，能不能把原本一次載入的內容拆得更小，等到真正需要時再下載，避免初始載入過多 JavaScript，拉長畫面呈現的時間。","date":"2026-09-28T22:44:46+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7674,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10418485","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":14}},{"path":"/ithome-2026-day-13","title":"Day 13：從 Router Event 到 Signal","description":"路由狀態管理在前端開發中比較少被單獨拿出來討論，但在 Angular 裡，一次路由導航其實會經過不少階段，也會在過程中發出不同的 Router Event，例如 NavigationStart、NavigationEnd…","date":"2026-09-27T20:37:55+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":7777,"readingTime":8,"canonical":"https://ithelp.ithome.com.tw/articles/10417948","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":13}},{"path":"/ithome-2026-day-12","title":"Day 12：從 httpResource 到 TanStack Query，認識 Server State","description":"前面我們花了不少時間討論，為什麼「請求本身的狀態」和「元件的顯示狀態」應該分開處理。","date":"2026-09-26T23:35:12+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5119,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10417614","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":12}},{"path":"/ithome-2026-day-11","title":"Day 11：用 rxResource 串起 Observable 與 Resource","description":"前面介紹了不少 Resource 到 httpResource() 的應用。不過在 Angular 開發中，Observable 與 RxJS 仍然是很常見的非同步資料處理方式，像是 switchMap、map、debo…","date":"2026-09-25T22:42:04+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4908,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10417143","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":11}},{"path":"/ithome-2026-day-10","title":"Day 10：linkedSignal 讓相依狀態也能被修改","description":"昨天我們透過 httpResource() 搭配 chain() 處理兩個非同步資料之間的依賴。下游 Request 需要使用上游資料時，會等上游完成後再繼續；當 Request 的來源改變，Resource 的狀態也會…","date":"2026-09-24T23:49:49+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5623,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10416746","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":10}},{"path":"/ithome-2026-day-09","title":"Day 9：httpResource 實務篇，統一回覆格式與 chain 相依請求","description":"昨天我們透過 Orval 串起 API Contract，了解如何根據 OpenAPI 規格產生前端需要的型別與 API 呼叫方式。","date":"2026-09-23T23:42:40+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4358,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10416227","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":9}},{"path":"/ithome-2026-day-08","title":"Day 8：用 Orval 串起 Angular API Contract，同時產生 HttpClient、httpResource 與 Zod","description":"前後端在對接 API 時，常見的問題之一，就是雙方對資料格式的定義逐漸不一致。","date":"2026-09-22T23:48:12+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4451,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10415694","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":8}},{"path":"/ithome-2026-day-07","title":"Day 7：從 Resource 到 httpResource，用 Signal 管理 HTTP 資料請求","description":"昨天我們提到，Resource API 本身是一套通用的非同步資料模型，比較適合用在「讀取資料」這類情境，而不是新增、修改或刪除資料這種 Mutation 操作。","date":"2026-09-21T22:13:18+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":6735,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10415038","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":7}},{"path":"/ithome-2026-day-06","title":"Day 6：Resource API，把非同步資料帶進 Signal","description":"今天來看 Angular Signal 裡一個很重要的非同步資料 API：Resource API。","date":"2026-09-20T19:25:37+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5054,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10414377","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":6}},{"path":"/ithome-2026-day-05","title":"Day 5：從 Reactive Graph 到 View Tree，看 Angular 如何找到真正需要更新的畫面","description":"前面我們已經知道，當 Signal 的值發生變化後，Angular 會透過 Reactive Graph 找到受到影響的 Consumer。","date":"2026-09-19T20:19:47+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4364,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10413852","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":5}},{"path":"/ithome-2026-day-04","title":"Day 4：Angular 怎麼知道誰正在讀 Signal？從 Reactive Context 理解依賴追蹤","description":"前面我們看過，當 Template 讀取 Signal 時，Angular 會記住「誰依賴了誰」；當 Signal 發生變化後，也會透過 Reactive Graph 通知相關的 Consumer。","date":"2026-09-18T21:58:16+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4894,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10413313","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":4}},{"path":"/ithome-2026-day-03","title":"Day 3：從 set()、update() 看懂 Angular Signal 的基本使用與更新機制","description":"昨天我們先試著理解，在 Template 中使用 Signal() 時，Angular 是如何建立依賴關係，並在 Signal 發生變化後，知道哪些 View 可能受到影響。","date":"2026-09-17T23:08:58+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":5451,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10412826","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":3}},{"path":"/ithome-2026-day-02","title":"Day 2：Angular Signal 是什麼？從 Change Detection 理解它的運作原理","description":"傳統 Angular 在監測資料變化時，通常會搭配 zone.js。像是 DOM 事件、Promise、Timer、HTTP 請求這些非同步操作發生時，zone.js 會幫忙攔截。","date":"2026-09-16T20:19:12+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":4276,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10411944","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":2}},{"path":"/ithome-2026-day-01","title":"Day 1：為什麼想聊 Angular Signal？","description":"相信講到前端框架，大家第一時間想到的通常會是 Vue、React，甚至也有人會推薦 Svelte 這類近年討論度很高的框架。但一講到 Angular，很多人的第一印象可能就像看到一座大城堡一樣：東西很多、規則很多，一時之…","date":"2026-09-15T23:56:26+08:00","updated":null,"tags":["iThome 鐵人賽","2026 鐵人賽","Angular"],"categories":["iThome 鐵人賽","Angular"],"draft":false,"wordCount":1478,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10411425","series":{"name":"2026 iThome 鐵人賽：Angular 22 Signal 進化論","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/9939","day":1}},{"path":"/TS-Excess-Property-Checks","title":"TypeScript 踩坑筆記：物件字面量的多餘屬性檢查機制","description":"深入探討 TypeScript 的多餘屬性檢查（Excess Property Checks）機制，解析物件字面量與變數賦值的型別檢查差異，並提供實務開發中避免型別陷阱的最佳實踐方法。","date":"2026-01-31T16:29:23+08:00","updated":null,"tags":["Excess Property Checks","Structural Typing","Type Safety","NestJS"],"categories":["TypeScript"],"draft":false,"wordCount":3551,"readingTime":4,"canonical":null,"series":null},{"path":"/ithome-2025-day-30","title":"Day 30：開發之旅完結 - 感謝與展望","description":"終於來到鐵人賽的最後一天！這是我第二次參加鐵人賽，今年的主題是 LINE Bot 開發。這個主題源自於我參加的十二週讀書會分享，當時我發現大家對 LINE Bot 很感興趣，而我自己也一直很喜歡這個主題，於是早在六月就定…","date":"2025-10-13T20:11:12+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":1751,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10396850","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":30}},{"path":"/ithome-2025-day-29","title":"Day 29：LIFF 會員註冊 - 信箱驗證與 Swagger 文件整合","description":"延續 Day 28 會員註冊的流程，在實際的會員註冊場景中，電子信箱驗證是確保用戶身份真實性的重要環節。本篇將基於昨天的註冊流程，新增兩個核心 API：發送驗證信與驗證驗證碼，讓會員註冊功能更加完整且安全。","date":"2025-10-12T23:15:00+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","LIFF","NestJS","Swagger"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":6089,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10396512","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":29}},{"path":"/ithome-2025-day-28","title":"Day 28：LIFF 會員註冊 - ID Token 驗證與資料庫整合","description":"今天的開發重點是建立會員卡系統，將 LIFF 前端與 NestJS 後端完整串接。","date":"2025-10-11T22:57:29+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","LIFF","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":5254,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10396146","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":28}},{"path":"/ithome-2025-day-27","title":"Day 27：群組事件與檔案訊息接收","description":"今天主要補充 LINE Bot 在群組中的專屬特性，包括群組限定的 Webhook 事件，以及前面提到但尚未說明的第 7 種訊息類型 file 檔案訊息。","date":"2025-10-10T21:01:52+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2888,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10395785","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":27}},{"path":"/ithome-2025-day-26","title":"Day 26：LINE Pay 線上付款","description":"LINE Pay 提供兩種付款方式：線上付款與實體付款。實體付款主要採用店家出示條碼的模式，顧客掃描後即可輸入金額完成付款。這兩種付款方式都支援在沙盒(Sandbox)環境中進行測試。本文將著重說明線上付款的整合流程。","date":"2025-10-09T23:39:32+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Pay"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4876,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10395481","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":26}},{"path":"/ithome-2025-day-25","title":"Day 25：優惠券設定與 Coupon Message 實作","description":"LINE Official Account 的「優惠券」是提升顧客互動與忠誠度的重要功能。透過獎勵機制，不僅能吸引新客，更能有效促進回購。","date":"2025-10-08T23:49:32+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":3207,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10395076","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":25}},{"path":"/ithome-2025-day-24","title":"Day 24：LIFF 刮刮樂實戰體驗","description":"在了解 LIFF 的基礎設計流程後，本文將透過「刮刮樂」案例示範 LIFF API 的實際應用。從啟動時檢查權限與執行環境、確認用戶分享功能權限，到刮刮樂結束後發送訊息並關閉 LIFF，完整呈現 LIFF 在互動應用中的…","date":"2025-10-07T22:36:58+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","LIFF"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4200,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10394618","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":24}},{"path":"/ithome-2025-day-23","title":"Day 23：LIFF 網頁應用開發入門","description":"在鐵人賽前半段，我們深入探討了 LINE Bot 的兩大核心功能：Richmenu(選單設置)與各種 Reply Message(回覆訊息)的訊息類型。然而在實務應用中，若要提供更豐富的互動體驗，Line 往往需要搭配 …","date":"2025-10-06T23:06:57+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","LIFF"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4400,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10394035","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":23}},{"path":"/ithome-2025-day-22","title":"Day 22：Render 雲端平台部署 Nest 後端伺服器","description":"今天的目標是將系統正式上線。經過這段時間的開發，我們已完成 Line Message API 的核心功能與日誌處理機制。","date":"2025-10-05T22:52:11+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":1895,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10393809","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":22}},{"path":"/ithome-2025-day-21","title":"Day 21：Nest Pino 整合 Grafana Loki 日誌","description":"Loki 環境變數可參考 Day 20 文章的 Grafana Data Source settings 設定","date":"2025-10-04T17:24:26+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2740,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10393305","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":21}},{"path":"/ithome-2025-day-20","title":"Day 20：Grafana Loki 日誌服務 - 從申請到 API 串接測試","description":"目前已經理解了 LINE Messaging API 的核心功能，包括如何接收訊息、串接第三方服務，以及發送多種類型的訊息。接下來，我們將把原本架設在 ngrok 的後端伺服器，透過 GitHub 自動化部署到 Rend…","date":"2025-10-03T23:16:16+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2461,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10392910","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":20}},{"path":"/ithome-2025-day-19","title":"Day 19：Flex Message Carousel 食譜分享","description":"Flex Message 可以分成 bubble(單張卡片) 跟 carousel(多張卡片輪播) 兩種方式，昨天示範了 bubble 格式的電子個人名片後，今天主要展示 carousel 的應用，兩者的基本結構大致相同…","date":"2025-10-02T16:06:17+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2267,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10392256","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":19}},{"path":"/ithome-2025-day-18","title":"Day 18：Flex Message 設計個人名片","description":"從基礎的文字互動開始，我們逐步探索了六大核心訊息類型的發送機制、Template Message 的結構化設計，以及 ImageMap Message 的互動式體驗。今天，我們將進入 LINE Bot 最具彈性的訊息格式…","date":"2025-10-01T17:57:47+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4468,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10391723","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":18}},{"path":"/ithome-2025-day-17","title":"Day 17：ImageMap Message  從互動海報到影片嵌入","description":"在 Day 16 文章中，我們使用 Cloudflare Workers 實作了圖片代理功能。到目前為止，我們已經完成以下準備工作:","date":"2025-09-30T11:58:32+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4807,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10391164","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":17}},{"path":"/ithome-2025-day-16","title":"Day 16：Cloudflare Workers 圖片代理實作","description":"在 Day 15 文章中，我們處理了 ImageMap Message 的背景圖，接著我們遇到了圖片不能出現副檔名及動態路徑支援不同解析度的問題。今天主要會透過 Cloudflare Workers 來解決這兩個問題，讓…","date":"2025-09-29T16:15:41+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":3412,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10390567","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":16}},{"path":"/ithome-2025-day-15","title":"Day 15：共通屬性處理優化及 Imagemap  圖片製作","description":"針對 Day 14 的程式碼架構進行優化。由於 Sender 和 Quick Reply 功能在所有回覆訊息類型中都能使用，我們應該將這些共用屬性抽取為獨立函數進行統一處理。","date":"2025-09-28T21:03:38+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4033,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10389697","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":15}},{"path":"/ithome-2025-day-14","title":"Day 14：LINE Bot Template Message 訊息回覆","description":"經過前幾天的學習，我們已經成功掌握了 LINE Bot 六大基礎訊息類型的發送技巧，為訊息互動奠定了穩固的基礎。今天，我們將踏入更具挑戰性的進階應用領域！","date":"2025-09-27T15:54:06+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":6372,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10388976","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":14}},{"path":"/ithome-2025-day-13","title":"Day 13：LINE Bot 客製化 Sender 與 Quick Reply 功能實作","description":"LINE Bot 所有回覆訊息類型都具備「共用屬性」功能，這些屬性帶來兩項重要的互動體驗提升：","date":"2025-09-26T11:41:34+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4426,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10388037","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":13}},{"path":"/ithome-2025-day-12","title":"Day 12：LINE Bot Image、Video、Audio、Location 訊息回覆","description":"Day 11 文章中，我們針對 LINE Bot 可以回覆的Text及Sticker基礎型別進行了封裝，不僅新增了 line-message.ts模組，還讓開發者可以用最少的參數產生 LINE Message 所需要的格…","date":"2025-09-25T18:08:09+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2977,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10387598","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":12}},{"path":"/ithome-2025-day-11","title":"Day 11：LINE Bot Text Emoji 與 Sticker 訊息回覆","description":"目前我們的 LINE Bot 主要使用 Text 方式回覆訊息。今天將探討 Text 類型的 Emoji 應用，以及 Sticker 回覆方式，基於 Day 8 版本進行改寫。","date":"2025-09-24T23:21:11+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","NestJS","Line Bot"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":5659,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10386993","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":11}},{"path":"/ithome-2025-day-10","title":"Day 10：LINE Rich Menu Switch Action 提升使用者體驗","description":"在 Day 9 文章中，我們結合 LINE 平台的功能，將天氣服務與圖片上傳服務整合，打造出第一張 LINE 圖文選單，透過 URI action 的方式觸發平台提供的互動效果。接著，我們使用客製化選單製作出 9 格的客…","date":"2025-09-23T15:02:57+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2906,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10386165","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":10}},{"path":"/ithome-2025-day-09","title":"Day  9：打造 LINE Rich Menu - 後台設計 vs API 客製化","description":"在 Day8 文章中，我們透過整合雲端服務 Cloudinary，學習如何處理使用者上傳的圖片檔案，並將其儲存至雲端。然而，LINE Bot 除了讓使用者輸入文字回覆的方式之外，更常見的是透過圖文選單(Rich Menu…","date":"2025-09-22T21:54:25+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":3285,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10385658","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":9}},{"path":"/ithome-2025-day-08","title":"Day 8：Cloudinary 雲端圖片儲存整合","description":"在 Day 6 中，我們透過整合 OpenWeatherMap API 與座標位置訊息學習了如何結合第三方服務。今天將探索 Cloudinary 雲端服務，解決 LINE 圖片資源會過期的問題，學習如何透過 LINE M…","date":"2025-09-21T23:13:19+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":7215,"readingTime":7,"canonical":"https://ithelp.ithome.com.tw/articles/10384968","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":8}},{"path":"/ithome-2025-day-07","title":"Day 7：Joi 環境變數統一驗證，重構 LINE Bot 天氣服務模組","description":"在 Day 6 開發 LINE Bot 結合 OpenWeatherMap API 的過程中，我們採用私有方法將 API 請求處理與資料格式化整合在一起。今天將對 Day 6 的實作進行架構重構，主要目標是建立更完善的環…","date":"2025-09-20T23:07:08+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":5157,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10384302","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":7}},{"path":"/ithome-2025-day-06","title":"Day 6：整合第三方 API 天氣查詢服務","description":"Day 5 帶大家了解 LINE Bot 能接收使用者傳遞的「6+1」種訊息類型。之所以這樣強調，是因為 File 類型僅能在群組聊天中使用，這個限制我自己也經常忘記，所以習慣用「6+1」來提醒自己。","date":"2025-09-19T21:07:47+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":3892,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10383636","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":6}},{"path":"/ithome-2025-day-05","title":"Day 5：整合 Pino Logger 提升 LINE Bot 專案的可維護性","description":"看著專案逐漸成型，現在該開始重視日誌記錄的規劃了。在實際部署時，我們通常會區分 develop(開發環境)和 production(正式環境)兩種不同的執行環境，針對不同環境採用相應的日誌策略。","date":"2025-09-18T23:30:00+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":4746,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10382298","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":5}},{"path":"/ithome-2025-day-04","title":"Day 4：掌握 LINE Bot 七種訊息類型與 NestJS 架構優化","description":"目前我們都只使用 LINE Message Event 中的純文字(text)格式進行回覆，但除了純文字之外，LINE Bot 後端伺服器其實可以接收多種不同類型的訊息。今天就讓我們一起來深入了解這些訊息類型吧！","date":"2025-09-17T22:53:37+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":5828,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10381651","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":4}},{"path":"/ithome-2025-day-03","title":"Day 3：Webhook 簽章驗證與訊息回覆策略(Push & Reply)","description":"上一篇帶大家透過「Webhook 模式」成功架設了專屬的 LINE Bot 代理人。相信大家在體驗基礎功能後，對於 LINE Bot Webhook 還能監聽哪些事件、支援哪些類型的訊息回覆，以及如何確保後端收到的訊息確…","date":"2025-09-16T21:53:39+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":5360,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10381303","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":3}},{"path":"/ithome-2025-day-02","title":"Day 2：從 Webhook 到後端，打造你的專屬機器人","description":"上一篇，帶大家透過「Chat 模式」，讓自身變成客服機器人的方式。這篇會從「Webhook 模式」切入，並以 NestJS 作為後端框架，教你如何在休息時間，也能讓後端伺服器當你的替身幫你解惑使用者的問題。","date":"2025-09-15T21:20:49+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":6590,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10380524","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":2}},{"path":"/ithome-2025-day-01","title":"Day 1：Hello World LINE Bot","description":"每個程式語言的開始通常都會以練習 Hello World！作為一個簡單的起手式，LINE Bot 也不意外。這一系列會著重在 LINE Bot 的相關應用，帶大家用輕鬆的方式一起建立屬於自己的 Line Bot 聊天機器…","date":"2025-09-14T22:48:33+08:00","updated":null,"tags":["iThome 鐵人賽","2025 鐵人賽","Line Bot","NestJS"],"categories":["iThome 鐵人賽","Line Bot"],"draft":false,"wordCount":2723,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10379895","series":{"name":"2025 iThome 鐵人賽：Line Bot × NestJS：30 天開發日記","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/8779","day":1}},{"path":"/dbdiagram-tool","title":"關聯式資料庫設計必備 - dbdiagram.io ERD 繪圖工具","description":"還在煩惱如何設計關聯式資料表實體關聯圖嗎？ 使用 dbdiagram.io 加快你與同事之間的距離","date":"2024-11-05T20:18:24+08:00","updated":null,"tags":["ERD","dbdiagram.io","DBML","資料庫設計"],"categories":["Database","開發工具"],"draft":false,"wordCount":3982,"readingTime":4,"canonical":null,"series":null},{"path":"/PostgreSQL-1","title":"前端勇士大闖六角後端體驗營 - 初探 PostgreSQL DML 語法","description":"初步踏入後端的世界，了解何謂後端以及資料庫常見語法 DDL、DML。","date":"2024-10-30T22:43:49+08:00","updated":null,"tags":["PostgreSQL","SQL","DML","DDL","資料庫","六角學院"],"categories":["Database","後端實戰","學習心得"],"draft":false,"wordCount":5220,"readingTime":5,"canonical":null,"series":null},{"path":"/css-flex-1","title":"CSS flex 軸線對齊技巧 - 預設屬性","description":"CSS flex 排版技巧你都了解了嗎？回歸學習初心的認識 flex 預設屬性","date":"2024-10-24T20:29:08+08:00","updated":null,"tags":["Flexbox","前端排版","切版技巧"],"categories":["CSS","前端開發"],"draft":false,"wordCount":1856,"readingTime":2,"canonical":null,"series":null},{"path":"/ithome-2024-day-30","title":"Vue 3 用實作帶你看過核心概念 - Day 30：新手村的鐵人證書 - 完賽心得","description":"花了整整半年左右的時間，每天下班都很用心的準備範例或是看書，這一段旅程對我來說真的很重要。擔心、害怕跟不安的心情一直充斥自己心中，擔心寫錯或是寫不好，想讓自己再多準備久一點再開始，所以拖到中秋連假才開始，想下定決心讓自己…","date":"2024-10-13T12:42:25+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":1381,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10367206","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":30}},{"path":"/ithome-2024-day-29","title":"Vue 3 用實作帶你看過核心概念 - Day 29：Composables(組合式函數)","description":"Composables是 Vue 3 中的一個重要概念，它是利用 Vue 的 Composition API 來創建和管理可重用的有狀態邏輯的函數。Composables 允許我們將組件邏輯抽象成可重用的函數，使得代碼更…","date":"2024-10-12T15:07:55+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API","Composition API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4233,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10366865","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":29}},{"path":"/ithome-2024-day-28","title":"Vue 3 用實作帶你看過核心概念 - Day 28：官方 Vue Router 的應用與技巧","description":"路由設定方式，一般可以分成兩種：","date":"2024-10-11T17:14:44+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API","Vue Router"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4095,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10366520","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":28}},{"path":"/ithome-2024-day-27","title":"Vue 3 用實作帶你看過核心概念 - Day 27：VeeValidate 表單驗證工具","description":"在開發 Vue 應用程式時，表單驗證至關重要，它能確保使用者輸入的資料符合預期的格式和要求。今天來介紹一款專門用於 Vue 的表單驗證工具—VeeValidate v4。這個工具不僅能幫助開發者輕鬆實現表單驗證，還提供了…","date":"2024-10-10T21:02:16+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4461,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10366165","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":27}},{"path":"/ithome-2024-day-26","title":"Vue 3 用實作帶你看過核心概念 - Day 26：KeepAlive 與 Teleport 內置組件","description":"預設情況下，切換組件會導致組件的創建及銷毀，無法保持組件內部的狀態。","date":"2024-10-09T18:50:53+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3158,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10365724","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":26}},{"path":"/ithome-2024-day-25","title":"Vue 3 用實作帶你看過核心概念 - Day 25：自定義指令(Custom Directives)","description":"Vue不僅提供了豐富的內置指令用於操作DOM元素，還允許開發者創建自定義指令。透過自定義指令，我們可以對DOM元素進行更細緻的控制，並在指令的不同生命週期階段執行特定的邏輯，從而實現更靈活的功能擴展。","date":"2024-10-08T22:05:32+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3116,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10365355","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":25}},{"path":"/ithome-2024-day-24","title":"Vue 3 用實作帶你看過核心概念 - Day 24：異步加載(Lazy loading)","description":"在大型項目中，我們通常需要將應用拆分為更小的代碼模塊，並僅在需要時才從服務器加載相關組件，以減少初次加載的資源量。Vue 提供了 defineAsyncComponent 方法來實現組件的異步加載，這樣可以有效提高應用的…","date":"2024-10-07T20:28:27+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2171,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10364861","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":24}},{"path":"/ithome-2024-day-23","title":"Vue 3 用實作帶你看過核心概念 - Day 23：依賴注入( Provide-Inject )","description":"在Dayxx中提到過，父子組件之間的數據傳遞可以通過props來實現。然而，當祖孫層組件需要進行數據傳遞時，中間層級的組件可能並不需要這個props，但卻不得不為了使子組件獲取數據而被迫傳遞。","date":"2024-10-06T15:14:51+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3183,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10364252","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":23}},{"path":"/ithome-2024-day-22","title":"Vue 3 用實作帶你看過核心概念 - Day 22：v-slot 插槽使用","description":"先前Day 18中提到父組件可以通過props將參數資料傳遞給子組件進行渲染，這樣可以有效地將資料處理與畫面渲染的工作分開。然而，當我們需要更加客製化的呈現內容，由父組件來控制子組件的部分顯示時，可以使用v-slot 指…","date":"2024-10-05T12:32:51+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4292,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10363713","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":22}},{"path":"/ithome-2024-day-21","title":"Vue 3 用實作帶你看過核心概念 - Day 21： 組件透傳屬性(Attributes)的應用","description":"當父組件向子組件傳遞屬性或監聽器，而這些屬性未在子組件中定義為props或emits時，它們會自動繼承並附加到子組件的根元素上，常見的屬性包括class、style、id等。這些屬性可以透過$attrs屬性訪問並進行操作…","date":"2024-10-04T22:42:54+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2146,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10363469","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":21}},{"path":"/ithome-2024-day-20","title":"Vue 3 用實作帶你看過核心概念 - Day 20：組件使用 v-model 雙向綁定","description":"在Day 13中，我們介紹了表單元素（例如輸入框）如何處理數據雙向綁定。當需要將表單元素與一個響應式變數綁定時，v-model提供雙向綁定功能。這代表當畫面上表單元素的變動會即時影響Vue數據，同時當Vue數據的值改變時…","date":"2024-10-03T23:40:48+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":5191,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10362957","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":20}},{"path":"/ithome-2024-day-19","title":"Vue 3 用實作帶你看過核心概念 - Day 19：子組件向父組件發射事件 - emits","description":"組件可以通過$emit(functionName, params)自定義事件名稱並傳遞參數。自定義事件名稱建議使用kebab-case來命名自定義事件名稱，以確保命名風格與HTML 屬性一致性。此外，自定義事件還支持事件…","date":"2024-10-02T15:51:16+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2877,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10362144","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":19}},{"path":"/ithome-2024-day-18","title":"Vue 3 用實作帶你看過核心概念 - Day 18：父組件向子組件傳值 - props","description":"組件之間的傳值必須透過聲明 props 的方式，這樣可以避免與HTML的屬性(attribute)混淆。父組件傳遞參數給子組件的方式有以下兩種方式：","date":"2024-10-01T22:28:48+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":5782,"readingTime":6,"canonical":"https://ithelp.ithome.com.tw/articles/10361721","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":18}},{"path":"/ithome-2024-day-17","title":"Vue 3 用實作帶你看過核心概念 - Day 17：組件基礎 - 全局註冊與區域註冊","description":"在 Day 5 我們提到可以將應用拆分為根組件和多個組件實例，並將功能模塊化。","date":"2024-09-30T23:30:10+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2954,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10361253","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":17}},{"path":"/ithome-2024-day-16","title":"Vue 3 用實作帶你看過核心概念 - Day 16：使用 ref 屬性引用模板元素","description":"雖然 Vue 透過模板幫助我們處理了大部分的DOM 操作，但在某些情況下，仍然需要手動操作 DOM。例如，在使用第三方套件（如 Bootstrap 的 Modal）時，或者需要調用像video.play()和video.…","date":"2024-09-29T16:25:45+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4608,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10360419","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":16}},{"path":"/ithome-2024-day-15","title":"Vue 3 用實作帶你看過核心概念 - Day 15：監聽器(Watchers)","description":"在響應式狀態變化時執行特定操作，需要使用watch 監聽器。這些操作可能包含副作用 (side effects)，如發送請求、調用 API，或更新 DOM 以外的系統狀態，亦或是處理自定義的邏輯。","date":"2024-09-28T18:30:31+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4468,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10359958","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":15}},{"path":"/ithome-2024-day-14","title":"Vue 3 用實作帶你看過核心概念 - Day 14：生命週期鉤子(Lifecycle Hooks)","description":"在 Vue 中，當一個組件創建時，它會經歷一系列的流程，這些流程決定了組件從初始化到渲染，再到最終銷毀的過程。","date":"2024-09-27T21:57:32+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3780,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10359419","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":14}},{"path":"/ithome-2024-day-13","title":"Vue 3 用實作帶你看過核心概念 - Day 13：v-model 雙向綁定控制 - 常用於表單輸入","description":"表單輸入是開發中非常常見的需求，原始方式通常需要手動使用v-bind綁定表單元素的值 (value)，並透過v-on綁定input事件來監聽輸入變化。","date":"2024-09-26T21:49:25+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3153,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10358850","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":13}},{"path":"/ithome-2024-day-12","title":"Vue 3 用實作帶你看過核心概念 - Day 12：v-on 指令 - 事件處理","description":"在 Vue 中，監聽 HTML DOM 元素的事件變化，可以使用v-on 指令將 JavaScript 事件處理器綁定到對應的DOM 事件上。這個指令的縮寫符號為@，例如：v-on:click，其縮寫方式為@click。","date":"2024-09-25T21:42:59+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3808,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10358241","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":12}},{"path":"/ithome-2024-day-11","title":"Vue 3 用實作帶你看過核心概念 - Day 11：v-for 指令的基本與進階應用","description":"當數據類型是陣列或物件時，我們不會希望將重複的選項或元素直接硬編碼在模板中。這樣的寫法會導致代碼冗長且不具可維護性。","date":"2024-09-24T23:11:25+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4381,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10357705","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":11}},{"path":"/ithome-2024-day-10","title":"Vue 3 用實作帶你看過核心概念 - Day 10：條件渲染 - v-if 與 v-show 的區別與應用","description":"開發中遇到需要處理【如果是...就要...】的情境時，Vue 提供了 v-if 指令來幫助我們根據條件進行元素的渲染。這樣可以在特定條件滿足時動態地顯示或隱藏某些元素。","date":"2024-09-23T23:39:24+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2827,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10357160","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":10}},{"path":"/ithome-2024-day-09","title":"Vue 3 用實作帶你看過核心概念 - Day 9：Class 與 Style 的樣式綁定","description":"v-bind 指令通常用於綁定 HTML 屬性，但在實際開發中，最常見的應用場景之一還是綁定class和 style這兩個 HTML 屬性。","date":"2024-09-22T15:05:53+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4630,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10356119","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":9}},{"path":"/ithome-2024-day-08","title":"Vue 3 用實作帶你看過核心概念 - Day 8：計算屬性應用與實踐","description":"在 Day 6 在使用 Vue 的Mustache語法時，可以用來放置表達式。不過，這邊建議避免在 Mustache 中撰寫過於複雜的邏輯。這樣的建議主要有兩個原因：","date":"2024-09-21T21:33:29+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4060,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10355474","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":8}},{"path":"/ithome-2024-day-07","title":"Vue 3 用實作帶你看過核心概念 - Day 7： 響應式基礎 - Options API","description":"前面提到了模板搭配指令及 Mustache 的用法。今天則是要介紹所謂透過getter跟setter取值跟賦值的方式在 JavaScript 是怎麼做到的，這部分會跟 Vue 本身的響應式基礎有很大相關。此外，我也會帶著…","date":"2024-09-20T23:41:42+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":4407,"readingTime":5,"canonical":"https://ithelp.ithome.com.tw/articles/10354781","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":7}},{"path":"/ithome-2024-day-06","title":"Vue 3 用實作帶你看過核心概念 - Day 6：數據綁定和模板(Template)","description":"Vue 使用基於 HTML 的模板語法（Template Syntax），將 Vue 實例中的數據綁定到模板中進行顯示。根據綁定的類型不同，數據可以影響元素的內容、屬性或樣式。","date":"2024-09-19T20:39:46+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":3402,"readingTime":4,"canonical":"https://ithelp.ithome.com.tw/articles/10354231","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":6}},{"path":"/ithome-2024-day-05","title":"Vue 3 用實作帶你看過核心概念 - Day 5：Options API vs Composition API","description":"前面已經詳細說明了 Vue 的環境建置方式，接下來將逐步介紹 Vue 應用說明，並比較Options API與Composition API的撰寫風格。","date":"2024-09-18T22:10:36+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API","Composition API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2902,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10353717","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":5}},{"path":"/ithome-2024-day-04","title":"Vue 3 用實作帶你看過核心概念 - Day 4：基於 Vite 建構工具的 Vue 專案結構解析","description":"在 Day 3 的教學中，學習了如何使用 Vue 鷹架工具(Vue project scaffolding tool)來生成一個基於 Vite 環境的專案。今天，我將更進一步地解析這個專案的資料夾結構，幫助大家更好地理解…","date":"2024-09-17T23:27:07+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2723,"readingTime":3,"canonical":"https://ithelp.ithome.com.tw/articles/10352470","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":4}},{"path":"/ithome-2024-day-03","title":"Vue 3 用實作帶你看過核心概念 - Day 3：使用 Vite 建構工具搭建 Vue 專案","description":"⭐ 需要特別注意，需要事先安裝Nodejs。若不確定是否已安裝 Nodejs 也可以開啟終端機，執行以下指令確認版本。","date":"2024-09-16T23:29:45+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":2100,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10351398","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":3}},{"path":"/ithome-2024-day-02","title":"Vue 3 用實作帶你看過核心概念 - Day 2：命令式編程 vs 聲明式編程","description":"還記得我們在使用純 HTML 和 JavaScript 時，如何實現按下按鈕來變更文字顏色嗎？讓我們一起回想一下什麼是命令式宣告。","date":"2024-09-15T22:52:27+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3","Options API","Composition API"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":1881,"readingTime":2,"canonical":"https://ithelp.ithome.com.tw/articles/10350459","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":2}},{"path":"/ithome-2024-day-01","title":"Vue 3 用實作帶你看過核心概念 - Day 1：前言介紹","description":"大家好，我是 Antonio(安東尼奧)，目前是一名 Angular 的新手工程師，同時，也是一名熱愛寫程式的工程師。去年參加六角學院的 Vue 直播班，在那時候就深深著迷著 Vue 的語言，自此這半年多的時間裡，我白天…","date":"2024-09-14T17:32:19+08:00","updated":null,"tags":["iThome 鐵人賽","2024 鐵人賽","Vue 3"],"categories":["iThome 鐵人賽","Vue"],"draft":false,"wordCount":988,"readingTime":1,"canonical":"https://ithelp.ithome.com.tw/articles/10350457","series":{"name":"2024 iThome 鐵人賽：Vue 3 初學者：用實作帶你看過核心概念","url":"https://ithelp.ithome.com.tw/users/20116554/ironman/7800","day":1}},{"path":"/hexschool-experience","title":"六角學院 - 軟體工程師體驗營","description":"這麼多線上課程? 你不想知道什麼是最吸引我的線上學習課程嗎?","date":"2024-05-31T21:40:05+08:00","updated":null,"tags":["六角學院","軟體工程師體驗營"],"categories":["學習心得","前端成長記"],"draft":false,"wordCount":1109,"readingTime":2,"canonical":null,"series":null},{"path":"/JS-10","title":"JavaScript：var、let、const之間的差異解析","description":"var、let及const是JavaScript中宣告變數的關鍵字，它們在作用域、對於for迴圈的影響、提升 (Hoisting) 的差異及重複宣告的處理上有所不同。","date":"2023-12-10T23:53:30+08:00","updated":null,"tags":["ES6","var","let","const","Hoisting","Scope","TDZ"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":2873,"readingTime":3,"canonical":null,"series":null},{"path":"/JS-9","title":"JavaScript：陣列的常見操作方法","description":"掌握 JavaScript 陣列操作！從forEach、map、filter、findIndex、reduce、sort，深入了解這些方法，使你的程式碼更具靈活性和效率！","date":"2023-12-01T15:01:06+08:00","updated":null,"tags":["forEach","map","filter","reduce","sort","findIndex"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":4846,"readingTime":5,"canonical":null,"series":null},{"path":"/JS-8","title":"JavaScript：ES module 匯入與匯出","description":"使用< script >標籤讓瀏覽器中的網頁能夠使用 ES 模組功能時，你了解不同的匯入及匯出方法了嗎？","date":"2023-11-30T15:28:23+08:00","updated":null,"tags":["ES6","ES Module","CommonJS","Node.js","模組化開發"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":2913,"readingTime":3,"canonical":null,"series":null},{"path":"/React-2","title":"React：JSX 是什麼？為何在 React 中使用 JSX？","description":"透過 JSX 語法糖，你能夠在一次 JavaScript 撰寫中包含 HTML 與 CSS 的內容","date":"2023-11-29T16:03:40+08:00","updated":null,"tags":["JSX","JavaScript","Babel"],"categories":["React","前端開發"],"draft":false,"wordCount":3595,"readingTime":4,"canonical":null,"series":null},{"path":"/React-1","title":"React：Pure Function 的概念及其在 React 中的應用","description":"探索 Pure Function 概念及其與 React 的相互關係。","date":"2023-11-29T15:50:17+08:00","updated":null,"tags":["JavaScript","Pure Function","Functional Programming"],"categories":["React"],"draft":false,"wordCount":1368,"readingTime":2,"canonical":null,"series":null},{"path":"/JS-6","title":"JavaScript：深入理解Promise的原理及實際應用","description":"透過Promise，我們能夠有效解決JavaScript中的異步事件，使得程式碼更為清晰和可讀。","date":"2023-11-29T14:49:18+08:00","updated":null,"tags":["Promise","AsyncAwait","Asynchronous Programming","異步處理"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":5479,"readingTime":5,"canonical":null,"series":null},{"path":"/JS-5","title":"JavaScript：物件傳參考特性(Pass by Reference)","description":"淺拷貝(shallow copy)與深拷貝(deep copy)在JavaScript中的應用與理解","date":"2023-11-29T09:55:50+08:00","updated":null,"tags":["Pass by Reference","Shallow Copy","Deep Copy","傳值與傳參考"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":4544,"readingTime":5,"canonical":null,"series":null},{"path":"/JS-4","title":"JavaScript：注重關注點的分離","description":"透過關注點分離的設計方式，可顯著提高系統整體的可維護性。","date":"2023-11-29T09:44:29+08:00","updated":null,"tags":["SoC","MVC","Design Patterns","Clean Code","Refactoring"],"categories":["JavaScript","Software Engineering"],"draft":false,"wordCount":1977,"readingTime":2,"canonical":null,"series":null},{"path":"/JS-3","title":"JavaScript：掌握箭頭函式，優雅簡約的程式寫作","description":"深入解析ES6箭頭函數：揭開與傳統函式的差異。","date":"2023-11-29T01:02:36+08:00","updated":null,"tags":["Arrow Function","this","Lexical Scoping","Syntactic Sugar","Callback Function"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":2142,"readingTime":2,"canonical":null,"series":null},{"path":"/JS-2","title":"JavaScript：深入了解This的指向與應用","description":"探索JavaScript This 的指向：深入剖析判斷的技巧。","date":"2023-11-28T22:22:45+08:00","updated":null,"tags":["this","Execution Context","Callback Function","Binding","Fundamentals"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":1963,"readingTime":2,"canonical":null,"series":null},{"path":"/JS-1","title":"JavaScript：淺談ES6常見縮寫","description":"JavaScript ES6縮寫技巧：輕鬆簡化程式碼，提升效率！。","date":"2023-11-28T13:38:14+08:00","updated":null,"tags":["ES6","Shorthand","Spread Operator","Object"],"categories":["JavaScript","前端開發"],"draft":false,"wordCount":818,"readingTime":1,"canonical":null,"series":null},{"path":"/Emmet-1","title":"前端開發神器：使用Emmet提升網頁開發效率","description":"本文將介紹如何利用Emmet來大幅提高前端開發效率，讓你的編碼速度如專家般飛快。","date":"2023-10-31T14:40:54+08:00","updated":null,"tags":["Emmet","VSCode","HTML"],"categories":["前端開發","開發工具"],"draft":false,"wordCount":865,"readingTime":1,"canonical":null,"series":null},{"path":"/hexo-github-4","title":"建立自己的部落格：了解Hexo指令，更換next部落格主題","description":"今天的你跟我都是Hexo指令指揮官，讓我們將部落格造型大改造一下吧!!!","date":"2023-10-20T14:33:38+08:00","updated":null,"tags":["Hexo","NexT","git clone","Hexo指令"],"categories":["Blog"],"draft":false,"wordCount":979,"readingTime":1,"canonical":null,"series":null},{"path":"/hexo-github-3","title":"建立自己的部落格：修改Hexo設定檔中Site，查看其變化","description":"今天的你跟我都是部落格工程師，我們一起來將網頁做一些小小的改變，有一天匯集在一起就會讓你的部落格變的與眾不同。","date":"2023-10-18T20:50:31+08:00","updated":null,"tags":["Hexo","VSCode","Sublime Text","YAML","SEO"],"categories":["Blog"],"draft":false,"wordCount":1798,"readingTime":2,"canonical":null,"series":null},{"path":"/hexo-github-2","title":"建立自己的部落格：創建Hexo Blog初始的模板","description":"踏出那關鍵的第一步，從白紙到完整的部落格，一同見證你的部落格誕生的奇妙時刻。","date":"2023-10-17T15:59:37+08:00","updated":null,"tags":["Hexo","Hexo-cli","hexo init"],"categories":["Blog"],"draft":false,"wordCount":941,"readingTime":1,"canonical":null,"series":null},{"path":"/hexo-github-1","title":"建立自己的部落格：認識Hexo及所其需工具(Nodejs & Git)","description":"打造屬於自己風格的部落格其實不難，讓我們一步步手把手教你如何實現這個目標。","date":"2023-10-16T08:30:27+08:00","updated":null,"tags":["Hexo","Node.js","Git"],"categories":["Blog"],"draft":false,"wordCount":790,"readingTime":1,"canonical":null,"series":null}]