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
99
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
140
Other Decks in Programming
See All in Programming
安いハードウェアでVulkan
fadis
1
890
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
150
アーキテクチャモダナイゼーションとは何か
nwiizo
9
2.3k
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
230
ファインチューニングせずメインコンペを解く方法
pokutuna
0
260
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
310
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
360
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
550
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.6k
Ruby and LLM Ecosystem 2nd
koic
1
1.5k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
120
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Statistics for Hackers
jakevdp
799
230k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Code Review Best Practice
trishagee
74
20k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
Designing Experiences People Love
moore
143
24k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
250
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
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 謝 謝