BoxLeaf_HelloWorld disabled

Magento 2 – Development – Part 2: Creating a new module

This article will go the process and requirements of creating a new Magento 2 module. There are allot of articles out there discussing creating your first module that’s because there is a number of ways of doing this and each Developer has there own preference for manageability. At boxleaf Digital this is our preferred way to make code manageable.

Composer Logo

Using composer to manage web projects

How to use composer properly. Composer is a package management tool for PHP. Helping you declare and manage your projects library dependencies.

Unlike Operating systems such as Linux and MacOsx, composer is NOT a package manager such as systems like YUM, APTITUDE, APT or HomeBrew.  But more of a project by project basis dependency manager, since everything is installed within the ./vendor directory and not a global scale.

Composer however does have a global dependency section though, this is more to assist with the project dependencies.

So if you have a project whether that be a framework or a custom PHP application. Whilst either of these can have requirements you can tell composer to require these libraries within. Whilst have it manage there dependencies as well as the projects dependencies.

Magento 2 Dashboard

Magento 2 – Management – Login and Dashboard

Magento 2 Dashboard

The magento 2 dashboard and other areas of the Magento 2 backend UI all contain the common elements. But to get started with learning to magento 2, its first better if introduce you to the difference components.

Whilst there are many, the main concept is the big orange button on the “Top Right” within the grey bar. The orange buttons always signify a magento 2 important actions in the case of the dashboard this is Reload Data. 

Though in other areas this may be such things as  ADD NEW SOMETHING.

The second most component is within the grey bar this is the store selector component, il go into more detail about this shortly.

For reference of what I’m referring to watch the video at the top or see the image below.

Magento 2 Backend store selector

Magento 2 Backend store selector

Magento 2 Marketplace

Magento 2 – Development – Part 1: Install with composer

This blog and video series is going to take you through the fundamental basics of developing with Magento 2 based around the 2.3.* version, though the practices learned should all be compatible with earlier versions also.

Though this series is for beginners with the Magento 2 framework, it does consider you have already gained some knowledge about using command line tools, and PHP.

So to get all the benefits of Magento 2 we are going to discuss how to install it, but how to do it the right way, to comply with magento’s best practices.

Send us a Skype message

boxleafdigital

Call boxleaf Digital