Journey to the Center of Symfony: HttpKernel Request-Response

Let's not just use Symfony, let's conquer it! In this series, you and I will journey to the center of Symfony by ripping open the source code, adding debug statements and seeing what really happens between the request and the response. It's as geeky-awesome as it sounds.

Besides dinosaurs, expect to do the following on our adventure:

  • Create an event listener that does amazing things
  • Step through the HttpKernel::handle() method that's used in Symfony and Drupal 8
  • See where event like kernel.request, kernel.response and others are dispatched
  • Learn about request attributes and the magic they give us
  • Find out what is a sub-request and how to handle it
  • Create your own sub-request manually

Your Guides

Ryan Weaver Leanna Pelham

Questions? Conversation?

  • 2016-02-26 weaverryan

    Thanks Łukasz - that's really awesome of you and means a lot to me! It was definitely my goal to not "lock up" the knowledge :). Cheers!

  • 2016-02-26 Łukasz Zaroda

    Hello! I would just like to say that I paid for a yearly subscription, not because I really needed it, because you are publishing all videos scripts for free, and I could just dig through them, but at the same time I really wanted to show you my appreciation precisely for this - for you giving away the knowledge for which in any other place I would need to pay, and no product satisfies me more than seeing that great approach to people (and not only customers). Really great job at not hiding a knowledge and still profiting from it. Cheers :) .

  • 2015-02-25 weaverryan

    Ah, so happy to hear that! Thanks for the comment :)

  • 2015-02-25 Tanariel

    Hello Ryan,

    This tutorial is a really nice journey through the guts of Symfony.

    I'm using the framework since nearly 2 years now and i can't stress enough how this course made clear some parts of code i was using without fully understanding the "how" that was behind. It really opened new horizons to me.

    Thank you really much for this quality course.

  • 2014-12-13 s.molinari

    If at all possible, one subject I am still stuck on is doing unit testing with Symfony. I am sure I am not the only one.;)

    Scott

  • 2014-12-12 Francisco J.

    thanks!!

  • 2014-12-12 weaverryan

    Hey Francisco!

    We just uploaded the full video :).

    Cheers!

  • 2014-12-12 weaverryan

    Haha, I love to hear this! :)

    We're doing some planning next week, and after that, we'll put up the next round of upcoming screencasts (with dates of course!). And if you're on the mailing list, we'll ping you there too.

    Cheers!

  • 2014-12-12 s.molinari

    Doh!

    You are killing me! But, in a nice way.:D This is a great tutorial (now that it is finished and thanks for noting the publishing date!;)). But, phew! I knew the basics of Symfony and this tutorial opened my eyes even wider to the possibilities with Symfony and how things actually work internally. Great job Ryan!

    But, then you mention a couple of these great possibilities with subrequests in the last video and I am like "Yes, HTTP caching and ESI! Huh? Noooooo! Say what? That is the end! More coming in new videos? Darnit!" *Wiping drool from sides of mouth*

    Looking very forward to those next videos and thank you for these!:D

    Scott

  • 2014-12-11 Francisco J.

    Great tutorial, this course has no option to download the video?
    greetings.

  • 2014-12-09 docLommy

    Hey, Ryan !

    Learning Symfony with your tutorials at hand was so much fun, at the same time it already helped me a lot.

    I guess that distilling best practices out of topics such as APIs is a troublesome task, and I'm quite happy that someone takes action on it. So I'd say you may just take all the time it takes for bringing them to a real good end.

    IMO subscription is well worth every cent - and be it just as some sort of support, thnx :)

    Markus

  • 2014-12-04 s.molinari

    That is great Ryan. Glad I could help. I think you have a good thing going, as these have to be some of the best quality videos on the Internet currently for learning PHP and Symfony. I am going to go get a month's subscription. Thanks and looking forward to the improvements. Especially more news on future video releases. :)

  • 2014-12-04 weaverryan

    Hey Scott!

    Thanks for the questions and feedback! I can use this to help make things more clear - because these are good questions. So:

    1) When you get the monthly subscription, you can have it for as little as 1 month. That's totally ok and up to you :). And yes, that would be a good deal indeed! As we post more and more content this month and 2015, the yearly will make more sense (because you'll see more consistent, new content). But the choice is still yours.

    2) I think you're right about having the dates! I'll work to put that in soon - I agree that there isn't good transparency into what is coming and when. We should fix that. And the notification ability is available to everyone, but not once the first chapter appears (we should fix that too!).

    I hope this helps - feel free to drop questions or feedback at any time. And thanks for the nice words about the videos!!!

    Cheers!

  • 2014-12-04 s.molinari

    I am just short of getting a subscription, but I just don't have a feeling about what I am purchasing or why I should, other than I like the videos a lot. They are well done and professional and I am learning! However, these are my contemplations about continuing to support you as a customer.

    I can see all the videos available, however, if I paid for them all separately, they are a total purchase value of around $100. If I pay for a year, I am paying for a lot in advance, with only one tutorial showing in work. I think I'll avoid the yearly subscription, because I don't see the value.

    If I pay for a month and from the timing show, I'd probably get most of the training done in that month. $25 for just over $100 of videos. Nice! That is value. But, am I locked into a year of payments? Or can I stop any time? There is nothing mentioned in the terms about the subscription policy. That sort of stops me from going with a subscription. If you tell me I can stop at any time, I'll be buying a month's worth and we'll go from there.

    I see this tutorial (and why I ended up commenting on it), and I am very interested in it, but I don't see when the rest of it will be made available. I really think planned dates for release of videos, even if roughly with "in the week of", should be published and not "This course is still being released! Check back for more." Why should I check back for anything? This is an Internet service!:D I feel, if I am a customer, I should either expect a release on a certain date and also get a reminder, when it is released. You actually have this feature for guests!:)

    Hope I could help! I am not complaining. I wanted to just give you my point of view as a "customer".

    Scott

  • 2014-11-23 xdrew

    Great agenda)