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
Yii PHP Framework
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
KeaNy
September 10, 2014
Programming
100
1
Share
Yii PHP Framework
Just an intro.
KeaNy
September 10, 2014
More Decks by KeaNy
See All by KeaNy
Yii in Action
keanyc
1
150
Other Decks in Programming
See All in Programming
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
160
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.3k
New "Type" system on PicoRuby
pocke
1
430
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
100
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
2k
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
360
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
170
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
170
dRuby over BLE
makicamel
2
300
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
610
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Six Lessons from altMBA
skipperchong
29
4.3k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Skip the Path - Find Your Career Trail
mkilby
1
140
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Transcript
KeaNy Co-Founder @ Keanux
1. 什麼是Yii 2. Yii的MVC架構 3. 部落格實作範例 4. Gii模組產生器 5. 介紹Keanux
6. Q&A Yii PHP Framework 介紹
什麼是Yii?
Yii是一個快速、安全、專業的PHP框架
Fast 快速 Yii只會載入你所需要的功能,有著強大的快取 支援,被設計為提高AJAX的工作效率。
Secure 安全 安全性是Yii建立的標準。包括輸入驗證、輸出過 濾、預防SQL Injection和XSS。
Professional 專業 Yii可以幫助你開發乾淨和可重用的代碼。它遵循 MVC模式,確保邏輯和介面明確分離。
Is it fast? ... Is it secure? ... Is it
professional? ... Is it right for my next project? ... Yes, it is!
Yii的MVC架構
None
M = Model = 模型 程式設計師編寫程式應有的功能、資料庫 專家進行資料管理和資料庫設計。
V = View = 檢視 介面設計人員進行圖形介面設計。
C = Control = 控制 負責轉發請求,對請求進行處理。
Yii的程式架構
典型的工作流程
部落格實作範例
DEMO
Gii模組產生器
DEMO
介紹Keanux
一個極簡的寫作平台 http://keanux.com Keanux
首頁
平板 手機 RWD設計
個人頁面
編輯器
編輯中...
文章頁
Q&A
KeaNy keanyc keanyc keany_chu 謝 謝