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
Platform Engineering ことはじめ
oracle4engineer
PRO
8
810
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
250
データの信頼性を支える仕組みと技術
chanyou0311
6
1.6k
AWS パートナー企業でテクニカルサポートに従事して 3年経ったので思うところをまとめてみた
kazzpapa3
1
220
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
3
260
徹底比較!HA Kubernetes ClusterにおけるControl Plane LoadBalancerの選択肢
logica0419
2
140
ドメイン名の終活について - JPAAWG 7th -
mikit
29
17k
mikroBus HAT を用いた簡易ベアメタル開発
tarotene
0
270
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
Microsoft MVPになる前、なってから/Fukuoka_Tech_Women_Community_1_baba
nina01
0
170
マイベストのデータ基盤の現在と未来 / mybest-data-infra-asis-tobe
mybestinc
2
1.9k
第23回Ques_タイミーにおけるQAチームの在り方 / QA Team in Timee
takeyaqa
0
190
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
360
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.2k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Speed Design
sergeychernyshev
24
600
Ruby is Unlike a Banana
tanoku
96
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
810
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