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
84
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
710
打造你的 AI 工作流:Agent Skill + MCP 實戰工作坊
appleboy
0
480
從開發到部署全都交給 AI:實作 AI 驅動的自動化流程
appleboy
1
230
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
1
340
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
2.8k
用 Claude Code + GitHub Copilot Review 打造 AI 驅動的開發流程
appleboy
0
1.8k
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
330
The Smart Choice for Command-Line Image Resizing
appleboy
0
63
SSH for GitHub Actions
appleboy
0
320
Other Decks in Technology
See All in Technology
AIに障害切り分けを全部やってもらった。 。 。 。
estie
0
340
“ID沼入口” - 基本とセキュリティから始める、考え続けるためのID管理技術勉強会 告知&イントロ
ritou
0
380
サイバー攻撃・防御とサイバー法 / Cyber Attacks, Defense, and Cyber Law
ks91
PRO
0
100
組織における AI-DLC 実践
askul
0
300
LiDAR SLAMの実装とセンサ融合 ~Lie群からContinuous-Time LIOまで~
naokiakai
1
920
4人目のSREはAgent
tanimuyk
0
370
“全部コピーしない”ファイルデータの活用 : — FSx for ONTAP × S3 Tables × Icebergで作るメタデータカタログ
yoshiki0705
0
350
記録をかんたんに、提案をパーソナルに ── AIであすけんが目指すもの
oprstchn
0
130
プライバシー保護の理論と実践
lycorptech_jp
PRO
1
230
RAGの精度向上とエージェント活用
kintotechdev
2
120
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2k
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
190
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
280
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.1k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
200
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
YesSQL, Process and Tooling at Scale
rocio
174
15k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
220
Facilitating Awesome Meetings
lara
57
7k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
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