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
Čo ma naučil Yii framework (WebElement #6)
Search
Vladimír Kriška
April 12, 2012
Programming
0
200
Čo ma naučil Yii framework (WebElement #6)
Vladimír Kriška
April 12, 2012
Tweet
Share
More Decks by Vladimír Kriška
See All by Vladimír Kriška
Twelve-Factor app with Docker
ujovlado
0
120
Design a REST API you will love to work with
ujovlado
0
760
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
480
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
380
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
140
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
95
CSS Flexbox (WebElement #35)
ujovlado
0
160
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
170
Don't underestimate CSS (WebElement #30)
ujovlado
0
590
Other Decks in Programming
See All in Programming
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
940
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
570
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
210
オープンソースソフトウェアへの解像度🔬
utam0k
2
230
クラシルを支える技術と組織
rakutek
0
200
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
4.7k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
110
Playwrightはどのようにクロスブラウザをサポートしているのか
yotahada3
7
2.3k
Serena MCPのすすめ
wadakatu
4
920
ネイティブ製ガントチャートUIを作って学ぶUICollectionViewLayoutの威力
jrsaruo
0
140
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
170
ソフトウェア設計の実践的な考え方
masuda220
PRO
3
510
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
850
The Pragmatic Product Professional
lauravandoore
36
6.9k
Rails Girls Zürich Keynote
gr2m
95
14k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Making Projects Easy
brettharned
119
6.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
970
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Writing Fast Ruby
sferik
629
62k
Become a Pro
speakerdeck
PRO
29
5.5k
Transcript
Čo ma naučil Yii framework Vladimír Kriška (@ujovlado) WebElement #6
Ako zakladáte projekt?
Na čo nedám dopustiť? ◦ ActiveRecord ◦ Scaffolding ◦ Migrations
◦ Configuration ◦ Caching ◦ Logging
ActiveRecord ◦ @srigi - WebElement #1 ◦ statické modely ◦
relácie + "through" ◦ validácie ◦ after*, before* metódy ◦ rýchlosť
Scaffolding ◦ Generovanie kódu s Yii framework - zdroják ◦
shell/Gii ◦ controller, cruf, model, form, module ◦ vlastné šablóny
Migrations ◦ migrate command ◦ tabuľka s migráciami
Configuration ◦ jeden hlavný config ◦ dedičnosť pomocou CMap::mergeArray() ◦
ľahké prepínanie
Caching ◦ Yii::app()->cache-> ◦ veľa možností (CFileCache, CMemCache, CDbCache, CApcCache)
Ukážka
Kam ďalej? ◦ yiiframework.com ◦ @yiiframework ◦ čítajte zdrojáky
Ďakujem.