For the third year in a row, BuildAModule will be offering our world-class training at DrupalCon. Last year it was one of the highest rated trainings, and this year we aim to make it even better! Registration will be available next week on April 1st, but we wanted to let you know now so you can be ready to sign up before it sells out. The course will is called "Drupal for Beginners", but all skill levels are welcome to join. In fact, the class will work even better with a wide variety of experience levels in the class. To get a sense of the structure of the class, you can read the outline from last year's training.
If you have any questions about the training, just respond to this newsletter. We'd love to have you and your team!
And of course, 5 NEW videos added in "Drupal 8 Developer Prep"
How to convert our pages to use a controller function - 5:16
We explored the idea of controllers in our object-oriented programming section, and here we put our knowledge to good use by creating a controller function to route our pages through.
In the last video we created our controller function and updated our front controller to use it. In this video we finish up the process of converting to a controller by adding a new parameter to each member of our routing array.
Replacing our app with one that calculates leap years - 2:55
Our ‘hello’ and ‘bye’ pages were good to give our framework multiple pages to work with, but what happens when we have a more complicated application? In this step we replace our simple pages with a page that performs some actual calculations, and we’ll evolve it through the rest of the videos in the Symfony section.
(FREE!) How to create a controller class, and how to tell what are valid PHP callbacks - 2:47
In one of our previous steps we created a controller function to route all of our pages through. In this video we demonstrate how to build a real, genuine controller class (much like what you’ll see in Drupal 8).
How to use the controller resolver and install the Http Kernel component - 3:32
Now that we have our controller set up as a class, we’re going to use a controller resolver (part of the Http Kernel component) to allow for lazy-loading of our controllers. Lazy-loading is always kind of awesome.