160 likes | 633 Views
What’s coming up with Drupal 8. Niraj Malinga Meegama. Drupal 8- Agenda For Today . Drupal 8 and Symfony Drupal 8 and Composer Drupal 8 Routing Drupal 8 Controller classes Drupal 8 Dependency Injections Drupal 8 and Guzzle Drupal 8 for Frontend Developer Drupal 8 – Something Extra.
E N D
What’s coming up with Drupal 8 Niraj Malinga Meegama
Drupal 8- Agenda For Today • Drupal 8 and Symfony • Drupal 8 and Composer • Drupal 8 Routing • Drupal 8 Controller classes • Drupal 8 Dependency Injections • Drupal 8 and Guzzle • Drupal 8 for Frontend Developer • Drupal 8 – Something Extra
Drupal 8 + Symfony What components in Symfony do we use • HttpFoundation and HttpKernel- WebServices • Routing–Define module Routes • EventDispatcher–Will runalongwithDrupalhooks • DependencyInjection – To keep classes de coupled • ClassLoader –For easy includes
Drupal 8 + Symfony Other components in Symfonywe use • Yaml - DrupalConfiguration Management • Translation – Multilingual • Validator–For formvalidations • Serializer–Object Convertions • Twig–Will Get tothis
Drupal 8 +Controlller Classes Just Create a Controller Class That extends the Controller base
Drupal 8 +Controlller Classes Benefits we get
Drupal 8 + Packagist + Composer Packagistis the main Composer repository. It aggregates all sorts of PHP packages that are installable with Composer
Drupal 8 + DEPENDECY INJECTIONS How to: Write a Class and define it as a service in *.service.yml
Drupal 8 + Twig SIMPLE & SAFE
Drupal 8 + Also comes with • Views in core • SimpleTest in Core • New Content Management console • Inline Editing • Multilingual Capabilities • Mobile Improvements • HTML5 Markup • Modernizr & Underscore.js
Resources • http://www.previousnext.com.au/blog/drupal-jack-all-trades • http://crossfunctional.net/blog/2013/mar/symfony-components-in-drupal-8 • http://www.inmotionhosting.com/support/edu/drupal-8/news/whats-in-version-8