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
490
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
97
CSS Flexbox (WebElement #35)
ujovlado
0
170
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
170
Don't underestimate CSS (WebElement #30)
ujovlado
0
600
Other Decks in Programming
See All in Programming
CSC305 Lecture 10
javiergs
PRO
0
220
Introduce Hono CLI
yusukebe
6
3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
520
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
2
5k
AkarengaLT vol.38
hashimoto_kei
1
110
CSC305 Lecture 06
javiergs
PRO
0
270
CSC509 Lecture 08
javiergs
PRO
0
230
Devoxx BE - Local Development in the AI Era
kdubois
0
130
CSC509 Lecture 07
javiergs
PRO
0
240
One Enishi After Another
snoozer05
PRO
0
140
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
1
470
Featured
See All Featured
BBQ
matthewcrist
89
9.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
540
Agile that works and the tools we love
rasmusluckow
331
21k
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.