Skip to content

Instantly share code, notes, and snippets.

@aczietlow
Last active April 11, 2018 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aczietlow/9d883f51b42f10d3f371950c593f508a to your computer and use it in GitHub Desktop.
Save aczietlow/9d883f51b42f10d3f371950c593f508a to your computer and use it in GitHub Desktop.
Drupal Con Nashville 2018

Drupal Con Nashville 2018

Large take aways

  • Decoupled Drupal Days - NYC August
  • Top to bottom Drupal needs to work with marketers
    • Empower marketers to do their job without thinking about the tech
    • Allow them to evaluate Drupal options easily
    • Remove Drupal's technical capabilities from conversations with marketers, instead make it about partnership around solving their problems. CMOs don't give AF about decoupled, big pipe, or anything else
  • Book recommendation: Mythical Man Month
    • The 4th time it's been recommended
      • Buy off amazon wishlist when wifi doesn't suck

Tues

Horizontal DevOps ~ Scale your team and tools across projects

URL; https://events.drupal.org/nashville2018/sessions/horizontal-devops

  • Need buy in from top down of org for dev ops to be successful
  • Need to empower developers to contribute and rely on devops tools
    • Relying on devops means that developers get a big red button to stop production and fix the devops pipeline instead of attempting to continue to hobble along

Building "cooperative" APIs with HTTP/2

URL: https://events.drupal.org/nashville2018/sessions/building-cooperative-apis-http2

  • lol
    • http 400 - go home you're drunk
    • http 500 - it's not you, it's me
  • REST - passes state, does not perform business logic (or typically shouldn't)
  • http/2 server push
    • after initial request. push rest of requirements in parallel

presenter ran way short on time

GDPR

URL: https://events.drupal.org/nashville2018/sessions/think-your-website-gdpr-compliant-think-again

  • Data breaches and attacks on insecure data was a leading cause in GDPR getting drafted
    • They WILL continue to happen. Accept it and prepare
  • Fine: €20 million or 4%! == Don't fuck up
  • Breech notification - Have policy in place
  • Right to be forgotten needs to be completed in a "timely fashion"
    • WTF is a "timely fashion"? Nobody knows or agrees
  • Can encrypt users private data
    • Each user has their own key
    • Makes right to be forgotten real easier

Wednesday

One entry point - Commerce for online and real world transactions

URL: https://events.drupal.org/nashville2018/sessions/one-entry-point-commerce-online-and-real-world-transactions

  • Drupal commerce 2.x has a road map and schedule releases
    • Matches D8 release schedule
  • Commerce eco system already looks active, a lot of key modules are g2g
  • Looks very site builder friendly
    • Curious if the UX on the site builder side suffers from the "Commerce can do all of the things" logic
      • Hopefully the rewrite helped this
  • Pos Module is ready in commerce
  • Commerce RMA Supports entire RMA process
    • updates stock, allows users to print shipping labels from their home, handles refunding logic

Docksal

Biggest strength over lando

  • less abstraction

    • if you know docker compose and bash you can make it do anything, and it stays out of the way
  • Lando has their own language

  • Native works, with a 20% performance hit

  • needs better marketing

  • There are limit of virtual networks you can run

  • Terminus support

  • I need to add

  • Docksal will start allowing contribution credit, marketing, or something

    • Get Jason and Todd buy in!
  • can do fin run cli <thing> spawns a cli container globally in the filesystem

CI

  • Behat-proxy or vhost-proxy (heavy accent, figure out later)
  • CI=true
  • PROJECT_DANGLING_TIMEOUT="${PROJECT_DANGLING_TIMEOUT}"
  • wasn't designed for local clean up

Hostile Drupal -- Tips & Tricks For Running Drupal In Hostile Environments

  • Nailed it
  • good talk for the 25 minute window
  • Good!

Principles of Unit Testing

URL: https://events.drupal.org/nashville2018/sessions/principles-unit-testing

Don't get stuck in the tar pit

Test Doubles Solitary vs Sociable

  • Definition
    • what ever the team needs to further understand the system
    • Martin Fowler is the man!
  • Test doubles
    • term comes from stund doubles
    • Looks and behaves like the real thing
  • Challenges when testing a unit
  • indirect inputs(shared state)
    • php globals,
  • indirect outputs
    • writing to a database, calling other systems
    • not a pure function
  • Test doubles
    • Dummy
      • never called
    • fake
      • is called
    • stub
      • '', provide indirect inputs
    • spy
      • '', captures indirect outputs
    • mock
      • '', runs validation
  • Solitary vs Sociable
    • Sociable is a bundle of units
      • Okay to have multiple classes
    • Solitary is a singular unit with everything mocked
      • Can only have 1 concrete class
  • Tooling
    • PHP metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment