Articles related to Drupal, our favorite content management system at Four Kitchens.

Submit a session for DevOps at DrupalCon Austin

With DrupalCon Austin fast approaching, the call for submissions is already open! With the impending release of Drupal 8, Austin will be an important event to help us push the DevOps mindset into the forefront with Drupal 8.

Have you been automating the deployment or maintaining Drupal across a large number of systems, testing your code for performance and functional regressions, or architecting Drupal as a service layer? Consider submitting a session!

Responsive tables with field collections and field formatters

Recap and remix

In my last post I discussed the challenges inherent in modeling fields when you are unable to achieve a complete understanding of a data set. Much of that post was based on a flexible field model for content that was semantically tabular. To bring you up to speed but also show some of the content editing experience, let us take a look again at our model, but this time in Drupal.

We have a nested field collection situation which can be described as:

A flexible field model for tables

When you are developing data models for fields in Drupal sometimes the only thing you can count on is that there will be exceptions to the model. Thankfully, with Drupal, you can incorporate a lot of flexibility into your data model. Typically that flexibility comes at the cost of complexity for you, the developer or site builder, and likely, for your content contributors. It gets even more difficult when those fields are irregular in format, need to be responsive, and are a part of a time sensitive content launch involving content experts with little to no Drupal experience.

Multilingual CSS generated content in Drupal

CSS generated content is cool. You can make those little triangles everyone seems to love, but its real purpose is to let you add presentational words that would otherwise be a pain to generate in markup for some situations.

Read on to learn how you can combine Drupal’s excellent multilingual support with CSS generated content.

A better way to theme Field Collections

Field collections are at the same time one of my most favorite and least favorite aspects of working with Drupal 7. Since they are entities they can be extremely powerful and flexible site building tools, and I see lots of unrealized potential in that, on the other hand theming can be tricky and, for lack of better word, generally feels "icky." There is little documentation online about best practices with almost all links pointing back to this thread on how to theme field collections. The proposed solutions in this thread are a mixed bag — mostly bad — but some that may work, but they certianly don't follow any best practices in drupal theming. I'll admit I have shipped field collection theming that, while working, did make me feel "dirty." Read on for a clean solution that — while simple — is maintainable and, hopefully easy to follow.

Magic: Frontend Performance for all themes

Howdy perfers!

This week’s Webperf Wednesday is short and sweet, just like your page loads when you install this new module that enhances any Drupal theme. Magic is a set of frontend performance and development workflow tools for themers. Previously many themes had their own advanced settings — many of which did the same things as other themes, but they all did it a little differently — no more with Magic.

Built by Web Chef Ian Carrico and Sam Richard (of Aurora) with contributions from Sebastian Siemssen (of Omega), Magic was built by the desire to work together to make all themes better, instead of siloing improvements within specific themes.

One less JPG

I’d like to demo a simple how-to. There are many, many techniques to make pages load faster, but this post attempts to demonstrate large gains from very small code changes.

People often build beautiful sites with multiple easy-to-use JavaScript libraries. Then, when it comes to addressing frontend performance, suddenly those libraries are an enormous download that the users are forced to bear.

Read on to see how you could make bigger and better optimizations.

DrupalCon Portland Proposals Galore

I hope you’re ready to put a bird on it and pickle that, because DrupalCon Portland is coming!

We submitted a whole lot of sessions this year on a huge variety of topics, from frontend to backend. Here are the Web Chef proposed sessions for DrupalCon Portland. If any of these strikes your fancy, please feel free to leave a comment and make your voice heard.