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
0
64
Why to choose laravel framework?
Bo-Yi Wu
March 09, 2016
Tweet
Share
More Decks by Bo-Yi Wu
See All by Bo-Yi Wu
如何設計一套具備 Container 容器化技術的 CI/CD 平台?
appleboy
0
1.2k
生成式 AI CodeGPT 開發經驗談
appleboy
0
2.9k
打造 MLOps 平台 改善 AI 模型開發流程
appleboy
0
2.1k
自動化監控伺服器工具 - Gatus
appleboy
0
3.8k
Drone CI/CD 自動化測試及部署
appleboy
1
480
初探 Infrastructure as Code 工具 Pulumi
appleboy
2
3.5k
Introduction to Open Policy Agent
appleboy
0
1.9k
善用 Go 語言效能測試工具來提升執行效率
appleboy
2
4.3k
用 Go 語言打造多台機器 Scale 架構
appleboy
1
4.6k
Other Decks in Technology
See All in Technology
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
610
データエンジニアリング領域におけるDuckDBのユースケース
chanyou0311
9
2.2k
Change Managerを活用して本番環境へのセキュアなGUIアクセスを統制する / Control Secure GUI Access to the Production Environment with Change Manager
yuj1osm
0
100
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
150
分解して理解する Aspire
nenonaninu
2
1k
2/18 Making Security Scale: メルカリが考えるセキュリティ戦略 - Coincheck x LayerX x Mercari
jsonf
0
190
アジャイルな開発チームでテスト戦略の話は誰がする? / Who Talks About Test Strategy?
ak1210
1
550
OPENLOGI Company Profile
hr01
0
60k
AIエージェント入門
minorun365
PRO
31
17k
AI Agent時代なのでAWSのLLMs.txtが欲しい!
watany
2
220
Raycast AI APIを使ってちょっと便利な拡張機能を作ってみた / created-a-handy-extension-using-the-raycast-ai-api
kawamataryo
0
210
わたしがEMとして入社した「最初の100日」の過ごし方 / EMConfJp2025
daiksy
14
4.9k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Bash Introduction
62gerente
611
210k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How STYLIGHT went responsive
nonsquared
98
5.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Git: the NoSQL Database
bkeepers
PRO
427
65k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Music & Morning Musume
bryan
46
6.4k
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