cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a beginner tutorial for building Magento 2 module.

Looking for a beginner tutorial for building Magento 2 module.

Hi everyone, I'm new to Magento and I decided to start with Magento 2 instead of Magento 1. Is there any tutorial for people like me to build a new magento 2 module from scratch?

I want to learn basic concepts/definition on building a Magento 2 extension.

 

Thanks

 

1 REPLY

Re: Looking for a beginner tutorial for building Magento 2 module.

Hello, you can take a look at this tutorial to learn how to create Hello World module for Magento, it's especially good for beginner because every step has detailed explaination

How to build hello world magento 2 module from scratch

For a quick overview before you read the tutorial, there are 6 steps for creating a magento 2 module as below

  • Step 1: Make module folder:
  • Step 2: Add module.xml to declear the module
  • Step 3: Create registration.php to register the module
  • Step 4: How to Install, Enable or Disable/remove the module
  • Step 5: Route of the module.
  • Step 6: Controller and action.

 

Hope you find this helpful