Drupal Fire - Quick Roundup from important Drupal blogs and sites

Subscribe to Drupal Fire - Quick Roundup from important Drupal blogs and sites feed
News, views, tips, and tricks from the best Drupal developers, designers, and writers. All Drupal, all the time.
Updated: 1 hour 42 min ago

Presentation: Backdrop: A Drupal Fork

Tue, 2015-05-26 12:45

2bits (via DrupalFire)

Last week, Nathan Vexler of the University of Waterloo, and Khalid Baheyeldin of 2bits.com presented at the Waterloo Region Drupal Users Group on Backdrop.
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.

read more

Categories: Drupal Universe

We're sending a delegation to State of the Map US

Tue, 2015-05-26 00:00

Development Seed (via DrupalFire)

State of the Map US is around the corner. We’re sending a robust delegation to the United Nations for the biggest OpenStreetMap conference ever.

This is a critical meeting for OSM and for open data. OpenStreetMap is becoming too big to fail. It is now critical infrastructure for everything from urban planning to disaster response. We’ll join 1000 open mappers from dozens of countries at a truly international venue to discuss new opportunities and responsibilities for OSM.

We’ll be talking about:

We hope to see you there. There are still a few tickets left if you want to join us in New York and geek out on open mapping.

Categories: Drupal Universe

Geospatial World Forum kicks off

Mon, 2015-05-25 10:00

Development Seed (via DrupalFire)

The Geospatial World Forum kicks off today in Lisbon. We will be talking with NGOs, government agencies, and researchers about how they can use open geospatial data and open source software. Our Lisbon team will host an open geospatial happy hour on Thursday.

Open geospatial data is some of the most valuable data that government produce, generating billions of dollars in economic value and tremendous social good. Open geospatial data underlies everything from critical climate change research to many of the apps in your favorite app store.

Libra and Landsat-util are powerful open source tools for processing and analyzing Landsat data. On Thursday at 11:00 I’ll talk at the Open Data track about using these tools in combination with other open software like QGIS to work with open satellite data. At 9:00 Thursday Alireza and Nate will offer a hands on training on open tools for satellite data at the the Open Source Imagery Tools workshop.

We’ll continue the conversation about open data, mapping and satellites at an Open Geospatial Happy Hour on Thursday evening. If you are interested in open geospatial data, please join us. You don’t need to be at the conference to attend.

We look forward to meeting old and new geo friends while you are in Lisbon. If you want to meet me and our Lisbon team hit me up on Twitter.

Categories: Drupal Universe

Consultant Hobbies: Being Social

Fri, 2015-05-22 20:29

Metal Toad Media (via DrupalFire)

Consultant Hobbies: Being Social
May 22nd, 2015

Alex Laughnan

Hi Internets. 

This year marked my third consecutive trip to DrupalCon as both a developer and a volunteer social media-er (the millennial in me wants to say “Social Storyteller”). DrupalCon is a global conference that boasts several thousand attendees and highly educational, opinion-stirring sessions and BOFs. Thankfully, I work for some great organizations that have allowed me to balance my full-time duties (learning all the things) with volunteerism.

My role for DrupalCon is managing the North American social media channels. That means every single time you tweet @DrupalConNA, Facebook message the DrupalCon page, or even add a lil' #drupalcon hashtag on Instagram I am looking at you. Right at you.

Social media is a thing. A real thing. And it has a significant impact for the 3,000+ attendee conference. Tangible things that come to mind: disseminating information, answering questions in real-time, gauging community input and response to conference posts, and providing a medium for interactivity between the conference staff and attendees. At a high-level, these interactions are the pieces that I get to connect with participants on. 

But, Alex, how do you manage all the social things and learn like your boss told you to do? 

Great question, Internets. Great question.

The first answer is that I am not alone. There is an incredible team of people at the Drupal Association including Paul Johnson all of whom work to answer your questions, assist in writing copy and posts, and share in the beauty of cat gifs.

Second is Hootsuite or as I like to refer to it inside my mind, “the little miracle”. There is a variety of different products out there (Buffer, Tweetdeck, et al.) that provide some mechanism for looking at chains of content (either @ mentions, specific hashtags) and scheduling content. These are life savers. During the actual conference, I make sure to schedule important posts in advance so that any key information will be distributed to attendees at appropriate times. This leaves me space for intended learning and gives me the benefit of sharing pictures or forwarding tweets/posts that display the organic atmosphere that makes up DrupalCon and the Drupal community. 

I am thankful for the opportunity to connect with the community and appreciate that DrupalCon has taken me to some incredible places and spaces — looking at you Austin and Los Angeles — and taught me so many things (look for a future blog post on business-y things and Drupal 8). I am looking forward to New Orleans 2016 in the Big Easy and watching from afar at Barcelona and Mumbai!

Photo credit: Michael Schmid

Categories: Drupal Universe

New easy ways to explore Drupal 8's multilingual capabilities

Fri, 2015-05-22 12:57

Gábor Hojtsy (via DrupalFire)

The Drupal 8 multilingual team is really great in spreading know-how on the new things in the upcoming version, so we had our session (1h) and workshop (2h) recordings published and widely available. While we of course love our baby and can talk all day about it, who has hours when they just want to explore what is coming up? We just addressed that this week with the following.

1. New 2m22s introduction video with the key benefits
2. A quick summary of key benefits and an easy to skim features list

http://www.drupal8multilingual.org/#topbenefits lists the top 12 benefits and http://www.drupal8multilingual.org/features provides the more detailed information in an easy to skim text form. And yeah, that 1h session video if you have the time.

3. Easy to launch demo to try features out

Thanks to our work on the multilingual workshops for DrupalCons, BADCamp and DrupalCamps, we have a demo with sample content in 4 languages that you can try out in your browser for 30 minutes without any registration or local software install required thanks to simplytest.me.

4. Check out who voted with their feet already

Drupal 8 is not yet released, yet there are numerous live multilingual Drupal 8 sites helping with nature preservation, finding health professionals or concert tickets among other good uses. Now there is a handy list to review at http://www.drupal8multilingual.org/showcase.

If you like what you see, we still have guided workshops (those that last 2h). The next one is coming up right this Sunday at DrupalCamp Spain. We also believe that the multilingual team is one of the best to get involved with if you want to know Drupal 8 better and give back some to improve the new version as well. We have weekly meetings and a huge sprint coming up at DrupalCon Barcelona. Maybe we'll have some opportunity to celebrate as well. See you there!

Categories: Drupal Universe

DrupalCon Los Angeles Redux

Fri, 2015-05-22 08:11

Lullabot (via DrupalFire)

Last week most of Lullabot was at DrupalCon Los Angeles. In this episode Addison Berry, Greg Dunlap, Matthew Tift, Chris Albrecht, Helena Zubkow, and Will Hetherington share their thoughts and experiences from the whirlwind of awesome that is DrupalCon. We chat about the keynotes, and the contrast between them, session picks, the coffeepocalypse, the real value of DrupalCon, and let Greg rant a bit, which is always a fun romp.

Categories: Drupal Universe

Why WooMattic is big news for small businesses

Fri, 2015-05-22 03:38

Dries Buytaert (via DrupalFire)

Earlier this week Matt Mullenweg, founder and CEO of Automattic, parent company of WordPress.com, announced the acquisition of WooCommerce. This is a very interesting move that I think cements the SMB/enterprise positioning between WordPress and Drupal.

As Matt points out a huge percentage of the digital experiences on the web are now powered by open source solutions: WordPress, Joomla and Drupal. Yet one question the acquisition may evoke is: "How will open source platforms drive ecommerce innovation in the future?".

Larger retailers with complex requirements usually rely on bespoke commerce engines or built their online stores on solutions such as Demandware, Hybris and Magento. Small businesses access essential functions such as secure transaction processing, product information management, shipping and tax calculations, and PCI compliance from third-party solutions such as Shopify, Amazon's merchant services and increasingly, solutions from Squarespace and Wix.

I believe the WooCommerce acquisition by Automattic puts WordPress in a better position to compete against the slickly marketed offerings from Squarespace and Wix, and defend WordPress's popular position among small businesses. WooCommerce brings to WordPress a commerce toolkit with essential functions such as payments processing, inventory management, cart checkout and tax calculations.

Drupal has a rich library of commerce solutions ranging from Drupal Commerce -- a library of modules offered by Commerce Guys -- to connectors offered by Acquia for Demandware and other ecommerce engines. Brands such as LUSH Cosmetics handle all of their ecommerce operations with Drupal, others, such as Puma, use a Drupal-Demandware integration to combine the best elements of content and commerce to deliver stunning shopping experiences that break down the old division between brand marketing experiences and the shopping process. Companies such as Tesla Motors have created their own custom commerce engine and rely on Drupal to deliver the front-end customer experience across multiple digital channels from traditional websites to mobile devices, in-store kiosks and more.

To me, this further accentuates the division of the CMS market with WordPress dominating the small business segment and Drupal further solidifying its position with larger organizations with more complex requirements. I'm looking forward to seeing what the next few years will bring for the open source commerce world, and I'd love to hear your opinion in the comments.

Categories: Drupal Universe

the economy won't miss them

Thu, 2015-05-21 14:10

David Norman (via DrupalFire)

In reference to nonsense people.

Categories: Drupal Universe

nonsense people

Thu, 2015-05-21 14:09
Categories: Drupal Universe

Getting Started as a Board Director

Sat, 2015-05-16 18:06

Addison Berry (via DrupalFire)

A few months ago I ran for, and won, a seat on the Drupal Association (DA) Board as an At-Large Director. I'd like to share my journey with everyone, both to provide another look into the work that the board does, and to understand what it's like to be a new board member. I've now attended two board meetings (April and May) and taken part in my first board retreat, the weekend before DrupalCon LA. There's a lot going on, so I'll break this up into several posts.

On-boarding

Once I was elected, and the board confirmed the election results, Holly contacted me to let me know just before announcing it to the entire community. Shortly after that we scheduled a time to get on the phone, and I started getting access to a bunch of documents. I mean a whole bunch!

That first call with Holly was great for getting me oriented. She walked me through logistical things like board meetings, communication, necessary paperwork, and pointing me in the right direction with the documents to look at for various topics and back story. She also asked if I'd ever served on a board before, which I had not, and took time to explain what that means in terms of expectations for board members (things like publicly representing the board and identifying conflicts of interest). She also gave me a summary of the major topics from the last board retreat, which had occurred in January. She continued from there to summarize the big issues that the board was in the middle of discussing and working on, with an idea of what topics we were looking to tackle during the LA retreat in May. This was incredibly useful to prepare me for my first board meeting. I caught up on details by reading the minutes from the January retreat and this year's monthly board meetings. I didn't have many questions after my on-boarding and I felt prepared to dive into the conversations that were already ongoing.

One thing that I did right after that call was to set up times to chat one-on-one with the DA staff leadership team. I wanted to hear from each of them what they were working on, and understand what they needed to get from the board (and therefore me) to do their jobs better. It was a great introduction to the work that the staff takes on every day, and helped me clarify what I need to keep focused on to help them. It was also just awesome to get to know them a little more as people, which can be hard to do in our crazy, busy schedules.

Board Email

In addition to documents and phone calls, I was also added to the board email list. It is a pretty low traffic list, but I got to see a few conversations run through there prior to my first meeting. We had a thread to help clarify what info we needed to have for the meeting, and that board members should read reports ahead of time so we could get straight to things in the meeting itself. In addition to internal process things like that, this is also a place where members can raise issues they think we need to discuss or vote on in a meeting.

First Board Meeting

I was elected just a few weeks before the April board meeting, and I wasn't required to attend that meeting since I was still getting up and running, but I wanted to dive in. Board members are expected to make all monthly board meetings, with at least 10 a year being the minimum to attend. The time is a set time, and so one thing I knew before I even nominated myself was that I would need to make space for this 2-hour call every month on a Wednesday night from 9pm–11pm (since I live in Denmark).

A few days before each board meeting we all receive a meeting packet which has the agenda, phone connection info, links to any presentations or documents we should review, and a list of the DA key performance indicators (KPIs). This board packet is publicly available as well, and you can check them out yourself and even listen in on the board meeting. I spent some time to read everything over and think about what I might want to bring up in the conversation during the meeting.

I didn't have a whole lot to say as I was just trying to absorb as much as I could. We did however discuss releasing the election results, which I obviously had some thoughts about, having just come through the election process. This issue was a good example of how the DA works with community feedback. We have never released election data in the past, and we hadn't made that an expectation for candidates, so when people asked for the data, we couldn't just hand it out with considering a few things. I think we came up with a good solution to be able to release the data for this election, and we now have a plan in place to incorporate this in future elections. You can read more about this decision in Holly's post 2015 At-Large Election Data Released.

The first part of every board meeting is public (as mentioned above). After the public section, we drop off the phone and meet on another phone line with just the board, Holly, and needed staff. This is a place for us to discuss things that are still in progress, or to handle internal board matters. On this particular call we discussed things like reviewing the Q1 financials and and giving updates on board members' efforts to help raise funds for D8 Accelerate.

In my next post I'll give a rundown of the board retreat and my board experience at DrupalCon LA. A lot of people have asked me how I feel about being on the board after the retreat, and I have to say that I'm very happy. I felt the level and direction of conversation was great. I'll talk more about what that was, and why I'm so pleased, especially compared to my previous DA experience from many years ago.

drupal associationdrupal

Categories: Drupal Universe

David Eads On Building Tomorrow's Newsrooms

Fri, 2015-05-15 16:00

Lullabot (via DrupalFire)

In this episode, Jeff Eaton talks to NPR's David Eads about the fast-changing world of digital news publishing, how to build tools that serve the needs of today's journalists, and how successful "learn to code" projects don't always look the way developers expect…

Categories: Drupal Universe

Amazon CloudFront with Drupal 8

Fri, 2015-05-15 00:04

Metal Toad Media (via DrupalFire)

Amazon CloudFront with Drupal 8
May 14th, 2015

Dylan Tack

Since I wrote my first review of CloudFront in 2012, Amazon has added support for three essential features:

What this means is that CloudFront is no longer just for static content; it's fully capable of delivering content from a dynamic CMS like Drupal. Here are the configs, step-by-step:

Configure your distribution and origin

This is fairly straightforward. I reccomend using a CNAME for your origin (which could be a single instance, or an elastic load balancer). Ideally, your origin URL should not be accessible from the open internet for serveral reasons:

  • Prevent the origin URL from getting crawled by search engines
  • Pevent DDoS attacks from being able to bypass the CDN
  • Prevent spoofing of the X-Forwarded-For header

Configure a default behavior

Noteworthy settings are:

  • "use origin cache headers" - This means CloudFront will honor the page lifetime set on /admin/config/development/performance within Drupal.
  • Whitelist "Host" and "CloudFront-Forwarded-Proto". This allows virtual hosts, and any SSL redirect logic on the origin to function correctly.
  • Whitelist your site's session cookie.

Drupal 8 workarounds

One of the remaining Drupal 8 critical issues interferes with CloudFront:
[meta] External caches mix up response formats on URLs where content negotiation is in use
As a result, some additional behaviors are needed to work around this. These settings instruct CloudFront to forward all client headers for specific paths:

Domain-sharding

If you plan to use a single domain for your entire site, you're done! On this site, we decided to keep the domain-sharding approach described in my previous post, so we need a little D8 code.

mt_custom.info.yml

name: Metal Toad Custom
description: Stuff that doesn't fit anywhere else.
package: Custom
type: module
core: 8.x
dependencies:

mt_custom.services.yml

services:
mt_custom_event_subscriber:
class: Drupal\mt_custom\EventSubscriber\MTCustomSubscriber
arguments: ['@current_user']
tags:
- {name: event_subscriber}

mt_custom.module

use Drupal\Component\Utility\UrlHelper;
 
/**
* Implements hook_file_url_alter().
*/
function mt_custom_file_url_alter(&$uri) {
 
// Route static files to Amazon CloudFront, for anonymous users only.
if (\Drupal::request()->server->get('HTTP_HOST') == 'www.metaltoad.com' &&
\Drupal::currentUser()->isAnonymous() &&
!\Drupal::request()->isSecure()) {
 
// Multiple hostnames to parallelize downloads.
$shard = crc32($uri) % 4 + 1;
$cdn = "http://static$shard.metaltoad.com";
 
$scheme = file_uri_scheme($uri);
if ($scheme == 'public') {
$wrapper = file_stream_wrapper_get_instance_by_scheme('public');
$path = $wrapper->getDirectoryPath() . '/' . file_uri_target($uri);
$uri = "$cdn/" . UrlHelper::encodePath($path);
}
else if (!$scheme && strpos($uri, '//') !== 0) {
$uri = "$cdn/" . UrlHelper::encodePath($uri);
}
}
}
 
/**
* Implements hook_css_alter().
*/
function mt_custom_css_alter(&$css) {
// Mangle the paths slightly so that Drupal\Core\Asset\AssetDumper will generate
// different keys on HTTPS. Necessary because CDN URL varies by protocol.
if (\Drupal::request()->isSecure()) {
foreach ($css as $key => $file) {
if ($file['type'] === 'file') {
$css[$key]['data'] = './' . $css[$key]['data'];
}
}
}
}

src/EventSubscriber/MTCustomSubscriber.php

namespace Drupal\mt_custom\EventSubscriber;
 
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Drupal\Core\Session\AccountInterface;
 
class MTCustomSubscriber implements EventSubscriberInterface {
 
protected $account;
 
public function checkForCloudFront(GetResponseEvent $event) {
$req = $event->getRequest();
 
/*
* Make sure Amazon CloudFront doesn't serve dynamic content
* from static*.metaltoad.com
*/
if (strstr($req->server->get('HTTP_HOST'), 'static')) {
if (!strstr($req->getPathInfo(), 'files/styles')) {
header("HTTP/1.0 404 Not Found");
print '404 Not Found';
exit();
}
}
}
 
/**
* {@inheritdoc}
*/
static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = array('checkForCloudFront');
return $events;
}
 
public function __construct(AccountInterface $account) {
$this->account = $account;
}
 
}

Categories: Drupal Universe

Github cards

Thu, 2015-05-14 00:00

Development Seed (via DrupalFire)

We love Github. We work in the open. We have well over 100 public projects on GitHub and contribute to many others. We’ve helped dozens of NGOs, International Organizations, and Government Agencies to open source their code on Github.

When we redesigned our website, we wanted to promote open source and to make it easy to find our code on github. So we created GitHub cards.

What’s a GitHub Card?

A GitHub card is a styled card that clearly calls out that this is an open source project, links to the project on GitHub, and shows statistics like forks and stargazers that show the depth of the community around that tool.

GitHub card
A GitHub card example

Github cards are a visual way to promote open source and to make it easier for others to participate in our projects by requesting features or contributing code.

Let a Thousand Github Cards Bloom

GitHub cards aren’t natively supported by GitHub. We built them into our site using a simple visual wrapper and a bit of code to pull live data from our public github repos.

We’d love to see more sites use Github cards. A simple visual flag for open projects across websites can reinforce how much of the web is built on open technologies. There are solid open source options for nearly any technology need. Github cards can make them more obvious.

If you want to add github cards to your own site, feel free to use our code. Its open.

Check out the source code on codepen.

Categories: Drupal Universe

Allison Randal on Participating in FLOSS Communities

Wed, 2015-05-13 11:00

Lullabot (via DrupalFire)

In this episode of Hacking Culture, Matthew Tift talks with Allison Randal about her 30 years of professional programming experience, serving on multiple well-known open source and free software boards, planning conferences like OSCON and DebConf, and more. She offers a great deal of valuable advice both for people new to the FLOSS community as well as people who are looking to get more involved, as well as ideas about the relationship between the FSF and the OSI, great tips for conference organizers, and suggestions about how to transition from one free software community to the next.

Categories: Drupal Universe

MySQL - Setup

Tue, 2015-05-12 12:58

Cocomore (via DrupalFire)

When setting up a MySQL Server there are a lot of things to consider. Most requirements depend on the intended usage of the system.

read more

Categories: Drupal Universe

The SyFy Project

Fri, 2015-05-08 13:02

Lullabot (via DrupalFire)

The redesigned SyFy.com website is a beautiful example of the latest in front-end technology. Lullabot developers Mike Herchel and Chris Albrecht join the Drupalize.Me podcast to explain it all.

Categories: Drupal Universe

The Cultural Construction of Drupal

Thu, 2015-05-07 18:00

Lullabot (via DrupalFire)

Drupal is always changing. The community constantly reinvents Drupal with new code and reimagines Drupal with new words. This article seeks to examine the current narratives about Drupal. By examining the stories we tell about Drupal — the so called cultural constructions — we can better understand what is going well and what should be making us uncomfortable.

Categories: Drupal Universe

Lullabot's 7th Annual DrupalCon Party

Tue, 2015-05-05 18:33

Lullabot (via DrupalFire)

Lullabot's annual party has become a DrupalCon tradition – fun friendly people hanging out and having a good time. If you're new to DrupalCon, it's a great place to meet people. If you're an old-timer like most of us, it's a great place to see old friends and make new ones.

Categories: Drupal Universe

Front-End Web Development Fundamentals

Tue, 2015-05-05 18:00

Lullabot (via DrupalFire)

Front-End Fundamentals

DrupalCon: Carwin Young, co-author of Front-End Fundamentals, will be giving a session at DrupalCon LA 2015 on The Why and How of Front End Architecture. Come by and say hi!

Categories: Drupal Universe

API Design: The Musical - Live from Drupalcon LA

Mon, 2015-05-04 03:01

Four Kitchens (via DrupalFire)

We are just a few sweet days away from the power that is Drupalcon, Los Angeles. If you’re going I hope you are ready for another great conference.

Drupal

Categories: Drupal Universe

Pages