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
210
Č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
160
Design a REST API you will love to work with
ujovlado
0
780
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
510
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
400
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
170
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
120
CSS Flexbox (WebElement #35)
ujovlado
0
190
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
190
Don't underestimate CSS (WebElement #30)
ujovlado
0
620
Other Decks in Programming
See All in Programming
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
930
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
440
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
400
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
240
CSC307 Lecture 15
javiergs
PRO
0
240
Fundamentals of Software Engineering In the Age of AI
therealdanvega
1
250
ロボットのための工場に灯りは要らない
watany
10
2.7k
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8k
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
260
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
190
PostgreSQL を使った快適な go test 環境を求めて
otakakot
0
540
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
A Modern Web Designer's Workflow
chriscoyier
698
190k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
How to train your dragon (web standard)
notwaldorf
97
6.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.4k
Un-Boring Meetings
codingconduct
0
220
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
We Are The Robots
honzajavorek
0
200
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.