Speakers: Alain Schlesser

  • Alain Schlesser: Uncommon (Ab)Uses of Composer

    WordCamp London 2018Speaker: Alain Schlesser

    October 5, 2018 — We will look at the basic mechanisms that make Composer as flexible as it is. Then, we’ll go through some of the more useful and/or exotic examples of how to use Composer for solving problems that it wasn’t really meant to solve.

  • Alain Schlesser, David Mosterd: Dependency Injection and Design Patterns in Real Life

    WordCamp Europe 2018Speakers: Alain Schlesser, David Mosterd

    August 7, 2018 — You know a lot of pattern buzzwords and OOP syntax, but fail to get actual benefits out of their practical use? You’ve read about principles and best practices but cannot apply them to your daily problems? We’ll work on a simple WordPress plugin to discuss fundamental principles like dependency injection and discover useful design patterns that solve real pain points in your development work. We’ll combine these techniques to give you strategies to better deal with ever-changing requirements.

    This workshop assumes solid knowledge of PHP and basic knowledge about classes and objects, how the PHP OOP syntax works and what the notions of polymorphism, encapsulation and inheritance mean.

    Presentation Slides »

  • Alain Schlesser: Structuring Larger OOP Plugins

    WordCamp Utrecht 2017Speaker: Alain Schlesser

    December 25, 2017 — As the plugins you develop grow bigger, you need to spend more effort on getting the structure just right, to keep the plugin maintainable and easily extensible.

    This session will briefly go over several key concepts of dealing with growing plugins, like using Composer to split your plugins into multiple reusable libraries or using a dependency injector to make the code independent of any specific implementations.

    The session assumes knowledge of basic OOP principles and is an unofficial follow-up to the session “OOP Plugin Development Basics” held at WordCamp Nijmegen 2017.

    Presentation Slides »

  • Alain Schlesser: Computer Science Intro: How To Avoid Reinventing The Wheel

    WordCamp US 2017Speaker: Alain Schlesser

    December 8, 2017 — This session tries to give a brief glimpse into the timeframes and the usefulness of Computer Science as a discipline and wants to make the point for looking at known solutions first before reinventing the next few wheels.

  • Bernhard Kau, Simon Kraft, Torsten Landsiedel, Alain Schlesser: Das Pluginkollektiv

    WordCamp Cologne 2017Speakers: Bernhard Kau, Simon Kraft, Torsten Landsiedel, Alain Schlesser

    December 1, 2017 — Das Pluginkollektiv hat einige beliebte Plugins von Sergej Müller übernommen und betreut und entwickelt die Plugins weiter. In dem Video erzählen euch Entwickler des Pluginkollektivs was es damit auf sich hat und zeigt euch wie ihr mitmachen könnt.

  • Alain Schlesser: OOP Plugin Development Basics

    WordCamp Nijmegen 2017Speaker: Alain Schlesser

    October 14, 2017 — Building WordPress plugins in an object-oriented way presents some particular challenges, due to the fact that the WordPress APIs you’re coding against are mostly procedural in nature.

    In this session, we’ll go over a real-world plugin to see how the code should be structured, and how best to hook into the WordPress lifecycle when you want to take full advantage of the benefits of OOP PHP.

  • Alain Schlesser: Demystifying The WordPress Bootstrap Process

    WordCamp Europe 2017Speaker: Alain Schlesser

    June 22, 2017 — Alain is a freelance software engineer and WordPress consultant living in Germany.

    This session presents a detailed overview of the exact execution flow that launches your WordPress site on each page request, giving you detailed insights into:

    the order in which files are loaded
    how & why the different global constants are set up
    what functionality is “pluggable” and can be replaced by custom implementations
    how the database is connected
    how caching is set up
    how localization is set up and loaded
    how a multisite (network) is identified and loaded
    how the Plugin API is initialized

    Presentation Slides »

  • Alain Schlesser: Wrapping A Modern PHP Architecture Around A Legacy WordPress Site

    WordCamp London 2017Speaker: Alain Schlesser

    June 6, 2017 — Alain is a freelance software engineer and WordPress consultant.

    In his talk he presents a case study of wrapping a legacy WordPress site into a scalable architecture, using a combination of existing and custom packages, that provides the following benefits:
    – services architecture that lets plugins define their dependencies, with automatically resolved loading order
    – auto-wiring dependency injection that allows coding against interfaces instead of implementations
    – configuration management that can account for differences in environments
    – centralized logging throughout the entire site that can be sent to logging servers
    – bus system that handles events and commands without blocking the frontend
    – all of this without any noticeable impact on content editors

    Presentation Slides »

  • Alain Schlesser: Controlling WordPress Through The Command Line – Introduction to WP-CLI

    WordCamp Berlin 2017Speaker: Alain Schlesser

    May 22, 2017 — If you manage more than one WordPress website, you might have experienced situations where you needed to do the exact same operation on multiple websites. If you were clicking through the sites one-by-one and thinking that there should be a better way to manage what you are trying to do, I’ve got good news: there actually is!

    WP-CLI lets you control your WordPress sites through the command line, allowing you to do any operation across an arbitrary number of sites. This can save you minutes, hours, days or even weeks of work.

    I’ll start with a small introduction to the command line itself, and then continue with very easy and common scenarios where WP-CLI can save you large amounts of time with little to no effort.

    Presentation Slides »

  • Alain Schlesser: The Secret Sauce For Writing Reusable Code

    WordCamp Nederland 2016Speaker: Alain Schlesser

    October 28, 2016 — Everyone knows that you need to write reusable code to be able to grow as a developer, right?

    However, most developers struggle to understand how to split up their code to make it truly reusable, so they end up copy-pasting parts of code and modifying as needed, instead of effectively reusing the code that was already written, without a single change.

    This session explains the concept of Config files and how they allow you to cleanly separate reusable code from project-specific code.

    Presentation Slides »