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

From D7 to D8: My experience (DrupalDayMurcia2015)

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.

Jose Luis

December 05, 2015
Tweet

Other Decks in Programming

Transcript

  1. 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
  2. Table of Contents #DdayMurcia2015 - @jose_lakatos • Background && Context.

    • Reset yourself. • Useful points of documentation. • Useful tools. • Looking back.
  3. 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!
  4. 1. Background && Context : Previous sessions. #DdayMurcia2015 - @jlbellido

    Thinking about starting *now* a project with Drupal 8? Here is my story. by @penyaskito
  5. 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.
  6. 2. Reset yourself: Forget almost all. #DdayMurcia2015 - @jlbellido “Just

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

    PHP concepts. Traits, Plugins..Will be your friends.” Must read: http://www.phptherightway.com/
  8. 2. Reset yourself #DdayMurcia2015 - @jlbellido “Have a good test

    coverage in your project and maintain it.”
  9. 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
  10. 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
  11. 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]
  12. 4. Useful tools #DdayMurcia2015 - @jlbellido Web Profiler • Included

    in Devel (D8+). • Search and inspect final queries run! • Tons of other tools!
  13. 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