Code and Development
Drupal 7 is no longer an excuse to write old-fashioned PHP.
I am going to describe a number of techniques that allow a module developer to apply the best practices from Drupal 8 and modern PHP to a Drupal 7 module.
"The front-end moves faster than Drupal, whether Drupal likes it or not".
This reference from "The state of the Front-end" session at DrupalCon Amsterdam explains that we need different ways to retrieve content from a Drupal site for an easy integration with new front-end frameworks.
So you've just installed the Drupal base package and you've just started out exploring. You've created a few content items and the odd block? Great! You've probably noticed that Drupal doesn't do much out of the box. So, what's next the next stop? Creating lists of content of course!
Is there a magic formula to answer the question: "Should I use views to make this list?".
I don't really know but we asked ourselfs this question way back and came up with a couple simple rules when to use views and when not.
In Drupal 8, we've significantly improved the way pages are rendered. I will explain the entire render pipeline, which will also cover:
Easily managing content with Drupal is pretty awesome. Displaying content the way you want it, now there's a challenge. Out of the box, Drupal core only provides minimal flexibility.
Drupal 8 is now in the beta phase, as announced in DrupalCon Amsterdam a few weeks ago.
The Drupal 8 Configuration Management system is now well established in core, aiming at making it much simpler to transport configuration changes from development to production.
As Drupal moves closer to object orientation, a common language is needed to talk and reason about objects.
Learning PHP’s syntax for classes, objects, interfaces, and traits, is one thing. But that doesn’t tell you much about how to use them.
We all know the classic use of Organic Groups, and most of us are aware of Open Atrium. The basic idea is usually the same: create communities, groups of people, and allow them to share content within their community.