Coding + Development

How to use Behat with Drupal 8 for writing tests

We know Behat (Behavioral Driven Development) is an open source behavior-driven development framework for PHP 5.3 and 5.4 and with Drupal 8 you can write SimpleTest using Behat.

Moreover, Behat allows you to describe the behavior of a web site in plain, but stylized language, and then turn that description into an automated test that will access the site and perform each step you describe.

Well, I have decided to use behat with SimpleTest,

Understanding the Dark Side: An Analysis of Drupal (and Other!) Worst Practices

No one is perfect and we all make mistakes. Making mistakes helps us learn and grow and do better work. But, sometimes we don't even realize we are "doing it wrong" until someone points it out. This session is a collection of some worst practices that are pretty common in the Drupal world and beyond. If you don't know what "hacking core" is or why you shouldn't do it, this is the session for you!

We will cover worst practices in Drupal and web development in general within:

Drupal 8 Kickstart for Developers

Presenting the essentials a developer should understand to dive into a Drupal 8 site and see where and how to integrate their custom module in Drupal 8. 

The Drupal 8 Kickstart presentation will be enhanced by screensharing phpStorm showing Drupal 8 concepts in use in an actual new custom Drupal 8 module on a locally-installed demo Drupal 8 site.

Developers with Drupal 7 experience will find that the discipline and organization they have gained from developing to Drupal 7 will benefit them as that knowledge is expanded to include Drupal 8 concepts.

How to do a Site Audit

A technical site audit is often the first step when a development team takes on an existing build. It can also be a stand-alone project to get expert advice for re-orienting technical efforts. 

A good audit looks everywhere and sees everything. A bad audit is mostly just a report using a template from a previous audit or relies primarily on only automated methods.

Auditing is not just an explicit exercise, but a frame of mind you can use throughout projects to keep standards high and focus on the longterm quality of work.

Drupal 8 The Backend of Frontend

This presentation outlines some of the major changes to the theme layer and why they were necessary to make a better experience for themers and module developers using Drupal 8. We will also walk through some of the internals of different aspects of the theme system and how they might affect your day-to-day work with Drupal.

Drupal 8 will ship with a fancy new template engine (Twig) and a simpler theme layer. In my session I’ll show you some goodies from Twig and walk through the changes it creates for developers.

Mighty Morphin S.O.L.I.D. development

SOLID is a term describing a collection of design principles for good code that was invented by Robert C. Martin, also known as Uncle Bob.

During this session you will learn the concepts behind SOLID, and how to take advantage OO practices (low coupling, high cohesion, and strong encapsulation) to help you write code that is easier to read, understand, and maintain.

And yes, as you maybe wondering, the code examples will be based on the Power Rangers because why not.

The Drupal 8 plugin system: extensibility for all

Custom hook implementations, Ctools plugins, or simply no extensibility at all. We’ve all faced the challenges that needed to be overcome in order to make Drupal modules extensible by others.

Drupal 8 introduces the plugin system: a unified approach to discover and instantiate plugins, with a variety of options to customize your own plugin type using different discovery methods and plugin features.

An introduction to object-oriented programming

If most of your web development work focuses around current stable versions of Drupal, you may be new to object-oriented programming. This is an approach to coding that centers around objects, which are data of their own types (classes) with their own behavior that are defined by developers and can easily be built upon by other developers. It also includes concepts such as interfaces, more compartimentalized design, dependency injection and unit testing.

Pages

Subscribe to RSS - Coding + Development