• Introducing an HTTP API for Drupal 8 Entity Queries

    Gabe Sullice

    Drupal 8 lays the foundation for building robust and flexible RESTful APIs quickly and efficiently. Combine this with Drupal’s best-in-class fieldable entity model and it becomes incredibly easy to construct systems that solve many different problems well.

    Out of the box, Drupal 8 comes with core modules for all of the standard RESTful HTTP methods, GET, POST, PATCH, and DELETE. These endpoints are entity specific. Collection endpoints - endpoints that deal with entities in aggregate - are another story. The solution offered is the Views module.

  • Group Code Reviews

    John Ferris

    Code reviews help assure quality. They’re also an invaluable professional development tool. Important as they are, we’ve always struggled implementing a successful code review process at Aten – but that's changing. Over the last few months our front-end team has been doing group code reviews and they've already proven to be useful.

    Traditional Code Reviews

    Every place I’ve worked with a successful code review process was an organization where a team of engineers, with overlapping disciplines, worked on the same code base.

    Filed under:
     CodeProcess
  • Redux Outside of React

    Josh Miller

    Declarative user interfaces are a relatively new idea in the world of web design. With the rise of React and the VirtualDOM, the world of web development is shifting to reactive views based on single page applications. This has given rise to new problems, namely, how do we manage state in an ever changing environment. Enter Redux: a minimal JavaScript framework for managing state in these types of applications.

    Filed under:
     CodeJavaScript
  • Drupal 7 Views drop-down exposed filter for a text field

    John Erhardt

    In Views the only option for an exposed filter on a text field is a search box that can be configured for exact or partial word matches. In the case of a term reference, entity reference, or list field, a drop-down form element showing all options is available. This is a much nicer experience for the user when they may not know what options exist, especially if the number of options is relatively short. There don't seem to be any contrib modules that help either.

    Filed under:
     CodeDrupal
  • A Reluctant Guide to Vim

    Gabe Sullice

    Face it, it's better than nano and easier than emacs. You're going to edit some file, somewhere, sometime on some server. You won't be able to click to move your cursor or scroll to the bottom of a 2000 line long configuration file. As it would for any developer, holding down the arrow keys will get old, fast.

    This is the reluctant guide to Vim. I'm not going to try to convince you that Vim is God's gift to man. Here's the low-hanging fruit that got me hooked, maybe it will hook you too.

    Filed under:
     Code
  • Array Map, Filter and Reduce in JS

    John Ferris

    Lately, I’ve been working on an exciting data visualization project for one of our clients. This requires a lot of data manipulation as data is pulled from the API server and transformed into visualizations. I found myself using the same array methods over and over to get this work done–Map, Filter and Reduce.

    Filed under:
     CodeJavaScript
  • Migrating within Drupal

    Peter Weber

    Drupal is known for its flexibility and ability to be modified at nearly every step. However, it can be difficult to make changes to the structure of your website once you've created real content.

    Recently, I needed to move some existing content from one Content Type to another. With all its fields, pre-existing nodes, and small differences between field names and configuration — this seemed like a daunting task.

  • Gulp, Browserify, and error handling

    Josh Miller

    The front-end stack is an ever growing list of processes and dependencies. These tools typically improve your process, but in some cases can hinder it. An often overlooked piece of build processes is error handling. Nothing can be more frustrating than silent errors in your build process.

    Filed under:
     Code

Pages