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
120
Symfony 4.2
rubinum
0
600
Other Decks in Technology
See All in Technology
DatabricksのOLTPデータベース『Lakebase』に詳しくなろう!
inoutk
0
160
2025-07-31: GitHub Copilot Agent mode at Vibe Coding Cafe (15min)
chomado
1
200
Expertise as a Service via MCP
yodakeisuke
1
160
ビジネス文書に特化した基盤モデル開発 / SaaSxML_Session_2
sansan_randd
0
160
隙間時間で爆速開発! Claude Code × Vibe Coding で作るマニュアル自動生成サービス
akitomonam
2
210
経験がないことを言い訳にしない、 AI時代の他領域への染み出し方
parayama0625
0
270
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
610
「AI駆動開発」のボトルネック『言語化』を効率化するには
taniiicom
1
220
Ktor + Google Cloud Tasks/PubSub におけるOTel Messaging計装の実践
sansantech
PRO
1
340
claude codeでPrompt Engineering
iori0311
0
530
株式会社島津製作所_研究開発(集団協業と知的生産)の現場を支える、OSS知識基盤システムの導入
akahane92
1
1.3k
LLMでAI-OCR、実際どうなの? / llm_ai_ocr_layerx_bet_ai_day_lt
sbrf248
0
300
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Faster Mobile Websites
deanohume
308
31k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
Building Applications with DynamoDB
mza
95
6.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Why Our Code Smells
bkeepers
PRO
337
57k
Speed Design
sergeychernyshev
32
1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
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