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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
KeaNy
September 10, 2014
Programming
1
96
Yii PHP Framework
Just an intro.
KeaNy
September 10, 2014
Tweet
Share
More Decks by KeaNy
See All by KeaNy
Yii in Action
keanyc
1
140
Other Decks in Programming
See All in Programming
Patterns of Patterns
denyspoltorak
0
1.4k
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
6k
Implementation Patterns
denyspoltorak
0
280
Data-Centric Kaggle
isax1015
2
760
AI巻き込み型コードレビューのススメ
nealle
0
120
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
630
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
CSC307 Lecture 07
javiergs
PRO
0
550
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
990
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
CSC307 Lecture 05
javiergs
PRO
0
500
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
97
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
100
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
New Earth Scene 8
popppiees
1
1.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Discover your Explorer Soul
emna__ayadi
2
1.1k
Being A Developer After 40
akosma
91
590k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
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 謝 謝