Learning Magento 2 (I come from Laravel and Yii2)

I will be taking a new job soon

And they work with magento 2. I kind of see the power of magento 2 and how it will make things easier to create e-commerce apps. But there is something I can’t wrap my head around. Navigating the documentation is quite complicated. Let me explain

Let’s say I created a controller and now I want to send a response.

I’m following some video tutorials where the instructor uses

use MagentoFrameworkControllerResultFactory;

How did he know about the existence of it and how to use it. Where is the documentation for this. Or at least how to create a standard response in the controller.

‚Äč

In Laravel the documentation is so easy to navigate and I can find things quite quickly. But here it’s a bit complicated. I would appreciate your help

submitted by /u/Spiritual-warrior
[link] [comments]