Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Why to choose laravel framework?
Search
Bo-Yi Wu
March 09, 2016
Technology
93
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
MCP OAuth 2.0 Workshop: 讓 AI Agent、MCP Server、CLI 安全登入
appleboy
0
21
從觀望到全公司落地:AI Agentic Coding 導入實戰 — 流程整合與安全治理
appleboy
1
2.7k
打造你的 AI 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
2.3k
從開發到部署全都交給 AI:實作 AI 驅動的自動化流程
appleboy
1
480
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
1
580
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
4.1k
用 Claude Code + GitHub Copilot Review 打造 AI 驅動的開發流程
appleboy
0
2.6k
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
390
The Smart Choice for Command-Line Image Resizing
appleboy
0
93
Other Decks in Technology
See All in Technology
TSKaigi Sendai 2026 - tsgo時代のTypeScript Playgroundはどう動くか
teamlab
PRO
0
100
`go get`したらELFが降ってきた件
taiyow
0
180
公共システムAdventCalendar2026
toru_kubota
0
250
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
1
330
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
1
240
「いつか使う」の「いつか」は来ない 〜AI駆動開発における「作らない」判断について〜
ikki0006
0
120
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
150
2拠点SRE活動始めてみた | sogaoh's LT @ ホンマでっかSRE勉強会 #3
sogaoh
PRO
0
240
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
390
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
150
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
1
130
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Navigating Team Friction
lara
192
16k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Rails Girls Zürich Keynote
gr2m
96
14k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
830
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
WENDY [Excerpt]
tessaabrams
14
40k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
790
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
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