~/talk

Magento 2 Module in 40 Minutes or Bust

Talkat PHPConf.Asia 2018 · 2018-09-27..09-28· [php, software-architecture]
slides:none on file

Claims a working Magento 2 module can be created quickly and demonstrates it by adding the minimal files registration.php and module.xml, running bin/magento module:enable and bin/magento setup:upgrade, then registering a frontName route and a controller. Uses Composer, the bin/magento CLI, PhpStorm templates, XML schema validation, generated code cleanup and cache clear steps; shows the plugin system (before/after/around) and DI. Notes over 50% of new Magento code is community-written and the sample module registers successfully after migrations.

AI-written summary · about

  1. 0:00Start
  2. 0:25Ben Marx
  3. 2:07Founding Principle of Magento
  4. 7:36Installing
  5. 9:33Developer Mode
  6. 10:02Turn on Developer Mode
  7. 11:56Sample Data
  8. 12:40Data Fixture Generator
  9. 15:37What Is a Module in Magento
  10. 15:52Module Xml
  11. 16:39Clear a Cache
  12. 18:12Run in Magento Module Status
  13. 25:42Register a Route
  14. 30:52Plugins
  15. 32:22Testing Framework
  16. 33:11Resources
  17. 36:26Why Not Use One of the Existing Dependency Injection Containers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.