Camp photos by Toomas Pippar from
Drupal 8 theming
Drupal 8 has many new exciting features, but none are as radical or as needed as the changes made to the theme system*!
For 10 years Drupal's front end was design and built by developers that tried their very best to figure out what the front end needed; the lack of dedicated front-enders in core; resulted in front end architecture that was "less than ideal" for the challenges that the front end has faced for the last 5 years.
Drupal 8 and twig changed it all!
A complete overhaul of the theme system started 3 years ago - PHPtemplate is now out the door, the twig template system is implemented, and most importantly, the core idea of how the front end is build has done a 180° from how Drupal 7 handled theming.
This means:
- No more divitis
- No more Class soup
- No more of Drupal's standard markup and classes
- No more yelling at the markup and not knowing where stuff came from
- No more using regex for modify a CSS class!
Such a dramatic change would normally cause panic is a time for celebration.
The session will give you a solid understanding of the key concepts of Drupal 8 theming, as a themer.
We will cover:
- The structure of a Drupal 8 theme
- Classy and Stark themes (and what it means for the future of theming)
- Base themes - what happened
- Debugging and looking for markup
- How {{ twig }} works from a CSS/HTML coders perspective (how to build a theme)
- What to tell your developers about theming
- CSS file structure and how M.A.T. works
- JS and how to drop 32K
This session is created with the themer / front-ender / html-css designer in mind, so a maximum of 3 lines of PHP will be shown in this session.
*Yes I know that a lot of “big things came into d8” that weren't front end related ;)
About Morten:
Morten Birch Heide-Jørgensen (mortendk, King, d.o user 65676) is maintainer of Classy, a base theme for Drupal 8 core.
He has been building websites since 1996, and has been in love with Drupal since 4.7. Morten has been famously active in the Drupal Community since his first encounter with Drupal at DrupalCon Brussels in 2006 and he has shared his passion and knowledge on numerous Drupal events.
Bio:
I have been Designing websites since the early days of 1996, when photoshop 2.5 was hot & netscape2 ruled the world.
After more than 19 years as a badass pro in this business i have used the last 6 in the Drupalcommunity pushing for more awareness of the Frontend & making it the most sexy web platform in the world ;)
Run a Small shop in copenhagen thats spezialicing in custom handmade Drupal themes, where markup & design is king!
Organizer of several tech conferences, camps & meetups in copenhagen & world wide: Drupalcon, Brewww, Frontend United
Specialties: web Design, HTML5, CSS3, PHP, Drupal, a little bit of jQuery, Drupal Theming, Rock n Roll
LinkedIn: http://dk.linkedin.com/in/mortendk
Track:
Development track
Level:
Intermediate
Speakers:
Morten "mortendk" Birch Heide-Jørgensen