15
Intro to vocabulary

Introduction to Drupal 8 Vocabulary

Embed Size (px)

Citation preview

Page 1: Introduction to Drupal 8 Vocabulary

Intro to

vocabulary

Page 2: Introduction to Drupal 8 Vocabulary

To the Drupal developers getting started with Symfony, there's a whole new set of vocabulary words we need to learn. Let us check the new terminologies here...

Page 3: Introduction to Drupal 8 Vocabulary

1.“yammel”

Page 4: Introduction to Drupal 8 Vocabulary

“Yaml” is not another Markup language.

It is used to define .info files and other configuration

Page 5: Introduction to Drupal 8 Vocabulary

2.“composer”

Page 6: Introduction to Drupal 8 Vocabulary

“Composer” is a tool for dependency management in PHP. It allows to declare the dependent libraries a project needs. In Drupal, it does the work formerly handled by the

Libraries Module.

Page 7: Introduction to Drupal 8 Vocabulary

3.“psr-4”

Page 8: Introduction to Drupal 8 Vocabulary

“PSR-4” is a standard for autoloading classes. Your

classes’ namespace always start with Drupal\your_module\

on disk that looks like: docroot/modules/custom/your_

module/src/YourClass.php

Page 9: Introduction to Drupal 8 Vocabulary

4.“Dependency

injection”

Page 10: Introduction to Drupal 8 Vocabulary

“Dependency Injection” is the preferred method for

accessing and using services in Drupal 8 and

should be used whenever possible. It declaratively express dependencies in the class definition rather than instantiating in the

class itself.

Page 11: Introduction to Drupal 8 Vocabulary

5.“Service

container”

Page 12: Introduction to Drupal 8 Vocabulary

“Service Container”, also known as Dependency Injection Container, is a

PHP object that manages the instantiation of

services i.e. objects. Service is any PHP object that performs some sort

of “global” task.

Page 13: Introduction to Drupal 8 Vocabulary

6.“routing”

Page 14: Introduction to Drupal 8 Vocabulary

"Routing System" works with the Symfony HTTP

Kernel. It can do everything Symfony's

can (and more), and both use the same syntax to

define routes. A route is a path which is defined for

Drupal to return some sort of content on.

Page 15: Introduction to Drupal 8 Vocabulary

THANKS!

www.innoraft.com

[email protected]

om

+91-033-40010578

@innoraft

www.facebook.com/Innoraft/

www.linkedin.com/company/

innoraft