O'Reilly logo

Magento 2 Developer's Guide by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Programming Concepts and Conventions

With years of experience, the Magento platform grew up to implement a lot of industry concepts, standards, and conventions. Throughout this chapter, we will look into several of these independent sections that stand out in day-to-day interactions with Magento development.

We will go through the following sections in this chapter:

  • Composer
  • Service contracts
  • Code generation
  • The var directory
  • Coding standards

Composer

Composer is a tool that handles dependency management in PHP. It is not a package manager like Yum and Apt on Linux systems are. Though it deals with libraries (packages), it does so on a per-project level. It does not install anything globally. Composer is a multiplatform tool. Therefore, it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required