SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Drupal 8
What’s coming?
Piyuesh kumar
QED42
AGENDA
√ Drupal 8 Directory Structure
√ Core Initiatives
√ Symfony Components
√ Q&A
Drupal 8 Directory Structure
Lets take a look at it?
Core Initiatives
√ Configuration Management
√ Web Services
√ Multilingual
√ HTML 5
√ Mobile
Configuration Management
Configuration Management
When to save configuration data?
√UI changes (automatic): When the save button is
clicked on an admin page, data gets written to the
active store as well as db.
√Code changes (manual): use
admin/config/development/sync to sync the config in
code with db and active store.
Configuration Management
√ Advantages:
√ No need to load the complete data from variables
table now. Use the config api to fetch only the
required configs.
√ Easier to move configurations b/w dev and
production instances.
Example
// Load a set of configuration out of the active store.
// 'prefix.name' refers to the filename of the .yml file, without the
extension.(prefix = module name and name = settings name)
$config = config('prefix.name');
// Access a single value out of the store.
echo $config->get('my.value');
// Change a value and save it back to both the active store and
the filesystem.
$config->set('my.value’, 'my new value');
$config->save();
Web Services
√ Exposes drupal content, making drupal a resful
service provider.
√ Service module in core, even better…
√ Example:
curl -i -H "Accept: application/json" --cookie SESSxxx
http://d8.dev.local/node/1
Multilingual
√ Language selection while installation.
√ Translatable entities.
HTML5
$form['telephone'] = array(
'#type' => 'tel',
'#title' => t('Phone'),
);
$form['website'] = array(
'#type' => 'url',
'#title' => t('Website'),
);
$form['email'] = array(
'#type' => 'email',
'#title' => t('Email'),
Mobile Initiative
√ Responsiveness for all the drupal 8 themes.
√ Decoupling of layouts and themes.
√ Drupal being resful allows creating native
apps also easier.
√ Everything is a block now.
Symfony Components
√ Class-Loader
√ Dependency-injection
√ Event Dispatcher
√ Http Foundation
√ Http Kernel
√ Routing
√ Yaml
√ Validator
√ Translation
√ Serializer
Symfony Components
√ ClassLoader: Component loads your project classes
automatically if they follow some standard PHP
conventions.
√ Dependency Injection: component allows you to
standardize and centralize the way objects are
constructed in your application.
√ Event Dispatcher: component implements the
Observer pattern in a simple and effective way to
make all these things possible and to make your
projects truly extensible.
Symfony Components
√ HttpFoundation: Component defines an object-
oriented layer for the HTTP specification.
√ HttpKernel: notifies events to convert a Request
object to a Response one.
√ Routing: allows mapping from a URL pattern to a
controller.
√ Yaml: loads and dumps yml files used for config
management.
√ Serializer: Component is meant to be used to
turn objects into a specific format (XML, JSON,
Yaml, ...) and the other way around.
Symfony components
√ This component is based on the JSR-303 Bean
Validation specification and enables specifying
validation rules for classes using XML, YAML, PHP
or annotations, which can then be checked against
instances of these classes.
√ Translation provides for internationalization. Helps in
abstracting strings and other locale-specific pieces
out of your application and into a layer where they
can be translated and converted based on the
user's locale
√ The Process Component executes commands in
sub-processes.
Thank You!!
Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

Compare database schemas
Compare database schemasCompare database schemas
Compare database schemasDmitry Levsha
 
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...INM_
 
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntOpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntAlkacon Software GmbH & Co. KG
 
Itb2018 cf apps to dev to production with command box cf-config docker
Itb2018   cf apps to dev to production with command box cf-config dockerItb2018   cf apps to dev to production with command box cf-config docker
Itb2018 cf apps to dev to production with command box cf-config dockerOrtus Solutions, Corp
 

Was ist angesagt? (6)

One
OneOne
One
 
Fw1
Fw1Fw1
Fw1
 
Compare database schemas
Compare database schemasCompare database schemas
Compare database schemas
 
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
 
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and GruntOpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
OpenCms Days 2014 - Enhancing OpenCms front end development with Sass and Grunt
 
Itb2018 cf apps to dev to production with command box cf-config docker
Itb2018   cf apps to dev to production with command box cf-config dockerItb2018   cf apps to dev to production with command box cf-config docker
Itb2018 cf apps to dev to production with command box cf-config docker
 

Andere mochten auch

Future Proofing Your Drupal Skills
Future Proofing Your Drupal SkillsFuture Proofing Your Drupal Skills
Future Proofing Your Drupal SkillsPiyuesh Kumar
 
Ch6 atomssection2
Ch6 atomssection2Ch6 atomssection2
Ch6 atomssection2cwyatt01
 
20110322 oracle
20110322 oracle20110322 oracle
20110322 oracleKwonjs
 
Ch12 speedsection3
Ch12 speedsection3Ch12 speedsection3
Ch12 speedsection3cwyatt01
 
New microsoft office power point 2007 presentation
New microsoft office power point 2007 presentationNew microsoft office power point 2007 presentation
New microsoft office power point 2007 presentationCarol Green
 
Presentació de Japó
Presentació de JapóPresentació de Japó
Presentació de Japóarnaufranques
 
Pets company
Pets companyPets company
Pets companykysjw24
 
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...Azwaniey Ahmad
 
Ch14 forceandmotionsection1
Ch14 forceandmotionsection1Ch14 forceandmotionsection1
Ch14 forceandmotionsection1cwyatt01
 
Ch4 densityandbuoyancysection2
Ch4 densityandbuoyancysection2Ch4 densityandbuoyancysection2
Ch4 densityandbuoyancysection2cwyatt01
 
Tugas pokok dan fungsi penyuluh pertanian
Tugas pokok dan fungsi penyuluh pertanianTugas pokok dan fungsi penyuluh pertanian
Tugas pokok dan fungsi penyuluh pertanianAdry Nelson
 
Claims evidence and reasoning presentation
Claims evidence and reasoning presentationClaims evidence and reasoning presentation
Claims evidence and reasoning presentationcwyatt01
 
Marketing opérationnel
Marketing opérationnel Marketing opérationnel
Marketing opérationnel raouia mira
 

Andere mochten auch (20)

Future Proofing Your Drupal Skills
Future Proofing Your Drupal SkillsFuture Proofing Your Drupal Skills
Future Proofing Your Drupal Skills
 
Ch6 atomssection2
Ch6 atomssection2Ch6 atomssection2
Ch6 atomssection2
 
20110322 oracle
20110322 oracle20110322 oracle
20110322 oracle
 
Ch12 speedsection3
Ch12 speedsection3Ch12 speedsection3
Ch12 speedsection3
 
New microsoft office power point 2007 presentation
New microsoft office power point 2007 presentationNew microsoft office power point 2007 presentation
New microsoft office power point 2007 presentation
 
Presentació de Japó
Presentació de JapóPresentació de Japó
Presentació de Japó
 
Pets company
Pets companyPets company
Pets company
 
Herba
HerbaHerba
Herba
 
Dcm migration
Dcm migrationDcm migration
Dcm migration
 
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...
Buah mengkudu atau nama saintifiknya ialah morinda citrifolia telah digunakan...
 
Ch14 forceandmotionsection1
Ch14 forceandmotionsection1Ch14 forceandmotionsection1
Ch14 forceandmotionsection1
 
Drupal performance
Drupal performanceDrupal performance
Drupal performance
 
Ibm
IbmIbm
Ibm
 
Ch4 densityandbuoyancysection2
Ch4 densityandbuoyancysection2Ch4 densityandbuoyancysection2
Ch4 densityandbuoyancysection2
 
Dcp'15
Dcp'15Dcp'15
Dcp'15
 
Dcp'14 drush
Dcp'14 drushDcp'14 drush
Dcp'14 drush
 
CSPS Test
CSPS TestCSPS Test
CSPS Test
 
Tugas pokok dan fungsi penyuluh pertanian
Tugas pokok dan fungsi penyuluh pertanianTugas pokok dan fungsi penyuluh pertanian
Tugas pokok dan fungsi penyuluh pertanian
 
Claims evidence and reasoning presentation
Claims evidence and reasoning presentationClaims evidence and reasoning presentation
Claims evidence and reasoning presentation
 
Marketing opérationnel
Marketing opérationnel Marketing opérationnel
Marketing opérationnel
 

Ähnlich wie Into to drupal8

Drupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesDrupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesNuvole
 
DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DrupalDay
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Mack Hardy
 
Voiture tech talk
Voiture tech talkVoiture tech talk
Voiture tech talkHoppinger
 
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...Erich Beyrent
 
A new tool for measuring performance in Drupal 8 - DrupalCamp London
A new tool for measuring performance in Drupal 8 - DrupalCamp LondonA new tool for measuring performance in Drupal 8 - DrupalCamp London
A new tool for measuring performance in Drupal 8 - DrupalCamp LondonLuca Lusso
 
Manage Deployments with Install Profiles and Git
Manage Deployments with Install Profiles and GitManage Deployments with Install Profiles and Git
Manage Deployments with Install Profiles and Gitnhepner
 
Devoxx UK 2018 - A cloud application journey with helm and kubernetes
Devoxx UK 2018 - A cloud application journey with helm and kubernetesDevoxx UK 2018 - A cloud application journey with helm and kubernetes
Devoxx UK 2018 - A cloud application journey with helm and kubernetesAna-Maria Mihalceanu
 
Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Peter Bittner
 
OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015Oro Inc.
 
Config management
Config managementConfig management
Config managementAlexei Goja
 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataInfluxData
 
Applying software engineering to configuration management
Applying software engineering to configuration managementApplying software engineering to configuration management
Applying software engineering to configuration managementBart Vanbrabant
 
Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...Aleksey Tkachenko
 
Docker presentasjon java bin
Docker presentasjon java binDocker presentasjon java bin
Docker presentasjon java binOlve Hansen
 
OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3Borni DHIFI
 
Anatomy of Autoconfig in Oracle E-Business Suite
Anatomy of Autoconfig in Oracle E-Business SuiteAnatomy of Autoconfig in Oracle E-Business Suite
Anatomy of Autoconfig in Oracle E-Business Suitevasuballa
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesGerald Villorente
 

Ähnlich wie Into to drupal8 (20)

Drupal 8 Configuration Management with Features
Drupal 8 Configuration Management with FeaturesDrupal 8 Configuration Management with Features
Drupal 8 Configuration Management with Features
 
DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8DDAY2014 - Features per Drupal 8
DDAY2014 - Features per Drupal 8
 
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
Strategies and Tips for Building Enterprise Drupal Applications - PNWDS 2013
 
Voiture tech talk
Voiture tech talkVoiture tech talk
Voiture tech talk
 
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...
Configuration as Dependency: Managing Drupal 8 Configuration with git and Com...
 
A new tool for measuring performance in Drupal 8 - DrupalCamp London
A new tool for measuring performance in Drupal 8 - DrupalCamp LondonA new tool for measuring performance in Drupal 8 - DrupalCamp London
A new tool for measuring performance in Drupal 8 - DrupalCamp London
 
Manage Deployments with Install Profiles and Git
Manage Deployments with Install Profiles and GitManage Deployments with Install Profiles and Git
Manage Deployments with Install Profiles and Git
 
Devoxx UK 2018 - A cloud application journey with helm and kubernetes
Devoxx UK 2018 - A cloud application journey with helm and kubernetesDevoxx UK 2018 - A cloud application journey with helm and kubernetes
Devoxx UK 2018 - A cloud application journey with helm and kubernetes
 
Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)Avoid the Vendor Lock-in Trap (with App Deployment)
Avoid the Vendor Lock-in Trap (with App Deployment)
 
OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015
 
Drupal 8 Configuration Management
Drupal 8 Configuration ManagementDrupal 8 Configuration Management
Drupal 8 Configuration Management
 
Config management
Config managementConfig management
Config management
 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxData
 
Applying software engineering to configuration management
Applying software engineering to configuration managementApplying software engineering to configuration management
Applying software engineering to configuration management
 
Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...Docman - The swiss army knife for Drupal multisite docroot management and dep...
Docman - The swiss army knife for Drupal multisite docroot management and dep...
 
Docker presentasjon java bin
Docker presentasjon java binDocker presentasjon java bin
Docker presentasjon java bin
 
OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3OpenERP Technical Memento V0.7.3
OpenERP Technical Memento V0.7.3
 
Anatomy of Autoconfig in Oracle E-Business Suite
Anatomy of Autoconfig in Oracle E-Business SuiteAnatomy of Autoconfig in Oracle E-Business Suite
Anatomy of Autoconfig in Oracle E-Business Suite
 
It gilde 20150209
It gilde 20150209It gilde 20150209
It gilde 20150209
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
 

Into to drupal8

  • 2.
  • 3. AGENDA √ Drupal 8 Directory Structure √ Core Initiatives √ Symfony Components √ Q&A
  • 4. Drupal 8 Directory Structure Lets take a look at it?
  • 5. Core Initiatives √ Configuration Management √ Web Services √ Multilingual √ HTML 5 √ Mobile
  • 7. Configuration Management When to save configuration data? √UI changes (automatic): When the save button is clicked on an admin page, data gets written to the active store as well as db. √Code changes (manual): use admin/config/development/sync to sync the config in code with db and active store.
  • 8. Configuration Management √ Advantages: √ No need to load the complete data from variables table now. Use the config api to fetch only the required configs. √ Easier to move configurations b/w dev and production instances.
  • 9. Example // Load a set of configuration out of the active store. // 'prefix.name' refers to the filename of the .yml file, without the extension.(prefix = module name and name = settings name) $config = config('prefix.name'); // Access a single value out of the store. echo $config->get('my.value'); // Change a value and save it back to both the active store and the filesystem. $config->set('my.value’, 'my new value'); $config->save();
  • 10. Web Services √ Exposes drupal content, making drupal a resful service provider. √ Service module in core, even better… √ Example: curl -i -H "Accept: application/json" --cookie SESSxxx http://d8.dev.local/node/1
  • 11.
  • 12. Multilingual √ Language selection while installation. √ Translatable entities.
  • 13. HTML5 $form['telephone'] = array( '#type' => 'tel', '#title' => t('Phone'), ); $form['website'] = array( '#type' => 'url', '#title' => t('Website'), ); $form['email'] = array( '#type' => 'email', '#title' => t('Email'),
  • 14.
  • 15.
  • 16. Mobile Initiative √ Responsiveness for all the drupal 8 themes. √ Decoupling of layouts and themes. √ Drupal being resful allows creating native apps also easier. √ Everything is a block now.
  • 17.
  • 18.
  • 19.
  • 20. Symfony Components √ Class-Loader √ Dependency-injection √ Event Dispatcher √ Http Foundation √ Http Kernel √ Routing √ Yaml √ Validator √ Translation √ Serializer
  • 21. Symfony Components √ ClassLoader: Component loads your project classes automatically if they follow some standard PHP conventions. √ Dependency Injection: component allows you to standardize and centralize the way objects are constructed in your application. √ Event Dispatcher: component implements the Observer pattern in a simple and effective way to make all these things possible and to make your projects truly extensible.
  • 22. Symfony Components √ HttpFoundation: Component defines an object- oriented layer for the HTTP specification. √ HttpKernel: notifies events to convert a Request object to a Response one. √ Routing: allows mapping from a URL pattern to a controller. √ Yaml: loads and dumps yml files used for config management. √ Serializer: Component is meant to be used to turn objects into a specific format (XML, JSON, Yaml, ...) and the other way around.
  • 23. Symfony components √ This component is based on the JSR-303 Bean Validation specification and enables specifying validation rules for classes using XML, YAML, PHP or annotations, which can then be checked against instances of these classes. √ Translation provides for internationalization. Helps in abstracting strings and other locale-specific pieces out of your application and into a layer where they can be translated and converted based on the user's locale √ The Process Component executes commands in sub-processes.