🛠Creating our own custom service programatically 🛠

  Рет қаралды 9,444

Drupal Up - Drupal 8 Video Tutorials

Drupal Up - Drupal 8 Video Tutorials

Күн бұрын

Пікірлер: 8
@fiftystory
@fiftystory Жыл бұрын
Thanks a lot really informative ....
@dineshshrivastava4597
@dineshshrivastava4597 4 жыл бұрын
Nice Video, What is the Editor you used?
@RajkumarDgupta
@RajkumarDgupta 4 жыл бұрын
atom
@chipsybit8046
@chipsybit8046 6 жыл бұрын
You made an error in the drupalup_service.info.yml file at 1:24. look in your git repo, "type" and "description" is reversed. If you make a modul like in your video, the modul will not be shown in extend or not be able to enable via drush. edit: okay everythings fine, strangely i named the info file wrong.
@Drupal-up
@Drupal-up 6 жыл бұрын
Hi Chipsy Bit, in the video there is no problem in the .info.yml file. Yes it is indeed reversed in the repo ( github.com/drupal-up/drupalup_service/blob/master/drupalup_service.info.yml ), but the order does not matter. Also, you wrote that "If you make a module like in the video ..." but in the video, the order is "description first", so I don't get your point. The module as it is in the repo "type before description in .info.yml" is being recognized and could be activated, both with Drush and from the Extend page (just tested it, since talk is cheap). Cheers and thanks for mentioning the reversed order in the repo.
@NowHereUs
@NowHereUs 5 жыл бұрын
This is what frameworks does to you. We have just learnt how to create more overhead on our site. Leave the fanciness for the site builders. When you are developer just include the file from a module or use autoload. This method is simpler, faster and more understandable. It is always desirable that our sites run quicker due to the reduction of overhead.
@NowHereUs
@NowHereUs 5 жыл бұрын
Anyway, your way of explaining things is very good. Keep making more videos. I like your video though I hated the approach drupal has taken.
@oliver_siegel
@oliver_siegel 4 жыл бұрын
The long term benefits of this are clear though, as your project grows, and different parts of the application reference each other... you won't be able to manage all the includes and autoloads anymore. Then you'll have to implement some type of solution to help you manage all of this complexity. And this solution to help you manage this complexity is exactly what Drupal does! There's definitely a few things that seem unnecessarily complicated about Drupal, but again: Stringing everything together on your own, with includes and autoloads will not be much easier, when you have a large application.
🛠 Drupal 8 injecting a service to our custom service 🛠
4:59
Drupal Up - Drupal 8 Video Tutorials
Рет қаралды 7 М.
Custom module with programatically created block
13:44
Drupal Up - Drupal 8 Video Tutorials
Рет қаралды 10 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
No Sound Leetcode 741: Cherry Pickup
4:39
ExtremeProgrammer
Рет қаралды 1
The symptoms of bad code - Robert C. Martin (Uncle Bob)
5:42
Dev Tools Made Simple
Рет қаралды 33 М.
🚀 Creating an AJAX Form into our Drupal 8 custom module programmatically
12:47
Drupal Up - Drupal 8 Video Tutorials
Рет қаралды 14 М.
hook_preprocess and hook_preprocess_hook functions in Drupal 8
8:43
Drupal Up - Drupal 8 Video Tutorials
Рет қаралды 10 М.
The Secret Science of Perfect Spacing
9:40
Chainlift
Рет қаралды 479 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 6 МЛН
Exposing Your API in Drupal 8
9:59
Drupalize.Me
Рет қаралды 24 М.
Putin urgently interrupted a meeting / Change of power in Ukraine
14:46
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН