PHP Laravel 使用手冊
讓您快速掌握 PHP laravel MVC 整體架構,學會實作現代網站該有的細節、步驟與技巧。建置兩大經典網站案例。
單元 1 - 課程介紹
單元 2 - 課程開始之前
單元 3 - 【實作練習】檔案下載連結
單元 1 - 為何要使用 laravel?
單元 2 - 環境架設 / Mac
單元 3 - 環境架設 / Windows
單元 4 - MySQL
單元 5 - MVC 架構解析
單元 6 - 什麼是 env 環境設定檔?
單元 1 - Routing 的用途 與 設定方式
單元 2 - git init 開始 coding 囉
單元 3 - Routing 實作
單元 1 - View 的運作方式 與 Blade 簡介
單元 2 - Blade 的 layout 設定方式
單元 3 - Blade 的程式控制 (Control Structure)
單元 4 - Blade 的資料顯示 與 Component
單元 5 - CSS 與 JS 的設定
單元 6 - laravel mix / 自動 compile CSS 與 JS 的利器
單元 1 - 開始的準備
單元 2 - 套版 - 基本架構
單元 3 - 套版 - 用 Blade 製作
單元 4 - layout 調整
單元 5 - About 頁面製作
單元 6 - Contact 頁面製作
單元 7 - 導覽列 navigation
單元 8 - 導覽列 - 顯示登入後連結
單元 9 - 加入自己的 CSS 與 JS
單元 10 - Blog 列表實作
單元 11 - Blog 內頁實作
單元 12 - 加上 blog 連結
單元 13 - foreach 印假資料
單元 1 - Model 簡介 / 資料庫連結 (database connection) 設定
單元 2 - 資料庫規劃工具 lucidchart
單元 3 - 什麼是 migration?為何要這麼做?
單元 4 - migration 建立欄位 (create column)
單元 5 - migration 修改/刪除欄位 (modify/delete columns)
單元 6 - migration 索引 (indexes)
單元 7 - migration 演練
單元 8 - 資料庫連線設定 / migration debug
單元 9 - Model 與 Eloquent
單元 10 - Eloquent 使用慣例 (conventions)
單元 11 - Eloquent 取得多筆 model 資料 (retrieving models)
單元 12 - Eloquent 取得單筆 model
單元 13 - Eloquent 新增 & 更新資料 (insert & update)
單元 14 - Eloquent 刪除資料 (delete)
單元 15 - Eloquent 取得常用的資料 (local scope)
單元 16 - Query Builder 介紹
單元 17 - Query Builder - where 語法
單元 18 - Query Builder - 其他語法
單元 19 - Query Builder vs Eloquent
單元 20 - Model 之間的關聯 (relationships)
單元 21 - 取得關聯式資料 (Query relationships)
單元 22 - 關聯式資料的讀取方式 (Lazy & Eager loading)
單元 1 - 在開始之前
單元 2 - Model 實作流程說明
單元 3 - 建立 database
單元 4 - database 設計
單元 5 - migration
單元 6 - 製作 model
單元 7 - git 一下
單元 1 - Controller 簡介
單元 2 - 指令 make:controller
單元 3 - 注入參數 (method injection)
單元 4 - CRUD 的好幫手:resource
單元 5 - MVC 總結
單元 1 - 在開始之前
單元 2 - Routing 調整
單元 3 - 設計使用流程 (workflow)
單元 4 - 製作 index
單元 5 - 製作「建立文章流程」 (create post workflow)
單元 6 - 製作 create form
單元 7 - CSRF 機制
單元 8 - mass assignment 與 fillable
單元 9 - create post workflow - 列表頁
單元 10 - 完成 create post workflow
單元 11 - git 一下
單元 12 - read 機制
單元 13 - read 頁面的按鈕
單元 14 - 製作「更新文章流程」 (update post workflow)
單元 15 - 製作 edit form
單元 16 - update 機制
單元 17 - 另外一條 update 流程
單元 18 - 製作「刪除文章流程」(destroy post workflow)
單元 19 - 使用 HTTP 來 destroy post
單元 20 - 使用 AJAX 來 destroy post
單元 21 - 從 read 頁面做 destroy
單元 22 - 作業
單元 1 - 簡介
單元 2 - 使用方法
單元 3 - 【實作】make:auth
單元 4 - 【實作】middleware
單元 5 - 【實作】加上 user_id
單元 6 - 【實作】post 紀錄 user_id
單元 7 - 【實作】用登入資訊呈現不同內容
單元 1 - Mail 簡介
單元 2 - Mailgun domain 設定
單元 3 - Mailgun .env 檔案設定
單元 4 - Email 測試:mailtrap.io
單元 1 - 驗證機制 (validation)
單元 2 - 驗證設定 (validation options)
單元 3 - 印出錯誤訊息
單元 4 - 自訂錯誤訊息
單元 5 - 在 request 的時候做驗證 (form request validation)
單元 6 - 授權機制 (authorization)
單元 7 - 自訂驗證條件 (custom rules)
單元 1 - 替 create/update post 加上驗證機制 (validation)
單元 2 - 改用 form request 做 validation
單元 3 - 合併 create/update form
單元 4 - 合併 create/update form - part 2
單元 5 - 加上 authorization
單元 1 - 前端/後端 程式碼整理
單元 2 - 後端 文章列表 畫面調整
單元 3 - 後端 layout 調整
單元 1 - 談談 分類 (category) 跟 標籤 (tag) 的差異
單元 2 - database 設計 / migration / model
單元 3 - CRUD 流程設計
單元 4 - 製作 category 列表
單元 5 - 製作「建立 category」流程
單元 6 - 製作 update & delete 機制
單元 7 - 加上 validation
單元 8 - 在 post form 加上 category
單元 9 - 【後台】在文章內頁加上 category 的顯示
單元 10 - 【前台】加上 category 列表
單元 11 - 【前台】加上 日期、作者、分類 資訊
單元 12 - 【前台】在文章內頁顯示 category
單元 13 - category 總結
單元 1 - database 設計 / migration / model
單元 2 - workflow 設計
單元 3 - 列表頁 / destroy 機制
單元 4 - 在 create post form 加上 tags
單元 5 - 在 edit post form 加上 tags
單元 6 - 【後台】顯示文章標籤 (tags)
單元 7 - 製作標籤雲 (tag cloud)
單元 8 - 標籤雲 (tag cloud) - part 2
單元 9 - 修正「建立 tags」時可能發生的問題
單元 1 - migration & 上傳圖片準備
單元 2 - 檔案處理機制 (file handling)
單元 3 - 關於上傳的路徑
單元 4 - 顯示文章縮圖
單元 5 - 更新文章縮圖
單元 1 - 換你試試看
單元 2 - database 設計 / migration / model
單元 3 - workflow 討論 & 實作 create 流程
單元 4 - create 加上 validation
單元 5 - 讀取 comments
單元 6 - update comment
單元 7 - delete comment
單元 8 - update 的 validation 調整
單元 1 - 側邊欄 sidebar
單元 2 - 分頁機制 (pagination)
單元 3 - 前一篇/下一篇 文章按鈕
單元 1 - 結尾