On February 5, 2016, Magento 2 developer and trainer Vinai Kopp kicked off Mage2Katas, a series of screencasts to see test driven development (TDD) in action which is how Vinai prefers to learn things. They can also be used to just gain insight into aspects of Magento 2 development, even if not following TDD, although this would be foolish knowing the benefits of TDD.
In the latest episode which was released yesterday, Vinai creates the configuration for a new controller action and writes some tests that check it is correct and that would catch potential module conflicts.
Current Episodes
- The Skeleton Module Kata
- The Plugin Config Kata
- The Around Interceptor Kata
- The Plugin Integration Test Kata
- The Route Config Kata
What is a Code Kata?
Vinai has dedicated a whole blog post to explain the origin of the word kata and what it means in terms of developing code. The idea is borrowed from the world of martial arts.
Almost any aspect of programming can be practiced during a kata:
- OOP (object oriented programming) class design
- functional programming
- simplicity
- taking small steps
- performance
- pair programming
- problem solving
- recursion
- etc.
The idea of Mage2Katas is to practice common tasks of Magento 2 development.
Magento 2 Training Reminder
In case you would like to be trained personally by Vinai, there are still 2 free spots for the 3-day Magento 2 developer training in Zürich starting on April 7, 2016.
(Picture courtesy of Fotolia/103tnn)
Schreibe einen Kommentar