symfony y drupal
DESCRIPTION
Charla de Symfony2 y Drupal en Desymfony 2013. http://desymfony.com/ponencia/2013/symfony-y-drupalTRANSCRIPT
![Page 1: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/1.jpg)
![Page 2: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/2.jpg)
![Page 3: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/3.jpg)
Acerca de mí
Drupal Developer en
Maintainer de algunos móduloscomo Twitter o OAuth (juampy).
Autor de Drush User's Guide
![Page 4: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/4.jpg)
Acerca de Drupal
![Page 5: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/5.jpg)
2% de la Web usa DrupalFuente: http://buytaert.net/
![Page 6: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/6.jpg)
Eventos en todo el mundo
http://www.garfieldtech.com/presentations/sflportland-drupal8-symfony2/#/2/3
![Page 7: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/7.jpg)
Pero...
Drupal es unproyectoOpen Sourceque se creó hace12 años.
Toca saldar deudatécnica.
http://3.bp.blogspot.com
![Page 8: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/8.jpg)
![Page 9: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/9.jpg)
![Page 10: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/10.jpg)
http://buytaert.net/the-future-is-a-restful-drupal
Febrero 2012: primera reunión (presencial)
![Page 11: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/11.jpg)
¿Qué se ha hecho hasta ahora?
http://m.forocoches.com
![Page 12: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/12.jpg)
ClassLoader● Carga automática de clases (PSR-0).
● Reemplaza al registro de clases de Drupal.
![Page 13: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/13.jpg)
HTTP Foundation y HttpKernel
![Page 14: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/14.jpg)
RoutingReemplaza hook_menu() por mimodulo.routing.yml + Controller/Form.
![Page 15: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/15.jpg)
Routing (2)En hook_menu() sólo queda el título de la página.
![Page 16: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/16.jpg)
Routing (3)En dblog.routing.yml: la ruta, reglas de acceso y controllador.
![Page 17: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/17.jpg)
Routing (4)En el controllador, la lógica de control.
![Page 18: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/18.jpg)
EventDispatcherComo nuestros hooks, pero:
● OOO● Agrupables● Testeables
En Drupal 8 convivirá con loshooks.
Drupal 9 no tendrá hooks.
http://img.desmotivaciones.es
![Page 19: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/19.jpg)
DependencyInjectionPor fin :D
Para código procedural, Drupal::service('id') :(
![Page 20: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/20.jpg)
Doctrine (common)Sólo para procesar annotations.
![Page 21: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/21.jpg)
Otros proyectos OS incorporados
JQuery Backbone
CKEditor Modrnizr Farbtastic Grippie
Normalize Composer
PHPUnit Guzzle Zend Feed
![Page 22: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/22.jpg)
Al fin... test unitarios de verdad
http://www.carlescliment.com/blog/testing-unitario-drupal
![Page 23: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/23.jpg)
¿Y qué pinto yo en todo esto?
https://drupal.org/getting-involved
IRC: #Drupal-Contribute y #Drupal-WSCCI
https://drupal.org/project/drupal/git-instructions
![Page 24: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/24.jpg)
¡Gracias! ¿Preguntas?
http://about.me/juampy
@juampy72
![Page 25: Symfony y Drupal](https://reader033.vdocuments.site/reader033/viewer/2022052214/554bcbbdb4c9058f6c8b4706/html5/thumbnails/25.jpg)
Recursoshttp://buytaert.net/the-future-is-a-restful-drupalhttp://2012.drupalcamp.es/sites/default/files/slides/symfony-drupal-8.pdfhttp://www.garfieldtech.com/presentations/dcmunich2012-wsccihttp://crossfunctional.net/blog/2013/mar/symfony-components-in-drupal-8http://symfony.com/blog/symfony2-meets-drupal-8https://speakerdeck.com/player/4f6a3e51d171350022008299?slide=1#http://previousnext.com.au/blog/understanding-drupal-8s-plugin-systemhttp://blog.erdfisch.de/2012/09/hands-introduction-drupal-8-plugin-systemhttps://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.mdhttps://github.com/Crell/slides-drupal8-symfony2