Home / Resources / Blog / Drupal 8

Drupal 8 Blog Series & Resources

Drupal 8 Wins: Avoiding the Dead Hook Blues, Part 2

Drupal 8 Wins: Avoiding the Dead Hook Blues, Part 2 - In today's conversation, Larry Garfield, Kris Vanderwater, and I go over the Go PHP 5 project as the first seeds of cooperation between different PHP projects, how the Symfony2 framework became part of Drupal 8, why we aren't building Drupal 8 on Symfony full-stack, CMI, abstraction in Drupal, and the future of Features in Drupal 8. In August 2013, I spoke with Larry Garfield and... More

2014 Global Drupal 8 Sprint Weekend

Cross-posted with permission from Genuine Interactive Come and be a part of the 2014 Global Drupal 8 Sprint Weekend at Genuine on Saturday, Jan. 25! Drupal 8 has been making great headway in the last few months and we’re aiming to push it further! Join us from 10 a.m. – 5 p.m. to contribute to the Drupal community and help prepare Drupal 8 for beta release. Genuine and co-sponsor, Acquia, welcomes anyone who has built a site in Drupal, including non-programmers. We’ll kick... More

Drupal 8 Wins: Avoiding the Dead Hook Blues, Part 1

Drupal 8 Wins: Avoiding the Dead Hook Blues, Part 1 - In August 2013, I spoke with Larry Garfield and Kris Vanderwater in a 90+ minute live Hangout on Air about the origins, details, and implications of the big architectural changes coming in Drupal 8. Today's video and audio podcasts are the first set of "curated" excerpts from that long conversation. We cover Larry and Kris's Drupal backgrounds, early Drupal memories, compare Drupal 4 to Drupal 7 and 8, some pragmatic reasons to choose Drupal, and how to... More

An Introduction to RESTful Web Services in Drupal 8

Cross-posted with permission from drupalize.me One of the Drupal 8 initiatives that really excites me is Web Services. Drupal has never been easy to work with as a web service, but all that is about to change! In this article I am going to explore what has been going on behind the scenes with RESTful Web Services in Drupal Core and attempt to implement some working examples. After reading, you will be able to create a new node on your site via the Drupal 8 Core REST API. Please remember that... More

Learning Through Celebration

Cross-posted with permission from Drupalize.Me During DrupalCon Prague I had the pleasure of giving a presentation about teaching Drupal 8 as part of the core conversations track. In the presentation I talked a lot about providing a good learning environment for people starting with Drupal 8, and removing the fear and uncertainty that are so... More

Drupal 8 - Improved upgrade process

It is my pride and pleasure to announce that Drupal 8 will ship with a migration path from both Drupal 6 and Drupal 7. This is a first for Drupal, and is quite uncommon for most software projects. We love our elderly Drupal sites, and want them to be reborn as shiny new Drupal 8 sites. Behind this announcement is a major technical change in how Drupal implements major version upgrades. Drupal traditionally uses its update.php page and hook_update_N() functions to update a database to the... More

Battleplan for Search & Solr in Drupal 8

tl;dr Contrib Search maintainers are committed to make Drupal 8 kick ass with Search API. Search is a massively cool technology spectrum with loads of really tough problems such as language stemming, delivering search as a site scales and helping customers actually find what they want. However, solving these is not so easy. Let’s look at the history of Search and Solr in Drupal. Drupal 6 Drupal 6 got a great Apache Solr Search module, thanks to PWolanin and RobertDouglass. There was a 1.x and... More

Why you should be excited about Drupal 8

If you're a developer who has worked mostly in Drupal over the last several years and haven't come up for air and taken in the general direction of PHP application programming, you're in for an interesting ride. Many of us who developed our programming chops with Drupal have taken our cues from the Drupal codebase itself, where nearly all functionality is wrapped in functions, and where most big problems were solved in-house rather than being farmed out to third party libraries. One tendency has been to follow suit with our own code, which means that some of us have missed out one some major... More

Building an accessibility green board for Drupal

We are in the process of establishing an accessibility testing green board for Drupal. A green board will allow us to know when accessibility regressions are introduced to Drupal core as we approach the beta and release candidate stages of the Drupal 8 release cycle. The testing platform and tests are under development and progress is solid,... More

Tutorial: Drupal 8 WYSIWYG, inline and responsive images

There are some excellent improvements to modeling data in Drupal 8, including a number of new fields. This is going to make it easier to model content in Drupal. Let’s look at the image handling in Drupal 8 and what changes are in store. In this post we'll look at: The image field in Drupal 8 Inline images — the tradeoff Drupal 8’s WYSIWYG editor Drupal 8 inline images Responsive images in Drupal 8 (picture) Responsive support in Drupal 8, some issues you can help on. Correction: An earlier version of... More

Tutorial: Drupal 8 Sitebuilding - Modeling data with Fields

Sitebuilders will be able to do much more with Drupal 8 right out of the box. There are many excellent enhancements you'll want to know more about. Because new Drupal adopters will have the essential functionality of the most popular contributed modules to use, I think this is going to make Drupal easier to discover and learn. As the manager of our training program here at Acquia, I think it's going to make training much more... More

Writing loosely-coupled code is the path to great DX in Drupal 8

[This post brings together some of the ideas presented in my DrupalCon Portland talk on Dependency Injection and ideas presented in Mark Sonnabaum's DrupalCon Prague talk on writing unit-testable code] D8 now comes with PHPUnit, a unit testing framework for PHP. Many tests in core are being converted to unit tests: at the time of writing there are 845 tests making 1992 assertions and it takes... More

Starting a Content Strategy for Drupal 8

Templates have a bad rap. For some, a templated webpage conjures up the image of a stale page with a bad layout. I’d like to rehabilitate the reputation of templates. Especially as we start thinking about Drupal 8, and the opportunity it presents to rethink how we use templates. “Template” should make you think of fast delivery with dynamic content. Is every page on your site custom built? Custom HTML/CSS? I hope not, but it does end up happening when you have unique design and features on specific landing pages. What about those people that edit a page and expect the layout to work like... More

Tutorial: Drupal 8 Site Building preview - Less is more

(updated Oct 8- went from 14 contrib modules you don't need to 32! thanks to larowlan, klausi, webchick, swentel, gabor and wim leers for heads-up!) Over the next couple of weeks, I’ll dig into the main Drupal 8 site building tasks and how they’ve been changed in the next version of Drupal. In today’s introduction, I want to give you some observations about the site building experience in Drupal 8. I’m starting in this post by pointing out what modules are GONE from core in Drupal 8- and what contrib modules you won’t need to install since that functionality is included in Drupal 8. On... More

Live Drupal 8 video podcast Oct. 4/5 - D8 won't kill any kittens

Tomorrow (October 4/5, 2013 depending on your timezone) I will be hosting a live Hangout on Air with three major Drupal contributors: Lee Rowlands, Tim Plunket, and Daniel Wehner about what's going on in Drupal 8 and how you will benefit from the all the new stuff. Join us for this live Hangout on Air (you'll be able to watch the live stream on the G+ event page) and post your questions there, too. Sign up, RSVP, invite your friends! Since we... More

Content editing enhancements in Drupal 8

Much of the community is focusing on the improvements to Drupal 8 under the hood. Now, based on modern PHP practices, a standardized framework, and an improved theming system, Drupal 8 brings many enhancements for developers and designers. However, as a content editor familiar with Drupal 7, you might be wondering what you’ll find for you in Drupal 8. There are many improvements which you’ll notice as soon as you login. However there are many other little gems which you discover as you continue to use your new Drupal 8 site. For example in previous versions of Drupal, to edit the "authored... More

Drupal 8: Hello OOP, Hello world!

"Cross Posted from http://effulgentsia.drupalgardens.com" In the course of working on Drupal 8 and attending various Drupal events, I've met quite a few Drupal 7 module developers curious about what they'll need to learn to be successful Drupal 8 module developers. Several people in the Drupal community have started writing blog posts about that, including one earlier this week by Joe Shindelar on writing a Hello World module. In this post, I'd like to dive a... More

This Week in Drupal Core: October 3, 2013

"Cross Posted from groups.drupal.org" The most notable Drupal core news since last time around is DrupalCon Prague happened, with lots of Drupal 8 sessions, sprints, and all-around goodness. Dozens of core developers spent over 30 hours in 20 dedicated brainstorms and deep-dives to solve hard problems in Drupal 8 core, focusing on three critical areas: Drupal 8 API completion, developer experience (DX), and performance. The notes from these talks can be found at... More

9 Changes To Be Excited About In Drupal 8

(Cross-posted from DigitalBungalow.com) Although still lacking a firm release date, the upcoming launch of Drupal 8 will be sure to impact the CMS landscape for years to come. Already, it has sparked interest across a host of different fields. While developers are waiting tosee how this will affect with work flows, clients are already asking what this next iteration will do for them that isn’t already available in Drupal 7. Luckily, you don’t need to be a developer to understand all the working parts that go along with this latest update, and what it really means for the future of our... More

Drupal 8 OOP benefit 1 of many: entity types

Many people, including me, have been blogging about Drupal 8 and its transition to object oriented programming. One question that comes up often is why?, given the extra layers of abstraction, complexity, and verbosity that often accompanies that. Dries wrote a post, answering that question at a high level. In this post, I want to quickly highlight one place, entity types, where the abstractions have what I think to be very obvious and impressive benefits. I... More

This Week in Drupal Core: September 18, 2013

"Cross Posted from Drupal.org" Welcome to the inaugural entry in the "This Week in Drupal Core" series, which aims to highlight cool happenings in and around Drupal core for people who don't have their home pages set to http://drupal.org/project/issues/user (as shocking as it may be to hear, apparently these people exist ;)). Overall, energy in the core queue has largely been spent around readying things for DrupalCon Prague (in just a few short days,... More

Drupal 8: A View Into Performance

Drupal 8: A View Into Performance (This article does not represent the current state of Drupal 8 development.) Templating in Drupal 8 relies on Twig, but monitoring Views performance is still an open question. Views is one of the most installed Drupal modules with over two thirds of Drupal sites reporting that they have it installed. Soon,... More

Getting your site ready for Drupal 8

Note: Last update April 28, 2014 The drumbeat has started. On an almost daily basis, I'm asked How do I get my site ready for Drupal 8? Here is my best answer. If you go dutifully through this list, your site will be in peak condition when Drupal 8 is released. Start giving your administrators a taste of D8 now Significant parts of Drupal 8 are already available for Drupal 7. These modules are not quite as strong as their D8 counterparts, but they are a great investment you can make today. Get your admins excited about their future by... More

Live Drupal 8 Video Panel, Aug. 22, 2013

On Thursday, August 22nd, I will be talking with Drupal core contributors Larry Garfield and Kris Vanderwater in a live, recorded Hangout on Air. We will cover "Getting off the Island" and learning from other projects and technologies, the state-of-play in the Drupal 8 release cycle, the integration and use of the Symfony framework components, new development techniques, and more. Join us for this... More

Drupal 8: Building Twig Performance

(This article does not represent the current state of Drupal 8 development.) There's been a lot of excitement over Drupal 8's switch to Twig, a modern templating engine written in object oriented PHP code, but the process of making the switch happen has been an adventure on its own. The plan to adopt Twig required abandoning PHPTemplate completely, which is a mammoth undertaking requiring converting every Drupal 8 core template and theme function to a Twig equivalent. Even with a feature... More

Pages