Newsfeeds

Pattern Library

New Drupal Modules - 17 March 2018 - 10:57am

The pattern library module is intended to be used to connect patterns defined in a third-party library like Pattern Labs or Partial to Drupal. Each pattern that is defined will build a layout, which can be used in either display suite, page manager, or any module that utilizes the Layouts API.

Categories: Drupal

Colorfield: First dev release of the Production Checklist module

Planet Drupal - 17 March 2018 - 9:05am
First dev release of the Production Checklist module christophe Sat, 17/03/2018 - 17:05 The Production Checklist module inherits from the Checklist API and is based on the active configuration of a Drupal 8 site. Its purpose is for site launch and maintenance.
Categories: Drupal

Serials

New Drupal Modules - 17 March 2018 - 6:12am

Adds a service that provides serials for arbitrary many namespaces.

Categories: Drupal

Media Imagick

New Drupal Modules - 17 March 2018 - 6:07am

This module adds Imagick field mappers to media image.

Categories: Drupal

Sumoselect

New Drupal Modules - 17 March 2018 - 6:01am

Integrates the sumoselect library.

Categories: Drupal

KatteKrab: DrupalCon Nashville

Planet Drupal - 17 March 2018 - 4:01am
Saturday, March 17, 2018 - 22:01

I'm going to Nashville!!

That is all. Carry on. Or... better yet - you should come too!

https://events.drupal.org/nashville2018

Categories: Drupal

Matt Glaman: ContribKanbanNG: Drupal 8 as a progressively decoupled application

Planet Drupal - 17 March 2018 - 1:00am
ContribKanbanNG: Drupal 8 as a progressively decoupled application mglaman Sat, 03/17/2018 - 03:00 At the end of October 2017, I wrote about the new and upcoming changes to ContribKanban.com. I decided to migrate off of a MEAN stack and go to a more familiar (aka manageable) stack. I decided upon Drupal 8 to manage my backend. Drupal is what I do, and Drupal is amazing at modeling data. People can moan and whine - it handles data models like a boss. I decided to treat it as a "progressively" decoupled web application.
Categories: Drupal

Community: Register Now for the Teamwork and Leadership Workshop at DrupalCon Nashville!

Planet Drupal - 16 March 2018 - 5:22pm

The Drupal Community Working Group, in partnership with the Drupal Association, is very excited to offer a special workshop at DrupalCon Nashville designed to explore leadership, followership, and teamwork as it applies to various roles in our community.

One of the most remarkable things about open source projects like Drupal is that they enable people from all over to come together and collaborate with others toward shared goals. In order to be successful, open source projects need to continually work toward building positive, supportive communities that enable everyone to be at their best. If you are someone who has, or is ready for a position of responsibility within Drupal (e.g., camp and group organizers, initiative leads, sprint mentors, module maintainers, etc.), we encourage you to attend.

This free event will be facilitated by incoming Drupal Association board chair Adam Goodman, who is also the head of Northwestern University’s Center for Leadership, and works as an executive coach and advisor to senior executives and boards of directors at dozens of companies and organizations around the world. A number of other community members, including Donna Benjamin, Shyamala Rajaram, Gábor Hjotsky, Mike Anello, George DeMet, Tiffany Farriss, and Jordana Fung will also be helping to co-facilitate.

The Teamwork and Leadership Workshop will feature a large group exercise about common assumptions and myths regarding teamwork and leadership, discussion of some best practices for effective leadership and teamwork today, and small group sessions where people can link those concepts with their own experiences within the Drupal community.

The workshop will be held from 2-5pm on Tuesday, April 10, and you can register now at: https://goo.gl/forms/7SWzVS4qhHqbiRrW2. Space is limited, so don’t delay.

We hope to see you there!

Categories: Drupal

Old Cyrillic Transliteration

New Drupal Modules - 16 March 2018 - 4:11pm

Drupal 7 transliteration rules for Drupal 8 (cyrillic, currently supports only Russian and Ukrainian)

Categories: Drupal

Modiphius Releases Cold and Dark: Better Worlds Sourcebook

Tabletop Gaming News - 16 March 2018 - 3:00pm
The galaxy is big. And, despite having all those stars, much of it is very cold and very dark. There’s also quite a lot of planets out there to explore. Add all those together and you get the new release from Modiphius. Cold and Dark: Better Worlds gives players a lot more in-depth information about […]
Categories: Game Theory & Design

Entity Extra

New Drupal Modules - 16 March 2018 - 2:19pm

A module to ease developer's life when creating custom entities.

A lot has been done in Drupal 8, but there is always something to improve.

This module offers:

  • Base classes for content entities that already define common fields like ID, UUID, label, created and changed dates, and so on.
  • A Views based entity list builder.
  • An entity form base class that takes care of redirecting the user and showing a message.
Categories: Drupal

Battlefront Posts UK Open Day Info, New Avanti Releases

Tabletop Gaming News - 16 March 2018 - 2:00pm
Battlefront is coming at you with a lot of info today. Starting out, they’re going to be having their UK Open Day on June 30th and wanted to make sure you had all the important info about it. Then, they swap to “new release mode” (many people’s favorite mode from companies) and brings out a […]
Categories: Game Theory & Design

GDC 2018 is next week! Follow along on Gamasutra's official event page

Social/Online Games - Gamasutra - 16 March 2018 - 1:49pm

Game Developers Conference 2018 is just around the corner, and Gamasutra reporters will be onsite bringing you loads of stories. Follow along on our event page here! ...

Categories: Game Theory & Design

Mediacurrent: The New Mediacurrent.com: Adventures in Decoupled Drupal

Planet Drupal - 16 March 2018 - 1:20pm

In our first post that announced the new Mediacurrent redesign, we looked at the evolution of Mediacurrent.com over the years and talked through the over goals of the relaunch. Now let’s take a look under the hood to see some of the cool stuff we did and discuss what our development team learned along the way.Let's talk architecture

Now for the fun part, the technical architecture of the new website. First, the backend was upgraded from Drupal 7 to Drupal 8 - that will probably not be a huge shock to anyone. The more interesting aspect of this build is that we have now implemented a fully decoupled frontend. We accomplished this using a static generator called Jekyll which has been integrated with the Drupal backend. More on that in a bit. First let’s answer the question, “Why decoupled?”

Why decoupled?

A decoupled architecture provides flexibility for constant evolution, opening the door to a variety of potential programming languages and design philosophies to accomplish your website goals. There are any number of articles that discuss the benefits of moving to a decoupled approach. For this post, I want to focus specifically on the points that were deciding factors for our team.

Security

While we do have full confidence in the security features that Drupal offers, we have to acknowledge that a static public site does offer some advantages that make securing the application easier. First of all, we have the option to make the backend CMS completely walled off from the public site. It’s not a hard requirement that the Drupal admin is made publicly accessible. Second, there are simply fewer vulnerabilities that a static frontend will be susceptible to in comparison to a full PHP application. For example, it’s harder to DDOS a site serving only HTML/CSS/JS and there is no server side code running that could be hijacked by an SQL injection attack.

Performance

Decoupled sites often have a performance boost over a fully Drupal-rendered site because the frontend is more custom and lightweight. This is certainly true in our case. The static frontend requires no processing at the time of request so the page is served up immediately with no server-side execution required.

Hosting

One of the things we liked about this particular solution was that it made the hosting architecture pretty simple and inexpensive. With only editors logging into the CMS and the static site being served by Gitlab, we were able to have a fast, reliable stack up and running relatively easily. Up-time is great in that you aren’t as vulnerable to a production error or traffic spike bringing the site down. That being said, all platforms are subject to downtime each year.

Eating our own dog food

As many other agencies will attest to, when you work on your own website it’s a good chance to try something different! We looked at what some competitors had done and we wanted to try an approach that would be a good fit for our needs without overcomplicating the end solution. This endeavor was a way to take some risks and learn along the way.

Dividing the work

The great thing about decoupling is that you break apart the work that needs to get done. The frontend team can focus on the frontend stuff without being tied too much to the backend work (although there will always be some overlap). Our agency spends a lot of our day delivering solutions to our clients so being able to break apart some of the work streams was an advantage. We like that in the future we don’t necessarily need to do a big redesign and Drupal upgrade at the same time. With a decoupled approach, we have the flexibility to tackle each separately.

Technical Overview

Now that you have seen the “Why” behind this approach, let’s look at the “How.” We have kept our Drupal CMS in Bitbucket, which gets deployed to a Pantheon server. That piece is still the same as its been for many years. The new wrinkle is that the public frontend is served on GitLab Pages. If you haven’t heard of Github Pages (which run on Jekyll), Github, GitLab and many other services allow you host Jekyll source files which they can auto-compile into HTML pages and host for you for free or cheap. Pretty neat huh? We ended up going with GitLab Pages because GitLab allows you to add more build customizations than Github. We have also looked at potentially using Netlify in the future as the host for our Jekyll files.

The question you might be asking is how does Drupal content make its way to GitLab? Put simply, we translate node content to markdown and push to the GitLab API on every node save. For user files, we actually still use Drupal uploads and reference the path within Markdown files. If you are familiar with Markdown files, these are the “content” files that Jekyll compiles into pages. The diagram below illustrates the basic flow.

The concept is pretty simple: have Drupal manage your content, write to Jekyll markdown files and deploy those files to a static host.

Why not [Insert favorite Node framework here]?

You might be saying, that's all well and good but why go with a static generator over a server-rendered JavaScript framework like Next.js or Nuxt.js?

The short answer is that we reviewed several options and concluded there wasn’t a framework we felt was a fit at the time we were planning development (around mid-late 2016). Going with a JavaScript-only framework was ruled out for SEO reasons and the options for Isomorphic (server + client side js) frameworks weren’t as stable as we would have liked. Jekyll was the most popular static framework (and still is) with a variety of plugins we could utilize. After doing some POC’s we opted for Jekyll in order to keep the page rendering lean, simple and speedy. The overall complexity of the integration was also a deciding factor in choosing Jekyll over other options.

Trade-offs

One of the fun challenges with a static only site is that you need to learn how to get around the lack of server side rendering. The files are of course static, thus if you want anything dynamic looking you are limited to mostly JavaScript-based solutions. A couple quick examples are forms and the site search. For forms, we were already using Pardot hosted forms for marketing automation, so that wasn’t a big tradeoff. For site search, we went with a pretty cool solution that leverages https://lunrjs.com/ to handle searching the site. Essentially we have Drupal push an index file that Lunr.js can search against using only Javascript in the browser. For RSS, we still generate the RSS feed from Drupal and push to GitLab.

Lessons learned and looking forward

Now that we have the shiny new website up and running, it’s time to look ahead. Would we recommend taking this exact approach in 2018? I would say not exactly. While we are still intrigued by the power of static generators serving as a front end we think something like Gatsby.js (Node/React-based) might have more upside than Jekyll. Further, we aren’t sold on this type of static-only being able to scale in comparison to Node-hosted solutions. The options for server-rendered JavaScript frameworks increase by the day and many have matured over the last few years. Mediacurrent.com will continue to be our place to try new approaches and share with you everything we’ve learned along the way. Thanks for joining us in this journey and enjoy the new site!

Additional Resources
The 3 C’s and 1 D of Drupal: Why Decoupled Matters | Mediacurrent Blog
Relearning Accessibility for a Decoupled Front End | Mediacurrent Blog
4 Benefits of Decoupled Architecture for Enterprise Marketers | Mediacurrent Blog

Categories: Drupal

Assault Publishing Releases Shadows in the Void: First Encounters

Tabletop Gaming News - 16 March 2018 - 1:00pm
In this day and age, with so many games out there, it’s impossible to buy and keep up with them all. Even just buying rulebooks for games you want to try can get to be prohibitively expensive. That’s where free trial versions of rules come in. I love when companies do this. And that’s why […]
Categories: Game Theory & Design

Jeff Foxworthy’s Relative Insanity Card Game Available to Order

Tabletop Gaming News - 16 March 2018 - 12:00pm
My extended family is fairly large and… varied. You know, the crazy cousin, the strange great-uncle, the reclusive aunt. All that kind of stuff. I’m sure many of you have similar stories. Well, Play Monster is letting you tell everyone about those crazy relatives in their new game, Jeff Foxworthy’s Relative Insanity card game. The […]
Categories: Game Theory & Design

Though invite-only, Fortnite Battle Royale tops iOS charts at launch

Social/Online Games - Gamasutra - 16 March 2018 - 11:48am

Access to the game currently requires an invite from Epic but Fortnite Battle Royale has already climbed to the top of the iPhone's Top Free Apps chart in the US. ...

Categories: Game Theory & Design

Wyrd Previews Immolated Rhino For The Other Side

Tabletop Gaming News - 16 March 2018 - 11:30am
If you were to think of a rhino that would belong to the Cult of the Burning Man, you would probably think that said rhino would be on fire or somesuch. Makes perfect sense. That kinda seems like that’s what they’re getting. In today’s The Other Side preview from Wyrd, we get a look at […]
Categories: Game Theory & Design

Friday Snippets

Tabletop Gaming News - 16 March 2018 - 11:00am
Well, we finally made it to Friday. Seemed to take its dear, sweet time. I’m certainly ready for the weekend. It’s Board Game Day up at the library tomorrow. I’m gonna try and stop by and see what’s shakin’. I’m also going to be hitting F5 on the FedEx tracking site today as I wait […]
Categories: Game Theory & Design

Freedom Squadron Setting Book For Savage Worlds Up On Kickstarter

Tabletop Gaming News - 16 March 2018 - 10:00am
In the not-so-distant future, an international paramilitary organization and global terrorist group, VENOM, will launch its bid to conquer the Earth. Standing in their way is the Freedom Force, a hand-picked group of the greatest heroes the world has ever seen. You can be part of that group in your Savage Worlds games by picking […]
Categories: Game Theory & Design

Pages

Subscribe to As If Productions aggregator