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
20241108_CS_LLMMT
shigashiyama
0
250
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
190
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
110
Datadog RUM を用いた UX 指標の監視・顧客対応への活用
imamura_ko_0314
0
110
Exadata Database Service on Cloud@Customer セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
0
1.1k
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
250
10分でわかるfreeeのQA
freee
1
3.5k
信頼性に挑む中で拡張できる・得られる1人のスキルセットとは?
ken5scal
1
400
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Railsで4GBのデカ動画ファイルのアップロードと配信、どう実現する?
asflash8
1
210
mikroBus HAT を用いた簡易ベアメタル開発
tarotene
0
270
OCI Data Integration技術情報 / ocidi_technical_jp
oracle4engineer
PRO
1
2.6k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
The Invisible Side of Design
smashingmag
297
50k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Producing Creativity
orderedlist
PRO
341
39k
What's in a price? How to price your products and services
michaelherold
243
12k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Faster Mobile Websites
deanohume
305
30k
It's Worth the Effort
3n
183
27k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Building an army of robots
kneath
302
42k
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