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
160
Č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
52
Design a REST API you will love to work with
ujovlado
0
690
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
420
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
310
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
72
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
43
CSS Flexbox (WebElement #35)
ujovlado
0
100
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
110
Don't underestimate CSS (WebElement #30)
ujovlado
0
520
Other Decks in Programming
See All in Programming
Integrating AI in Your Enterprise Java Applications
ivargrimstad
0
540
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
420
実務未経験からいち早く戦力化するための新人エンジニア育成術 ~ 具体的な方法と育成する側の心得 ~
juri_matsuda
0
120
データフレームライブラリ徹底比較
daikikatsuragawa
2
120
CSC509 Lecture 04
javiergs
PRO
0
160
2024-10-01 dev2next - Observability for Modern JVM Applications
jonatan_ivanov
0
140
学生の時に開催したPerl入学式をきっかけにエンジニアが組織に馴染むために勉強会を主催や仲間と参加して職能間の境界を越えていく
ohmori_yusuke
2
140
Going Staff - Keynote edition
pragtob
0
250
本編では話さない Zig の話
andpad
2
100
型付きで行うVSCode拡張機能開発 / VSCode Meetup #31
mazrean
0
250
Kubernetes上でOracle_Databaseの運用を楽にするOraOperatorの紹介
nnaka2992
0
160
watsonx.ai Dojo #3 プロンプトエンジニアリング入門
oniak3ibm
PRO
0
180
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
180
21k
Practical Orchestrator
shlominoach
186
10k
Debugging Ruby Performance
tmm1
73
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
5
130
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
The Language of Interfaces
destraynor
154
24k
Code Reviewing Like a Champion
maltzj
519
39k
Producing Creativity
orderedlist
PRO
341
39k
GitHub's CSS Performance
jonrohan
1030
450k
Optimizing for Happiness
mojombo
375
69k
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.