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
PHPKonf 2016
Search
Arda Kılıçdağı
May 21, 2016
Programming
2
170
PHPKonf 2016
"Laravel Tips and Tricks" presentation from PHPKonf 2016.
Arda Kılıçdağı
May 21, 2016
Tweet
Share
More Decks by Arda Kılıçdağı
See All by Arda Kılıçdağı
Profesyönel İş Dünyasında Yazılım Üretimi ve Raspberry Pi Üzerine Düşünceler
ardakilic
0
68
Other Decks in Programming
See All in Programming
CSC509 Lecture 11
javiergs
PRO
0
180
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
430
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
C++でシェーダを書く
fadis
6
4.1k
Quine, Polyglot, 良いコード
qnighy
4
640
cmp.Or に感動した
otakakot
3
180
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
Featured
See All Featured
Designing for Performance
lara
604
68k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
GitHub's CSS Performance
jonrohan
1030
460k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Agile that works and the tools we love
rasmusluckow
327
21k
Being A Developer After 40
akosma
86
590k
Documentation Writing (for coders)
carmenintech
65
4.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Transcript
LARAVEL TIPS AND TRICKS ARDA KILIÇDAĞI Twitter: @ardadev GitHub: Ardakilic
LinkedIn: ardakilicdagi
ARDA KILIÇDAĞI 2
ARDA KILIÇDAĞI bit.ly/laravel-design-patterns bit.ly/laravel-kitabi bit.ly/raspberry-pi-kitabi 3
ELOQUENT 4
ELOQUENT WHITELIST / BLACKLIST 5
ELOQUENT CONNECTING TO DIFFERENT DB DRIVES 6
ELOQUENT CONNECTING TO DIFFERENT DB DRIVES 7
ELOQUENT CHANGING CONNECTION DYNAMICALLY 8
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 9
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 10
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 11 http://bit.ly/laravel-random-trait
ELOQUENT EAGER LOADING 12
ELOQUENT LAZY LOADING AND HYDRATORS 13
ELOQUENT LAZY LOADING VE HYDRATOR 14
ELOQUENT SETTING ALIASES TO RELATIONS 15
ELOQUENT SETTING ALIASES TO RELATIONS 16
ELOQUENT RECURSIVE RELATIONS 17
ELOQUENT RECURSIVE RELATIONS 18
ELOQUENT MODEL EVENTS AND ADDING VALUES DYNAMICALLY 19
ELOQUENT MODEL EVENTS AND ADDING VALUES DYNAMICALLY 20
ELOQUENT CONDITIONAL RELATIONS, SORTING AND FILTERING 21
ELOQUENT DATE BASED FILTERINGS 22
ELOQUENT ACCESSORS 23
ELOQUENT FILTERING OVER RELATIONS 24
ELOQUENT NESTED RELATION FILTERING 25
COLLECTIONS 26
COLLECTIONS CREATING MANUALLY, APPENDING, FILTERING 27
COLLECTIONS PREPENDING, AND CREATING A COLLECTION FOR DROPDOWN(S) 28
COLLECTIONS KEYS OF THE COLLECTIONS 29
MISC 30
MISC ROUTE GROUPS 31
MISC SELF-REFRESHING CACHE 32
MISC WHOOPS WITH LARAVEL 5.X 33 http://bit.ly/laravel-5-whoops
MISC CALLING DIFFERENT .ENV FILES CONDITIONALLY 34 (Don’t do it)
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 35
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 36
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 37
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 38
http://bit.ly/laravel-view-composer-seo
QUESTIONS? 39 https://github.com/Ardakilic/phpkonf-2016
THANKS! 40 twitter.com/ardadev github.com/ardakilic linkedin.com/in/ardakilicdagi