Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The how and why of composable Magento

The how and why of composable Magento

Ask any developer and they will likely say reuse is very important to them. They have been taught or learned about DRYand now apply it to their code. However, what about features of the application? Many features are similar between applications so why would we repeat the writing of them?

Composable applications can be reused in a myriad of different ways you just combine the features the way you need them this time around.

This presentation applies this thinking to Magento. Showing how this can be done with the Magento 1.x branch and the module ecosystem. It then goes on to show how this thinking is at the core of Magento 2.0

But why should you develop with composable, modular code?

Because it answers the intention of reuse and DRY in a much more tangible way. This presentation will show you not just how but why, with some real World experience to go beyond the theory.

Alistair Stead

November 07, 2015
Tweet

More Decks by Alistair Stead

Other Decks in Programming

Transcript

  1. James Cowie Technical Team Lead Session Digital t/@jcowie gh/jamescowie Alistair

    Stead CTO Session Digital t/@alistairstead gh/alistairstead
  2. Reuse... verb |riːˈjuːz| [ with obj. ] use again or

    more than once: the tape could be magnetically erased and reused. noun |riːˈjuːs| [ mass noun ] the action of using something again: the ballast was cleaned ready for reuse.
  3. Don't Repeat Yourself⌘ ⌘ Cut: Command ⌘ - x, Copy:

    Command ⌘ - c, Paste: Command ⌘ - v
  4. “Every piece of knowledge should have one and only one

    representation.” — Dave Thomas and Andy Hunt
  5. Your value as an engineer is not the sum of

    the code you have written — LoC !== $$