Drupal

18 cool Drupal 8 modules for site builders

Joris Snoek gives us his top list of Drupal 8 modules for site builders:

Furthermore, what I noticed last month on module updates: ... Validating a form in your Drupal website without refreshing the page. This widely used module now offers a Release Candidate for Drupal 8.

Useful list, even for Drupal 7 builders.

Drupal 8: BigPipe module ready

Wim Leers writes about Drupal 8's Big Pipe module, his quest to make the entire web fast:

Rather than explaining what it does, see for yourself:

Front End Performance Strategy: Styles

Jason Stanbery writes about front-end performance with Drupal:

The quest for improved page-load speed and website performance is constant. And it should be. The speed and responsiveness of a website have a significant impact on conversion, search engine optimization, and the digital experience in general.

...

Once again we’ve demonstrated how sloppy front-end implementations can seriously hamper Drupal’s back-end magic. By favoring style sheet aggregation and reining in exuberant preprocessing, we can save the browser a lot of work.

Headless Drupal with Angular JS and Bootstrap - Hello World

Tyler Frankenstein presents a short introduction to headless Drupal:

This tutorial describes how to build a very simple de-coupled Drupal web application powered by Angular JS and Bootstrap. The inspiration for writing this tutorial came after completing my first Angular JS module (angular-drupal), which of course is for Drupal!

Drupal Performance Optimization Checklist

Neerav Mehta presents an exhaustive list of things you can do to make your Drupal site fly:

You must have read plenty of articles on how to tune your Drupal site to improve its page load times. This post assembles an exhaustive list of all the configurations and tweaks you can do to improve Drupal's performance.

Note that many optimisations mentioned by Neerav come default with Xplain Hosting such as Varnish and access to memcache.

Architecting a Drupal 7 module into multiple files

J.P. Stacey gives some useful advice in splitting that single big .module into several files:

In the Drupal modules that I inherit or review, I see a lot of different ways of factoring out into separate files, of what might have begun in the main module file. This can be useful for performance (to a limited extent) and legibility, but depending on how you do it, you might end up ironically spoiling both.

How should you break down your Drupal module files? Well, I'm not here to tell you the perfect file breakdown. Matching the architecture is good, although what "the architecture" means in Drupal 7 isn't clear. Outside of a Drupal 8/Symfony-style architectural model, there's a limit to how much the file breakdown really needs to match the architecture, and a limit to how useful doing so would be.

To Alter or Dispatch: Drupal 8 Events versus Alter Hooks

Lee Rowlands of previousnext discusses Drupal 8 events versus alter hooks, a great introduction to those new to Drupal 8's event system:

Drupal 8 comes with two extension points for module developers to allow other modules to interact with their code.

But there is a new kid on the block, the event system.

So as a module developer how do you decide whether to use the alter system or the event system.

Setting Up Drupal Bootstrap

Martin White writes about setting up Bootstrap, a reliable, responsive front-end framework to base their website/drupal theme upon:

For those looking for a reliable, responsive front-end framework to base their website/drupal theme upon, Twitter Bootstrap can be hard to beat. Luckily there is an existing, contributed theme available to take out the hard work of integrating Bootstrap and Drupal... Well nearly all the hard work.

This step by step tutorial hopes to serve as an extension to existing documentation for Drupal Bootstrap and strives to fill in a few blanks and signpost the odd 'gotcha' that can potentially leave the novice banging their head against their monitor. It assumes you already have a decent grasp of the drupal folder structure and a knowledge of LESS CSS preprocessor.

JSON or XML, what's best for your API

Lin Clark writes about the pros and cons of JSON and XML:

Now that Drupal 8 has built-in support for Web Services, you’re likely thinking about exposing the content in your site with an API. But should you make the data available in JSON, XML, or both?

Presentation: Backdrop: A Drupal Fork

Khalid Baheyeldin of 2bits recently did a presentation on Backdrop, a Drupal upgrade built on Drupal 7, not a complete rewrite like Drupal 8:

Backdrop is a fork of Drupal, based mostly on Drupal 7.x, and mostly compatible with its API. It also has some features from Drupal 8.x. It aims to provide an alternative that reduces the cost of ownership by minimizing the learning curve for developers.

Check out their powerpoint presentation.

Xplain Hosting is contemplating support for Backdrop.