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
180
Č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
74
Design a REST API you will love to work with
ujovlado
0
710
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
450
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
340
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
94
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
58
CSS Flexbox (WebElement #35)
ujovlado
0
120
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
130
Don't underestimate CSS (WebElement #30)
ujovlado
0
540
Other Decks in Programming
See All in Programming
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
330
Compose でデザインと実装の差異を減らすための取り組み
oidy
1
220
Amazon Nova Reelの可能性
hideg
0
240
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
29
4.6k
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2k
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
620
最近のVS Codeで気になるニュース 2025/01
74th
1
220
Azure AI Foundryのご紹介
qt_luigi
1
240
月刊 競技プログラミングをお仕事に役立てるには
terryu16
1
1.2k
Beyond ORM
77web
11
1.6k
定理証明プラットフォーム lapisla.net
abap34
1
600
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
2.1k
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Facilitating Awesome Meetings
lara
51
6.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Navigating Team Friction
lara
183
15k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Thoughts on Productivity
jonyablonski
68
4.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
27
1.9k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
A Tale of Four Properties
chriscoyier
157
23k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
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.