Upgrade to Pro — share decks privately, control downloads, hide ads and more …

From D7 to D8: My experience (DrupalDayMurcia2015)

0bbd5f6eaf8e465c5a0d3aab646788c6?s=47 Jose Luis
December 05, 2015

From D7 to D8: My experience (DrupalDayMurcia2015)

La primera release de Drupal 8 está a la vuelta de la esquina y muchos desarrolladores ya han iniciado sus proyectos con esta última versión de nuestro CMS favorito.
Como profesionales debemos dar un paso adelante y superar la curva de aprendizaje una vez más para adaptarnos a nuevos conceptos, usar nuevas herramientas, etc.. En definitiva dejar atrás una forma de hacer las cosas con Drupal 7 y empezar una nueva etapa con Drupal 8.

El objetivo de esta charla será aportar mi corta, pero intensa, experiencia trabajando con mi primer proyecto real en Drupal 8. Desde un punto de vista práctico y concreto, intentaré aportar qué herramientas, fuentes de información o conceptos me están siendo de gran ayuda para afrontar la curva de aprendizaje de Drupal 8. De este modo busco aportar mi granito de arena y facilitar a otros, que como yo, han iniciado o están a punto de iniciar el viaje fascinante de dejar de desarrollar en Drupal 7 y empezar a hacerlo en Drupal 8.

0bbd5f6eaf8e465c5a0d3aab646788c6?s=128

Jose Luis

December 05, 2015
Tweet

Transcript

  1. From D7 to D8: My experience Drupal Day Murcia 2015

    #DdayMurcia2015 - @jlbellido
  2. You already know me from... #DdayMurcia2015 - @jlbellido José Luis

    Bellido (jlbellido) Other sessions like: • Render API - DrupalCamp Spain 2015 Member of: • Asociación española de Drupal • Drupal Sevilla You can find me: • @jose_lakatos • https://www.drupal.org/u/jlbellido • https://github.com/jlbellido
  3. #DdayMurcia2015 - @jlbellido We’re hiring!

  4. #DdayMurcia2015 - @jlbellido Why Are we here today?

  5. Table of Contents #DdayMurcia2015 - @jose_lakatos • Background && Context.

    • Reset yourself. • Useful points of documentation. • Useful tools. • Looking back.
  6. 1. Background & Context. #DdayMurcia2015 - @jlbellido

  7. 1. Background && Context : Why Drupal 8? #DdayMurcia2015 -

    @jlbellido • Only a few contrib modules. • Release planned for at the same time that Drupal 8.0.0 should be. • Research project. • Drupal 8 already includes some of the desired features. • Contribute back!
  8. 1. Background && Context : Previous sessions. #DdayMurcia2015 - @jlbellido

    Thinking about starting *now* a project with Drupal 8? Here is my story. by @penyaskito
  9. 2. Reset yourself. #DdayMurcia2015 - @jlbellido

  10. 2. Reset yourself : My starting point #DdayMurcia2015 - @jlbellido

    • Drupal developer for 3+ years • Lack of a real experience with other technologies. • Learned about good practices hard to implement in drupal 7. • Living in the island. • Attendee of several events.
  11. 2. Reset yourself: Forget almost all. #DdayMurcia2015 - @jlbellido “Just

    keep in mind the concepts and good practices. Forget everything else.”
  12. 2. Reset yourself #DdayMurcia2015 - @jlbellido “Read and learn modern

    PHP concepts. Traits, Plugins..Will be your friends.” Must read: http://www.phptherightway.com/
  13. 2. Reset yourself #DdayMurcia2015 - @jlbellido “Don’t stay in the

    surface. Dig in the concept.”
  14. 2. Reset yourself #DdayMurcia2015 - @jlbellido “Reset and review your

    current development process”
  15. 2. Reset yourself #DdayMurcia2015 - @jlbellido “The best examples you

    can find are in Core!”
  16. 2. Reset yourself #DdayMurcia2015 - @jlbellido “Have a good test

    coverage in your project and maintain it.”
  17. 3. Useful points of documentation. #DdayMurcia2015 - @jlbellido

  18. 3. Useful points of documentation: #DdayMurcia2015 - @jlbellido Drupal.org change

    records. @drupal8changes
  19. 3. Useful points of documentation: #DdayMurcia2015 - @jlbellido Drupal 8

    Contrib Porting Tracker
  20. 3. Useful points of documentation: #DdayMurcia2015 - @jlbellido Drupal API

    Documentation
  21. 3. Useful points of documentation: #DdayMurcia2015 - @jlbellido Youtube channel

    of Drupal Association AED's channel in Vimeo
  22. 3. Useful points of documentation: #DdayMurcia2015 - @jlbellido The Examples

    module Your help is needed for having more examples! • New examples: ◦ Content entity example. ◦ Config entity example. ◦ Tour example. ◦ Plugin system example. • Already ported examples: ◦ Cache example ◦ Field permission example ◦ js example
  23. 4. Useful Tools. #DrupalDayMurcia2015 - Jose Luis Bellido

  24. 4. Useful tools: Drupal Console #DdayMurcia2015 - @jlbellido Drupal Console

    http://drupalconsole.com/
  25. 4. Useful tools: Drush VS Drupal Console #DdayMurcia2015 - @jlbellido

  26. #DdayMurcia2015 - @jlbellido

  27. 4. Useful tools: Drush && Drupal Console #DdayMurcia2015 - @jlbellido

    Drush from Drupal Console: $ drupal drush [arguments] Drupal Console from Drush: Call Drupal Console commands natively from Drush #1337
  28. 4. Useful tools #DdayMurcia2015 - @jlbellido XDebug • dpm() now

    is not useful. • Knowing better how it’s built. • Run custom short scripts in run time! • Definitely required. PHP Debugging [AED: Virtual BoF]
  29. 4. Useful tools #DdayMurcia2015 - @jlbellido Debugging Twig Templates

  30. 4. Useful tools #DdayMurcia2015 - @jlbellido Web Profiler • Included

    in Devel (D8+). • Search and inspect final queries run! • Tons of other tools!
  31. 4. Useful tools #DdayMurcia2015 - @jlbellido Composer && Composer manager

    • We’re getting out the island! • Using Composer in a Drupal project. • Composer in relation to Drush Make
  32. #DdayMurcia2015 - @jlbellido 5. Looking back

  33. #DdayMurcia2015 - @jlbellido Questions? Answers?

  34. #DdayMurcia2015 - @jlbellido