SymfonyCasts 🇺🇦

3.4K posts

SymfonyCasts 🇺🇦 banner
SymfonyCasts 🇺🇦

SymfonyCasts 🇺🇦

@SymfonyCasts

Injecting Unicorns and Rainbows back into learning PHP // The official way to learn Symfony: https://t.co/9eMhkJPzhF

Grand Rapids, MI Katılım Aralık 2011
76 Takip Edilen8.2K Takipçiler
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #37 To set up priority transport/queues with RabbitMQ & Symfony Messenger, we'll leverage the "exchange" and "queues" config. Let's learn exactly what these powerful options control & use them to make some messages more important than others! symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
9
503
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #36 Ever wanted to know how RabbitMQ/AMQP works? All that exchange and queue stuff? We've got you covered, with diagrams & a real-life example to track a message through the *entire* lifecycle in Symfony Messenger. Hey, Rabbit is fun! symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
2
10
628
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #34 If a message in Messenger has multiple handlers, can you prioritize one handler over another? Yep! With the combination of priority transports and the interesting "from_transport" handler option. #Symfony symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
1
7
495
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #33 One of my favorite features of Messenger is how easy the setup is: Symfony automatically links a message to a handler by reading your type-hint. What if you need more control? Say hello to a message handler *subscriber* symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
6
369
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #31 Ready to see a cool Symfony services config trick? We can use auto-registration, sub-directories and tags to bind our command handlers *only* to the command bus and our event handlers *only* to the event bus. An optional, but geeky-fun step! #Messenger symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
1
2
349
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #30 Messenger has a few other built-in, but optional middleware that we haven't talked about yet. Let's look into the validation & doctrine_transaction middleware, talk about what each does and why you might (or might not) choose to use them #Symfony symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
3
340
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Twig loads all extensions on each request - even unused ones. To keep things fast, push heavy logic into a Twig runtime. Pro tip: the runtime can be any service, not just something Twig-specific. 👉 symfonycasts.com/screencast/bun…
SymfonyCasts 🇺🇦 tweet media
English
1
3
6
684
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #29 If Symfony has an EventDispatcher... and also Messenger is able to dispatch events... what’s the difference between EventDispatcher & Messenger? And when should I use one versus the other? Excellent question! symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
3
472
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #28 We’ve created an “event” and an “event handler”. Let’s finish this by dispatching that into our Messenger-powered event bus. Also: what happens if an event has *no* handlers? In a perfect world... that should be allowed. #Symfony symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
2
316
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #26 We’re on our way to start using Messenger as an event bus! Let’s configure a separate bus service for this & see “named autowiring” in action: the system that allows you to autowire different message bus services in different situations #Symfony symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
5
347
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
When building bundles, not every class is meant to be used by end users. My preference is to mark those as "internal", and "hide" services so they don’t show up during container debugging. Here’s how I do it 👉 symfonycasts.com/screencast/bun…
SymfonyCasts 🇺🇦 tweet media
English
1
0
9
596
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #25 When you deploy new code to your Symfony app, will your workers see the new code? Not until you restart them! Let's learn about a new command to restart *all* workers, some options to make sure workers don't run too long & a gotcha about updating messages symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
2
11
732
SymfonyCasts 🇺🇦
SymfonyCasts 🇺🇦@SymfonyCasts·
Rewind ⏪ Symfony Messenger #24 Deploy time! Messenger is delivering messages to our queue... but how do we run our workers on production? If your host doesn't handle it for you, Supervisor will. Let's get this wonderful tool set up, kill some workers & watch them restart #Symfony symfonycasts.com/screencast/mes…
SymfonyCasts 🇺🇦 tweet media
English
0
0
3
321