Based on requirements of a couple projects that I am currently working on, I was in the need to create a content entity type in Drupal 8, and as usual I decided to go ahead and do what every developer does, RTFM and follow the steps as shown on the official documentation.
I want to share a series of blog posts I wrote on the Blink Reaction site, on these articles I shared some ideas about what's comming on Drupal 8, Symfony components and other concepts related to modern PHP development that are going to be part of "The New Drupal Way".
The following code here was an exercise I was working on, my goal was to load a template and a CSS asset file from a Controller in Drupal 8.
As you can see here, in my first iteration I was over engineering the solution as I explain on the next points.
Almost two weeks have been passed since Florida DrupalCamp ended and I am still in shock how amazing this Camp was. I found the session schedule really interesting with topics focusing on the upcoming release of Drupal 8 and content related to Symfony, Composer, Twig & Migration in core. I highlighted those topics since are related to the sessions I did attend and have listed here.
The purpose of this post is to build a basic "Hello
World Drupal" module in Drupal 8 porting the Acme Demo Bundle from Symfony 2 as a Drupal 8 module.
You can see the files and their content below.