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
KeaNy
September 10, 2014
Programming
1
84
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
130
Other Decks in Programming
See All in Programming
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Domain-Driven Transformation
hschwentner
2
1.5k
Node.js v22 で変わること
yosuke_furukawa
PRO
12
4k
Ruby Function Composition
bkuhlmann
1
340
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
Sheets API使ってみた
toshi0383
2
170
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
PHPはいつから死んでいるかの調査
chiroruxx
2
420
Apache Hive 4 on Treasure Data
ryukobayashi
1
430
新宿ダンジョンを可視化してみた
satoshi7190
3
400
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
890
slow types ってなんだろう?
karad
0
110
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
43
6.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.3k
Statistics for Hackers
jakevdp
790
220k
Building an army of robots
kneath
300
41k
Navigating Team Friction
lara
179
13k
What's in a price? How to price your products and services
michaelherold
238
11k
Done Done
chrislema
178
15k
Building Adaptive Systems
keathley
32
1.9k
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
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 謝 謝