Mediacurrent: Accessibility, Nachos, and a Responsibilities Document

Planet Drupal - 15 August 2017 - 12:17pm

I had this blog post written last week but didn’t publish because it felt wrong. It wasn’t until earlier today, when I was listening to one of my favorite public speakers, that I realized it was because I was talking at you, not to you. In truth, whenever I’ve discussed this document I keep talking about the what its purpose is and how it could bring value to our Drupal community but not why you should care.

Categories: Drupal

Studio Capitan Releases Company Commander Historical Skirmish Game Rules

Tabletop Gaming News - 15 August 2017 - 12:00pm
Though many of us think of grand battles such as Waterloo or the sieges of Vienna when it comes to conflicts from a couple hundred years ago, truth is that there were countless little skirmishes between warring factions during those larger campaigns. Studio Capitan feels that those, too, should be able to be recreated on […]
Categories: Game Theory & Design

Elevated Third: Decoupled Drupal Technologies and Techniques

Planet Drupal - 15 August 2017 - 11:17am
Decoupled Drupal Technologies and Techniques Decoupled Drupal Technologies and Techniques Joe Flores Tue, 08/15/2017 - 12:17

Part 3 in this series is continued from a previous post, Decoupled Drupal: A 10,000ft View.

One of the main considerations when building the POWDR website was uniformity. POWDR is a holding company composed of many separate companies, all with individual websites. In order to ease the burden on content admins, we sought a solution that avoided multiple content types for each separate site. As a holding company with so many websites to maintain, managing many content types can become really complicated really quickly. It was our job to keep the content admins at top of mind in order to make their job updating the various websites as easy as possible.

Drupal Multisite for Easier Administration

The reason we ended up going with a multisite is that for each POWDR property there is a separate Drupal instance. In typical ski industry form, POWDR continues to acquire additional resorts and companies. They are constantly bringing on companies with different processes, different applications, and different third-party vendors. Many have different teams acting as admin. So, one of our first considerations was how people on the main POWDR team were going to administrate and edit all of this content.

We considered doing it all in one large API site though that plan quickly became too complicated when it came to permissions. Instead, it was decided that the project would be split up into multiple sites. Acquia made this process nice and easy. Using Acquia and Drupal 8, we were able to spin up a new multisite instance within the parent Drupal instance.

After some practice, we are now able to spin up a new instance in a matter of minutes. Using Drupal 8 and configuration, we copy the configuration from a parent skeleton site into a new site This allows the design team to start their development process with a basis on the API side without us having to reprogram and rebuild from the ground up.

Paragraphs Makes Complex Content Manageable

Working with Hoorooh Digital, we created an overarching entity structure using paragraphs that allowed us to make a baseline unit to build upon. Each paragraph was essentially a different piece of the website. They made components within Angular line up with paragraphs on the Drupal side. If you’re not familiar with paragraphs, in Drupal 8, their entities in and of themselves. This was nice for us because it allowed us to load and alter them programmatically, much like any other entity on the backend. They could be rearranged and served to the frontend from any site to meet design needs.

Implementation was one of the larger challenges of the POWDR project. The difficulty arose as we matched up the frontend to the Drupal backend. Custom code was required to ingest the paragraphs in the components. If you’re thinking about taking on this project, be sure to consider this step during the estimation process. In our experience, a good portion of the frontend development was required to render frontend components. We took the time to decide how componentry and paragraphs would be ingested from the Drupal platform, then matched up with the frontend framework. This allowed us to standardize all of the content coming out of the API so that frontends wouldn’t have to be rewritten for every site.

D8 and JSON REST API Decrease Development Time

The real power here was that, out-of-the-box, Drupal 8 does have a JSON REST API. We took that and ran with it. We realized early on that the Angular frontend and the out-of-the-box JSON API were going to require a lot of work to get them to work together. Instead of sacrificing this time, we extended the JSON encoder class in Drupal 8 and created our own POWDR format JSON encoder. This allowed us to create a serializer service and a bunch of custom entity normalizers. We then added related entities and some custom processing to meet the frontend needs. Out-of-the-box, the JSON API is built so that you’re requesting each related entity down the line. You get an entity ID and then you make another call to the API to get the content of that entity.

Essentially, what we did by extending the JSON encoder and all the entity normalizers was create an entity reference class. By using this structure we were able to load related entities, such as paragraphs and media, all on the same parent node, enabling the JSON encoder and all the entity normalizers to load the related entities and be served up as pieces on the API call. This gave POWDR the ability to create pages in much of the same structure that they’d be using on the frontend. The content admin sees a structure similar to the frontend and their API calls. POWDR is building pages on the backend in much the same way that they’re coming out on the frontend. This saves a lot of these extra extraneous API calls.

One of the great things about Drupal 8 is that it is built on Symfony, and incorporates a lot of modern PHP concepts, which helped our development of this custom API move quickly. Using Drupal 6/7, we would have to build from the ground up then figure out how the API was going to call itself. Instead, we just extended the class, extended a few other classes and, in a matter of days, had at least a working model for the design team to work from.

Overall, development was much faster for this project. Since everything was an entity point the back end API could load taxonomies, media, paragraphs in the same way and they also looked the same. This meant the design team could be presented something that is agnostic to the backend functionality but still utilizes Drupal’s media power.

To Be Continued...

In the next post of this series our hosting Partner, Acquia will cover the ins and outs of the POWDR project’s frontend design. Stay tuned!

Categories: Drupal

Podcast Roundup

Tabletop Gaming News - 15 August 2017 - 11:00am
Many of you out there will be traveling via planes, trains, and automobiles towards Indianapolis over the next couple days (or you’re on your way now). Well, for those long hours as the Earth moves beneath you at a rapid rate of speed, you’ll need something to make that time go by. I might suggest […]
Categories: Game Theory & Design

Fantasy Flight Games Previews Death Cavalry For Runewars

Tabletop Gaming News - 15 August 2017 - 10:30am
Even the dead hate to simply walk their way into battle. And what’s a horse to do after it’s been put out to pasture and, well… passed? Their glory days can be relived during the nightmare life of an undead cavalry horse. That’s just what will be galloping their way to Runewars tabletops soon. Fantasy […]
Categories: Game Theory & Design

Web Wash: Moving Forward with Webform in Drupal 8

Planet Drupal - 15 August 2017 - 10:00am
In part two of our Webform tutorial, we’ll show you how to create multipage forms, apply conditional logic, create layouts and much more! We’ll take the simple newsletter signup form created in part one of this tutorial and add additional pages. Then we’ll demonstrate how to show or hide an element depending on the selection made on another element. We’ll also look at layouts and then finish off with an overview of some of the other great features Webform has to offer. For forms with many elements, it’s best to spread them across two or more pages. In this section, we’ll take the form we created in part one and move some of the elements to make a two page form. We’ll also add a preview page and make changes to the confirmation screen.
Categories: Drupal

Cryptozoic Announces Ghostbusters: the Board Game II

Tabletop Gaming News - 15 August 2017 - 10:00am
Who you gonna call? Well, I’m kinda hungry, so I was thinking about calling for a pizza. But if it’s rivers of pink slime that causes people to go crazy, or paintings taking over people, you might just want to call the Ghostbusters. And you’ll be able to soon, as Cryptozoic has announced that they […]
Categories: Game Theory & Design

Mediacurrent: Mediacurrent to Present at Decoupled Dev Days NYC

Planet Drupal - 15 August 2017 - 9:14am

The Mediacurrent team is excited to be supporting the inaugural Decoupled Dev Days event in NYC this week (August 19-20) as organizers and sponsors! We hope you’ll be joining us, however, we know how busy summer weekends can be so we will be sharing session recordings after the event.

Categories: Drupal

Osprey Games Posts Gen Con Plans

Tabletop Gaming News - 15 August 2017 - 9:00am
Osprey Games is one of the hundreds of vendors that’ll be here in Indy this week for Gen Con. They’re going to have some new pre-releases available at their booth, as well as a chance to meet some of the game designers. Check it out. The Eagerly Anticipated Update to Martin Wallace’s Classic Game This […]
Categories: Game Theory & Design

Catalyst Game Labs To Release Master of Orion Tabletop Games

Tabletop Gaming News - 15 August 2017 - 8:30am
Catalyst Game Labs has announced that they have acquired the license to make tabletop games based on the Master of Orion computer game universe. Their first game as part of that series will be a deck-building game called Master of Orion: Conquest. But that is only the beginning of what they have planned. From the […]
Categories: Game Theory & Design

New Super Dungeon Explore Pre-Orders Available From Soda Pop Miniatures

Tabletop Gaming News - 15 August 2017 - 8:00am
Soda Pop Miniatures loves to do crossovers. They look to their other properties, as well as other popular games and integrate them into their games. It’s cool to see characters you love from one game making their way into others. In this case, they have started taking pre-orders for the Twilight Knight from Kingdom Death, […]
Categories: Game Theory & Design

Making a Game Maker: Hatching Chicken Wiggle 🐣 - by Jools Watsham Blogs - 15 August 2017 - 7:36am
The cuteness and absurdity of a Chicken and Worm combo was too funny to resist!
Categories: Game Theory & Design

SAAM Arcade 2017 - An Indie Perspective - by Thomas Sharpe Blogs - 15 August 2017 - 7:35am
A little over a week ago, I showed off my very first game at the Smithsonian American Art Museum (SAAM) Arcade and had an absolutely incredible time. Here's a quick look back at my experience and what I learned from the event.
Categories: Game Theory & Design

How Much Does it Cost to Develop a Successful City-Building Game App? - by Andrei Klubnikin Blogs - 15 August 2017 - 7:33am
Discover how to make a successful city-building mobile game – and how much it will eventually cost you!
Categories: Game Theory & Design

Fantasy Flight Games Announces Sid Meier’s Civilization: A New Dawn

Tabletop Gaming News - 15 August 2017 - 7:30am
I have a degree in history. I made quite a study of various ancient civilizations, as well as saw just the general flow of history. Of course, with the knowledge of what has happened, it’s easy to look back and go, “Man… I sooo would’ve done that differently!” Well, that’s what you get to do […]
Categories: Game Theory & Design


New Drupal Modules - 15 August 2017 - 7:21am

This module allows you to generate HTML forms from JSON Schemas using JSON Forms library.

These forms values will be translated to string and saved into a long text plain field type.

You only need to configure the widget with the desired form structure and the default value (if needed).

Usage examples here

Categories: Drupal

Prescription-Based Video Games for Therapy, Learning, and Development - by Andrew Heikkila Blogs - 15 August 2017 - 7:18am
Akili and the University of San Francisco’s Neuroscape lab are creating a mobile game called Project: EVO. It is potentially the first prescription-based video game, designed to help treat children with ADHD.
Categories: Game Theory & Design

7 MMO Quest Types and How to Use Them - by Jerrod Bacon Blogs - 15 August 2017 - 7:18am
This article was originally posted on Black Shell Media's blog and discusses the 7 types of MMO Quests and how to implement them in your own games.
Categories: Game Theory & Design

Fun Explained: Fundamental Human Needs - by Anton Temba Blogs - 15 August 2017 - 7:18am
Theres is a lot of confusion surrounding the word "Fun". This article aims to answer the questions about what it is, what it means and how to make it useful.
Categories: Game Theory & Design

PRACTICAL GUIDE ON FIRST PERSON LEVEL DESIGN - by Niels Tiercelin Blogs - 15 August 2017 - 7:17am
A guide to help you design better first person levels. "Where to start?" And different notions used in level design explained with practical examples from Mirror's Edge & Bad Company 2.
Categories: Game Theory & Design


Subscribe to As If Productions aggregator