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
about Laravel 5.3
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
localdisk
September 12, 2016
Technology
1k
1
Share
about Laravel 5.3
Laravel Meetup Vol.8 で話したスライドです。
localdisk
September 12, 2016
More Decks by localdisk
See All by localdisk
Laravelにおける後悔しないためのアプリケーション設計
localdisk
8
6k
Laravel の効率的な学び方
localdisk
9
3.4k
逆引きLaravel
localdisk
7
13k
Other Decks in Technology
See All in Technology
AgentCore×VPCでの設計パターンn選と勘所
har1101
3
280
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
380
「SaaSの次の時代」に重要性を増すステークホルダーマネジメントの要諦 ~解像度を圧倒的に高めPdMの価値を最大化させる方法~
kakehashi
PRO
3
1.1k
Choose your own adventure in agentic design patterns
glaforge
0
140
EarthCopilotに学ぶマルチエージェントオーケストレーション
nakasho
0
300
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
250
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.1k
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
130
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
130
ぼくがかんがえたさいきょうのあうとぷっと
yama3133
0
190
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
6
740
マルチエージェント × ハーネスエンジニアリング × GitLab Duo Agent Platformで実現する「AIエージェントに仕事をさせる時代へ。」 / 20260421 GitLab Duo Agent Platform
n11sh1
0
160
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Bash Introduction
62gerente
615
210k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
The Language of Interfaces
destraynor
162
26k
We Have a Design System, Now What?
morganepeng
55
8.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
490
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
Discover your Explorer Soul
emna__ayadi
2
1.1k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
Designing for Timeless Needs
cassininazir
0
200
Transcript
about Laravel 5.3 Laravel Meetup Vol.8 @localdisk
ࣗݾհ দඌେ ·͓ͭ·͞Δ EEE ΤϯδχΞ Πϊϕʔλʔδϟύϯॴଐ ΤϯδχΞɾσβ ΠφɾσΟϨΫλΛืूத ධൃചத
@localdisk
• New Feature5.3 • SimplePagination • Notification • Upgrade •
Auth • MySQL strict Mode • Upgrade͖͔͢? Agenda
Simple Pagination New Feature 5.3
5.3ҎલPresenterΛఆٛ͢Δඞཁ͕͋ͬͨ Pagination customize is
// Blade͕ࢦఆͰ͖ΔΑ͏ʹͳͬͨʂ {{ $users->links(‘pagination::bootstrap-4’) }} ΧελϚΠζ php artisan vendor:publish --tag=laravel-pagination
• bootstrap-4.blade.php • default.blade.php • simple-bootstrap-4.blade.php • simple-default.blade.php Pagination customize is
• $paginator • Illuminate\Pagination\Paginator • hasPages - ϖʔδ͕͋Δ͔? • onFirstPage
- ࠷ॳͷϖʔδ • previousPageUrl - લͷϖʔδ • nextPageUrl - ࣍ͷϖʔδ • hasMorePages - ࣍ͷϖʔδ͕͋Δ͔ Pagination Ͱ͏ϝιου
• $elements • LengthAwarePaginatorͷΈ • paginateϝιουLengthAwarePaginator • simplePaginatePaginator • [ϖʔδ൪߸
=> URL] ͷ array PaginationͷϦϯΫͰ༻͞ΕΔม
Notification New Feature 5.3
• ௨Ϋϥε • ࠓ·ͰEvent࡞ͬͯΞϨίϨؤு͍ͬͯͨͷ͕ ਵָʹͳΔ • Ϣʔβʔ͕ొ͞Εͨ • Ϣʔβʔ͕Λങͬͨ •
͓͍߹Θ͕ͤ͋ͬͨ • Notification
• ඪ४Ͱ༻ҙ͞Ε͍ͯΔ௨ • Mail • Database • SMS • Slack
• Laravel Notification Channels • http://laravel-notification-channels.com/ Notification
• ௨ΫϥεΛ࡞͢Δ(make:notification) • ௨ରͷΫϥεʹ Notifiable traitΛuse͢Δ class User { use
Notifiable; } $user->notify(new UserRegisterd); • EventExceptionHandlerͱซ༻͢Δ Notification
Upgradeʹ͍ͭͯ Upgrade 5.3
• ݁ߏมΘͬͯΔ • Route • logout͕POSTʹͳͬͨΓ • 5.3ҎલͷAuthΛͬͯΔ߹मਖ਼͕ඞཁ • Route::get('/logout',
‘Auth\LoginController@logout'); • ύεϫʔυϦηοτʹNotification͕༻͞Ε ͯͨΓ • https://laravel.com/docs/5.3/upgrade Auth
• false -> true • ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,N O_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DI VISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_EN GINE_SUBSTITUTION
• ࡶͳSQLॻ͍ͯΔͱͻͲ͍ʹ͍͋ͦ͏ MySQL Strict Mode
• ࣮ͦΜͳʹେม͡Όͳ͍ • 5.3ͷ৽ػೳ͕͍͍ͨ or 5.2ΛͬͯΔͷͰ ͋Ε͓ͬͯ͘ͷ͕Φεεϝ • 5.1ͬͯΔਓ͓ΈͰ Upgrade͖͔͢?
• http://tech.innovator.jp.net/entry/ 2016/08/17/115629 • http://tech.innovator.jp.net/entry/ 2016/08/02/111614 ࠓͷ༰େମϒϩάʹॻ͍ͯ·͢
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ