- Additional Information
As a developer, this training with give you a kickstart for a development within Magento 2. It covers all new Magento 2 concepts such as dependency injection and plugins and also helps you migrate from Magento 1 code to Magento 2: DI configurations, MVC base, composer tips. Essential for everyone who wants to develop within Magento 2.
Start well with composer
Composer is at the basis of Magento 2: Modules (and themes) can be installed via composer. But how do you deal with the Magento Marketplace credentials? And where do you place your own private packages? In addition, it is important how composer updates and XML module versions work together. It all determines how you focus your deployment procedure (from development to production).
Independently build a Magento 2 module
Besides the treatment of composer is also explained how step by step build a module: With Blocks, Dependency Injection, view parts, CLI commands and observers.
Dependency Injection explained step-by-step
Magento 2 uses Dependency Injection through the constructor of PHP classes. Magento is similar to other PHP frameworks such as Symfony or Laravel. But at Magento there is also an XML layer added, in which preferences, types, virtual types and plugins make it possible to indicate in a very refined way how each class should be instantiated. If you miss a piece of knowledge in this, then DI has suddenly become a complex, inadmissible whole.
More than MVC
Often, when setting up a Magento module, attention is only given to MVC - the pattern of a Model, View and Controller. However, Dependency Injection suggests that you can do much more than just MVC: ViewModels, Observers, Controller Actions, Cronjobs, CLI tasks. Once the DI basic is thoroughly explained, the rest is child's play.
Duration 1 Day Start Time (eg 9:30am) 9:30am Finish Time (eg 4:30pm) 4:30pm Who Should Attend
- For developers and programmers
- Knowledge of Magento 1 or 2 XML layout
- Experience with PHP OOP
- Optional - Magento 1 experience
Magento Version Information This course is relevant for Magento Open Source (Previously known as Magento Community Edition) and Magento Commerce (Previously known as Magento Enterprise Edition) Course Outline
Outline of what is covered in this course
- Installation of Magento via composer
- Deploy from code to production
- Dependency Injection finally well explained
- Types and Virtual Types
- Factories and proxies
- Practical examples of DI