• Drupal Migrate for Development Content

    Rob Ballou

    When using a config in code development approach you need standardized content to test against and to provide a common ground to review variations with your team. But what do you do when you're starting on a project and you don't have content from a client yet?

    Filed under:
     CodeDrupalDrupal Planet
  • Reusable List Styles

    John Ferris

    Abstracting styles so they are reusable and clearly named is rarely straightforward. Here are some patterns to look for that will ease the pain when styling lists.

    Lists come in three flavors. Content, Collections and Navigation.

    Filed under:
     Code
  • Declarative Programming and Drupal

    Scott Reynen

    Last weekend I gave a talk on "Footless Drupal" about how Drupal 8 is using declarative programming for configuration, how the Config in Code (CINC) module is aiming to backport that to Drupal 7, and how it's already possible to use custom configuration workflows outside the default Drupal interfaces.

    Filed under:
     CodeDrupalDrupal Planet
  • Vim Is Better

    Garrett Dawson

    Yesterday, I was the only Vim zealot at Aten Design Group. Today, we are two. Tomorrow...

    Spankin' new text editors (looking at you, Atom); they make us feel fancy, they make us feel progressive. Sometimes we even fool ourselves into thinking they make us more productive, even as we port all of the configuration from our previous text editor to a new one. That's silly as shit. Pick a text editor and take it to your grave.

    Filed under:
     Code
  • The new browser support features in Compass 1.x

    John Ferris

    The upcoming release of Compass 1.x will feature some nice improvements in how our CSS handles cross-browser support. The new system will be driven by caniuse data, which is pretty exciting.

    There are 2 main aspects to consider when dealing with cross browser support in your Compass project.

    Filed under:
     Code
  • A Seamless Media Experience

    Rob Ballou

    One of the primary goals of the new CPR.org website was creating a great, seamless media experience. Part of this was the creation of a persistent audio player that worked on as many modern browsers and devices as possible. Creating this experience, though, was a bit of a process. The audio landscape is pretty scattered when you take a close look at HTML5 audio support and Flash support. So the first thing up was finding a library that let us use both types of audio to reach a wider audience.

  • Node Embed: A Viable Media Management Solution for Drupal

    Joel Steidl

    Drupal has long struggled in the area of media management and embedding. Despite Drupal’s wide selection of media modules, none of them have matched our requirements (probably too much to ask). Media module almost tries to do too much thus being a little overwhelming and challenging to modify. The Insert and Video Embed modules, among others, attempt to solve specific use cases, but are quite limited.

    Filed under:
     CodeDrupalDrupal Planet
  • Form Altering Node Add/Edit Forms

    Ryan Kois

    One advantage of not coding directly in binary is the ability to express computational intention in a human-readable form. Just as there are words and gestures that communicate intentionality to others in conversation, there are many expressions that communicate intention in code, though not all expressions are as elegant and functional as they could be. Such is the case for altering certain forms in Drupal.

    Filed under:
     CodeDrupalDrupal Planet
  • Adding JS libraries to a Drupal project with Libraries API

    Garrett Dawson

    As a front-end developer, I often need to add JavaScript libraries to a project for front-end interaction. With most things Drupal, there are many different ways to go about adding these libraries, though some can be said to be more stylish than others. An approach that I’ve become particularly fond of utilizes a contributed module called Libraries API, which gives Drupal developers a consistent way to add libraries of all sorts.

Pages