Introduction to Drupal 8 Vocabulary
-
Upload
innoraft -
Category
Technology
-
view
115 -
download
2
Transcript of Introduction to Drupal 8 Vocabulary
![Page 1: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/1.jpg)
Intro to
vocabulary
![Page 2: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/2.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/3.jpg)
1.“yammel”
![Page 4: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/4.jpg)
“Yaml” is not another Markup language.
It is used to define .info files and other configuration
![Page 5: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/5.jpg)
2.“composer”
![Page 6: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/6.jpg)
“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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/7.jpg)
3.“psr-4”
![Page 8: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/8.jpg)
“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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/9.jpg)
4.“Dependency
injection”
![Page 10: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/10.jpg)
“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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/11.jpg)
5.“Service
container”
![Page 12: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/12.jpg)
“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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/13.jpg)
6.“routing”
![Page 14: Introduction to Drupal 8 Vocabulary](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/14.jpg)
"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](https://reader035.fdocuments.us/reader035/viewer/2022062306/5876c6a61a28ab6d5a8b5f85/html5/thumbnails/15.jpg)
THANKS!
www.innoraft.com
om
+91-033-40010578
@innoraft
www.facebook.com/Innoraft/
www.linkedin.com/company/
innoraft