Proposed Session

Theme development workflows for the Enterprise

Speaker(s)
Ivica Puljic
Proposed Track(s)
Business, Development, Theme Development, DevOps
Level of expertise
Intermediate
Session Type
Regular (45 min)

Presentation of full stack frontend development workflow tailored for the Enterprise needs. I will demonstrate to you all the important processes and tools that we are using when developing custom client themes.

Base concepts and tools

  • History of how we got here and why,
  • More Power vs More Flexibility vs More Rules dilemma,
  • Keep the compatibility while adding new stuff,
  • Overengineering trap,
  • Base themes with a toolbox that follows your project from start to finish and beyond that, the maintenance period,
  • Bootstrap 4,
  • Chosen out of the box look and feel of base themes,
  • Gulp workflow,
  • Composer workflow.

SASS organization and improvements

  • SASS code organization,
  • SASS/CSS inheritance,
  • SASS @import flattening feature,
  • SASS/CSS opt-out feature.

Component approach

  • Components and atomic approach,
  • Twig organization with a focus on easy extension (twig block, include and extend directives),
  • Paragraphs and paragraphs_collection.

Advanced built-in tools

  • Custom update theme API,
  • Drush command tools,
  • Testing: Behat and Wraith,
  • Organized automation.

Closing

  • Documentation,
  • Showcase of the successful projects,
  • Credits,
  • Plans for the future.


All important points will be covered with actual simple to understand working code demo examples.


List of Drupal contrib resources we will cover or mention in this presentation: