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
Symfony 4.1 What's New?
Search
Tim Jabs
May 30, 2018
Technology
4
1.1k
Symfony 4.1 What's New?
Tim Jabs
May 30, 2018
Tweet
Share
More Decks by Tim Jabs
See All by Tim Jabs
Symfony 4.2 updated
rubinum
0
110
Symfony 4.2
rubinum
0
590
Other Decks in Technology
See All in Technology
AWS環境におけるランサムウェア攻撃対策の設計
nrinetcom
PRO
0
120
Wantedly での Datadog 活用事例
bgpat
1
580
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
18
5.2k
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
200
UI State設計とテスト方針
rmakiyama
2
740
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
Server-Side Engineer of LINE Sukimani
lycorp_recruit_jp
0
300
ハイテク休憩
sat
PRO
2
170
3年でバックエンドエンジニアが5倍に増えても破綻しなかったアーキテクチャ そして、これから / Software architecture that scales even with a 5x increase in backend engineers in 3 years
euglena1215
7
1.6k
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
170
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
270
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Embracing the Ebb and Flow
colly
84
4.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
What's in a price? How to price your products and services
michaelherold
243
12k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Done Done
chrislema
182
16k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Become a Pro
speakerdeck
PRO
26
5k
Transcript
SYMFONY 4.1 WHAT'S NEW? 1
Who am I? Tim Jabs Software Developer @ Sensiolabs
Deutschland 2
FASTEST PHP ROUTER !3
FASTEST PHP ROUTER !4 • matcher class refactored based on
an article Fast request routing using regular expressions • Technique based on FastRoute made by Nikita Popov • optimisation through avoiding preg_match calls each route
FASTEST PHP ROUTER !5 • Symfony 4.1 URL matching is
77x faster than in previous versions • The Symfony Router is now the fastest PHP router, beating FastRoute and all other routing libraries
INTL ROUTING 6
INTL ROUTING !7 • JMSI18nRoutingBundle features now in Symfony out-of-the-box
• you can define now different paths per locale
8
!9
SERIALIZER IMPROVEMENTS 10
SERIALIZER IMPROVEMENTS Faster Serializer !11 • 40% faster serialisation •
new CacheableSupportsMethodInterface for caching supportsNormalization()
CONSOLE IMPROVEMENTS 12
CONSOLE IMPROVEMENTS !13
!14 Autosuggestions
!15 New table styles
!16 New table styles
!17 New methods for customising tables
!18 Support for outputting iterators
ADVANCED CONSOLE IMPROVEMENTS 19
ADVANCED CONSOLE IMPROVEMENTS !20 • render multiple sections simultaneously •
add new rows to tables
!21 Adding sections to your console app
!22
!23
!24
NEW MESSENGER COMPONENT 25
NEW MESSENGER COMPONENT !26 • comes with an built-in AMQP
Adapter • has a built-in way to send and receive messages
!27
!28
!29
VAR DUMPER SERVER 30
!31 • VarDumper has now a server to collect all
dumped data • can be dumped as HTML VAR DUMPER SERVER
32
33
34
35
THANK YOU 36
REFERENCES !37 • https://symfony.com/blog/new-in-symfony-4-1-fastest-php-router • https://symfony.com/blog/new-in-symfony-4-1-internationalized-routing • https://symfony.com/blog/new-in-symfony-4-1-faster-serializer • https://symfony.com/blog/new-in-symfony-4-1-serializer-improvements
• https://symfony.com/blog/new-in-symfony-4-1-console-improvements • https://symfony.com/blog/new-in-symfony-4-1-advanced-console-output • https://symfony.com/blog/new-in-symfony-4-1-messenger-component • https://symfony.com/blog/new-in-symfony-4-1-vardumper-server