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
170
Č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
63
Design a REST API you will love to work with
ujovlado
0
700
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
430
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
330
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
85
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
50
CSS Flexbox (WebElement #35)
ujovlado
0
110
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
120
Don't underestimate CSS (WebElement #30)
ujovlado
0
530
Other Decks in Programming
See All in Programming
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
920
Zoneless Testing
rainerhahnekamp
0
120
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
110
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
760
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Italy
prof18
0
150
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
700
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
From Translations to Multi Dimension Entities
alexanderschranz
2
130
CSC509 Lecture 14
javiergs
PRO
0
140
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Being A Developer After 40
akosma
87
590k
The Pragmatic Product Professional
lauravandoore
32
6.3k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Writing Fast Ruby
sferik
628
61k
GitHub's CSS Performance
jonrohan
1030
460k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Making the Leap to Tech Lead
cromwellryan
133
9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
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.