###### tags: `laravel` DAY4-22.9.7 # laravel-5 # MVC 圖解  route 將 user 分配給 controller 由 controller 控制 model 和 view controller 向 model 發出請求 model 發出回應 告知controller 使用什麼規範/設定/模型 controller 接收到後 依照model給的規範/設定/模型 發給 view , 而view 藉由這些資訊產生畫面 user 看到 view 所呈現出來的畫面 # CRUD - 新增 add 圖解的黑色區塊 - 修改 圖解的紅色區塊 - 刪除 圖解的綠色區塊  # 何謂 Restore API 常見的CRUD等功能 , 將其功能統一管理 稱為Restore API 圖解的紫色區塊  # get post put delete  # 資料庫連結在這裡連  # php artisan route:list 好用的指令 : 查詢路由相關 在gitBash輸入php artisan route:list 會對應該專案的內容去顯示, 相對的位置與使用格式 可以依照這個表格參考如何編寫 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up