Main Content

Conditional love

One of the more interesting additions to Drupal 8 is the core conditions API. Condition plugins are used to make decisions about all kinds of things like block visibility, layout choices, page manager variants, and even rules. Decisions can be based upon any available contextual information from the URL or session, as well as remote service calls, database queries, or almost any other source. 

I will walk through writing a simple condition plugin and then show some more complicated examples with configuration forms and unusual contexts.

Login to Register

Letting Editors Win - Who Needs More Than 1 Column?

In the years that I have been a front-end developer and site builder in Drupal, one thing has remained constant—the battle to allow editors more power without sacrificing design or performance. With Drupal 8 Layout Builder and Paragraphs, I finally have a solution that provides a good balance between flexibility and control. The best thing is that it all happens in a single column.

Login to Register

Component Based Theming With UI Patterns and Pattern Lab

Since the release of Drupal 8, great strides have been made to develop a component based theming workflow that takes advantage of the best that Twig has to offer and also plays nice with living style guides and pattern libraries. Gone are the days of redundant styles and markup, making way for the efficiencies found when Drupal and tools like Pattern Lab can share the exact same code. That said, handling the mapping of data between Drupal and your component library can still be quite complicated and difficult to coordinate on larger cross-functional teams.  

Login to Register

Improve your Drupal Architecture by Applying Object-Oriented Principles to Site Building

In many ways, my journey through Drupal has been inverted. After studying Computer Science, I began my Drupal career as a backend developer writing custom modules and dabbling in front-end work. More recently, as a Project Manager and Drupal Solutions Architect, I've focused on more site-building and organizing Drupal elements into flexible solutions. I've found myself relying on the theory I learned in school to direct my site building efforts.

Login to Register

Learning Markdown: 20 minutes that will change your life

Don't you wish there was a way to write content faster without having to log into your WordPress site?  Turns out there is and it is called Markdown, which can be written in any text editor you choose.  Based on the basics of HTML and with a goal of making marked up content as readable as possible, Markdown takes only minutes to learn and is the most transportable way you can write your content.  Sites like GitHub, Bitbucket and Reddit already expect it and coming with WordPress 5.0, your default editor will be expecting it too.  

Login to Register

Bringing Content Security Policy to Drupal

Content Security Policy is a new layer in web security to protect your site and your users from cross site scripting (XSS) vulnerabilities.  Additional strategies are also available to expand it's capabilities to detect and mitigate threats like malicious browser extensions, content injection from proxies, and unauthorized http requests.  Leveraging Drupal 8’s libraries system, the Content-Security-Policy module is being built to make this tool easily available to every Drupal site.

Login to Register