Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yii PHP Framework
Search
KeaNy
September 10, 2014
Programming
1
93
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
俺流レスポンシブコーディング 2025
tak_dcxi
14
8.6k
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
350
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
310
Integrating WordPress and Symfony
alexandresalome
0
150
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
100
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
1k
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
730
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
11
11k
関数実行の裏側では何が起きているのか?
minop1205
1
690
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
800
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
2
590
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
[SF Ruby Conf 2025] Rails X
palkan
0
510
Designing for Performance
lara
610
69k
Agile that works and the tools we love
rasmusluckow
331
21k
The Language of Interfaces
destraynor
162
25k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
970
Documentation Writing (for coders)
carmenintech
76
5.2k
Scaling GitHub
holman
464
140k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
390
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 謝 謝