DEV Community

Cover image for A Look Under the Hood of AdonisJS [Part 2] - Service Providers

A Look Under the Hood of AdonisJS [Part 2] - Service Providers

Patrick O'Dacre on February 12, 2018

Subscribe to my YouTube channel for more tutorials on working with VueJS and AdonisJS -- an MVC framework for NodeJS! Follow along as I explore ...
Collapse
 
skyrpex profile image
Cristian Pallarés

You can almost point out to Laravel docs! I love how it works.

I made a framework like AdonisJS not so long ago, but I used typescript. Not sure if the service provider pattern is gonna be adopted by JS apps anytime soon, but I'd certainly join.

Collapse
 
patrickodacre profile image
Patrick O'Dacre

For sure!

Before I knew about Adonis I longed for a Laravel-like solution for Node. I think the service provider pattern would be adopted by many more people as they get experience with it. It's such a great way to manage dependencies; it's clean and easy to understand.

Thanks for the comment. Keep an eye out for upcoming videos. I'm working on some more advanced tuts on Lucid and the Query Builder. If you know Eloquent, you'll feel right at home ;)

Collapse
 
jamols09 profile image
jamols09

Is the service provider is where the business logic occurs just like on laravel (service-repository pattern)