Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Why to choose laravel framework?
Search
Bo-Yi Wu
March 09, 2016
Technology
86
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Why to choose laravel framework?
Bo-Yi Wu
March 09, 2016
More Decks by Bo-Yi Wu
See All by Bo-Yi Wu
從觀望到全公司落地:AI Agentic Coding 導入實戰 — 流程整合與安全治理
appleboy
1
1.7k
打造你的 AI 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
1.2k
從開發到部署全都交給 AI:實作 AI 驅動的自動化流程
appleboy
1
310
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
1
430
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
3.2k
用 Claude Code + GitHub Copilot Review 打造 AI 驅動的開發流程
appleboy
0
2.1k
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
340
The Smart Choice for Command-Line Image Resizing
appleboy
0
70
SSH for GitHub Actions
appleboy
0
360
Other Decks in Technology
See All in Technology
Webアクセシビリティ入門 2026
recruitengineers
PRO
2
440
ホームラボ紹介
y_sera15
0
110
【CEDEC2026】グラフィックスエンジニアのためのニューラルシェーディング入門
cygames
PRO
0
120
JavaScript 研修 (2026)
recruitengineers
PRO
1
450
Flutterをカメラで動かしたかった話
sony
1
130
サイバー捜査員研修(後半)
nomizone
1
800
AI時代の強いチームの作り方
yuukiyo
25
16k
[ChatGPT Work LT]事務作業が苦手な人のための バックオフィスの「半」自動化
chimaki_iot
0
240
取引先から届く 「セキュリティチェックシート」の読み解き方
kamadamakoto
0
120
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
名古屋の市バスGTFS-JPデータ×スガキヤ 最寄りバス停検索をAmazon ElastiCache Serverless for Valkeyで最適化する
usanchuu
1
450
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
67k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
460
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Music & Morning Musume
bryan
47
7.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Mind Mapping
helmedeiros
PRO
1
300
The Curse of the Amulet
leimatthew05
2
14k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.7k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
450
Transcript
為什麼選擇 Laravel Framework 2016.03.03 Bo-Yi Wu
關於我 • Blog: https://blog.wu-boy.com/ • Github: https://github.com/appleboy
PHP 這麼多套 Framework 為什麼要選 Laravel
http://www.sitepoint.com/best-‐php-‐framework-‐2015-‐sitepoint-‐survey-‐results/ The Most Popular Framework of 2015
選框架就要看作者是誰
Laravel Framework • 目前由 Taylor Otwell 負責開發及維護 – 5.1 開始支援 LTS
Release • bug fixes are provided for 2 years • security fixes are provided for 3 years
Open Source 最怕的就是後續無人維護
對於 Laravel Framework 開發者不用擔心後續維護問題
None
PHP有無套件管理系統
所有第三方套件都用 composer 來管理 https://getcomposer.org
http://packalyst.com/
團隊Coding Style制定
2014/02/22 Apple iOS bugs goto fail; 低級 bugs https://www.imperialviolet.org/2014/02/22/applebug.html
專案遵守 PHP-FIG 規範 http://www.php-fig.org
PHP-FIG • 建議開發前請先閱讀底下規範 – Basic Coding Standard (PSR-1) – Coding Style Guide
(PSR-2) – Autoloading Standard (PSR-4)
良好的 Coding Style 可以讓同事減少 Review 時間
開發環境流程 每次開發新專案前,都要浪費很多時間在建置環境 MySQL, Nginx, Redis, PHP, Node … 前端,後端都有
還有 OS 環境要解決 Linux, Windows, MacOSX 還沒處理完一天時間就過了
Laravel Homestead 不用在個人電腦架設任何環境
Laravel Homestead • Ubuntu 14.04 • Git • PHP 7.0
• HHVM • Nginx • MySQL • Sqlite3 • Postgres • Composer • Node (With PM2, Bower, Grunt, and Gulp) • Redis • Memcached • Beanstalkd https://laravel.com/docs/5.2/homestead
Laravel Routing • 所有 Routing Path 寫到同一檔案 (方便偵錯) – CSRF Protection
– Route Groups – Route Model Binding
None
Laravel Service Laravel 提供完整的第三方服務
Laravel Service • Authentication (帳號登入) • Authorization (權限管理) • Artisan
Console (專案 command line tool) • Cache (Memcached and Redis) • Localization (多國語言) • Mail (SMTP, Mailgun, Mandrill, Amazon SES) • Pagination (分頁管理)
Laravel Service • Queues (database, Beanstalkd, Amazon SQS, Redis, and
synchronous (for local use) driver) • Task Scheduling (排程管理) • Testing (後端邏輯測試) • Validation (資料驗證)
Laravel Elixir 前端與後端互相合作的好工具
Laravel Elixir • Less, Sass, PostCSS, Plain CSS • Coffee
Script, Browserify, Babel, Scripts • Versioning / Cache Busting • BrowserSync
Database Migration $ php artisan make:migration create_users_table $ php artisan
migrate $ php artisan migrate:rollback
Database Migration • 不用寫任何 SQL 語法 • 用日期記錄 SQL 操作
• 不用管 DataBase 為 MySQL, Postgres, MSSQL …
None
Laravel ORM simple ActiveRecord implementation for working with your database
Eloquent ORM • 好用的 ORM 減少開發者寫 SQL 時間 – One to
One – One to Many – Many to Many
學習資源 • 線上影音教學網站: https://laracasts.com • 台灣線上文件: https://laravel.tw/ • 台灣
FB 討論區: https://goo.gl/UwRLGu • 社群整理文件: http://bit.ly/laraveltw-resource