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
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
7
2.8k
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
140
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
150
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
210
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
150
Hotwire or React? ~Reactの録画機能をHotwireに置き換えて得られた知見~ / hotwire_or_react
harunatsujita
9
4.1k
macOS でできる リアルタイム動画像処理
biacco42
7
1.9k
OpenTelemetryでRailsのパフォーマンス分析を始めてみよう(KoR2024)
ymtdzzz
4
1.6k
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
3.1k
Vitest Browser Mode への期待 / Vitest Browser Mode
odanado
PRO
2
1.7k
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
110
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Cost Of JavaScript in 2023
addyosmani
45
6.6k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Fontdeck: Realign not Redesign
paulrobertlloyd
81
5.2k
Happy Clients
brianwarren
97
6.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.8k
RailsConf 2023
tenderlove
29
880
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Rails Girls Zürich Keynote
gr2m
93
13k
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