becoming certifieds23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · who...

75
BECOMING CERTIFIED Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Upload: others

Post on 20-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

BECOMINGCERTIFIED

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 2: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Who here has sat inone or more Magento 1 exams?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 3: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Who here has sat inone or more Magento 2 exams?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 4: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -
Page 5: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -
Page 6: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -
Page 7: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

SO LET'S NOT TAKETHIS TOO SERIOUSLY

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 8: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -
Page 9: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1 Certificaton

!=Magento 2 Certification

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 10: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

How so?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 11: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1 &Magento 2:

Questions are developed by aCommunity Advisory Board

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 12: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1 &Magento 2:

Each question is written to fit anExam Blueprint Objective

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 13: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1 != Magento 2:

Time frame andReview Process

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 14: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1:

Months of online meetings and reviews

Magento 2:

One week focus group, all in one room

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 15: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1:

Rather contrived, memorization friendly

Magento 2:

Scenario based, real life, more natural

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 16: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 1:

Questions about Config XML Paths and Class Names.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 17: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

The Reasoning was:

"Magento Developers with experience will have written them countless times and know them by heart."

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 18: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

This was before Magicento existed...

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 19: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magicento:▸ Code generation▸ Autocompletion

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 20: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento 2:

No questions about thingswith IDE autocompletion

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 21: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

How do the questions look like?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 22: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Each item has 3 Parts:▸ The Scenario▸ The Stem▸ The Options

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 23: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ The Scenario

Information required to choose the correct answer

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 24: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ The Stem

The question

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 25: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ The Options

The possible answers

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 26: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Valid answer keys:▸ Choose 1 out of 4▸ Choose 2 out of 4▸ Choose 3 out of 5

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 27: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

If more than one answer has to be selected,the number of required options is stated like this:

"Which three actions do you take? (Choose three)"

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 28: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

For questions with multiple answers,the right number of options have to be selected and

all selected answers have to be correct.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 29: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ No trick questions▸ No “none of the above”▸ No “all of the above”

▸ No “which of the following are true”▸ No double negatives

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 30: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

ACTIONABLE QUESTIONS!

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 31: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

"How do you fix the issue?"

"What actions do you take?"

"What is the effect of that code?"

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 32: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

EXAMPLEQUESTION

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 33: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

(1/2)

You are working for an extensions vendor who protects their intellectual property by validating licenses against a license server.

Customers are complaining that running any bin/magento command isvery slow after installing one of the companies extensions.

The extension adds a command to bin/magento.

While investigating, you discover the following code in the command class:

public function __construct($license){ $this->isLicenseValid = $this->validateLicense($license); parent::__construct();}

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 34: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

(2/2)

public function __construct($license){ $this->isLicenseValid = $this->validateLicense($license); parent::__construct();}

How do you resolve the issue?

A. Implement local license validation instead of over the internet

B. Move the validateLicense() call into the execute() method

C. Check the license at random samples instead of every time

D. Cache the validation result in the Magento config cache

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 35: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Answer:B. Move the validateLicense() call into the execute() method

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 36: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento Technical Guidelines

2.3. Class constructor can have only dependency assignment operations and/or argument validation

operations. No other operations are allowed.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 37: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -
Page 38: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Example Excerpt:

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 39: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

But why?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 40: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Why?Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 41: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

(back to the topic of exam questions)

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 42: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

SOME QUESTIONS HAVE QUALIFIERS.

What are qualifiers?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 43: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Qualifiers are part of the Stem:

▸ Keeping simplicity in mind ...▸ Keeping maintainability in mind ...▸ Keeping compatibility in mind ...▸ Keeping testability in mind ...

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 44: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

WHAT IS THE PURPOSE OF QUALIFIERS?

They guide us to the correct answer.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 45: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Magento is flexible.

There are many ways to accomplish a goal.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 46: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

We often have to make decisionshow to implement a requirement.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 47: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

For questions with qualifiersoften more than one answer is technically correct.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 48: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Do we use ...

a preference, a type argument configuration

or a plugin?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 49: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Do we use ...

an ORM model or a Api Data model?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 50: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Do we inject ...

an interface or a concrete implementation?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 51: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Depending on the circumstances,every approach could be valid.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 52: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Faster development vs. better maintainability

More upgradable code vs. more performant code

...

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 53: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ lifetime of the project▸ project budget▸ developer skill level

▸ security considerations (internal / external access)▸ use of third party modules▸ desired code reuse

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 54: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Qualifiers tell us which answer to choosefor the given scenario.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 55: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Maintainability?

Probably rules out options where code is copied.Favor answers that make changes and upgrades simpler.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 56: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Compatibility?

Rule out options with a higherextension conflict probability.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 57: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Simplicity?

Favor expressive options using theleast number of elements.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 58: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Testability or Reusability?

Favor answers that allow replacing collaboratorswith test doubles or other classes.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 59: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

EXAMPLEQUESTION

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 60: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

You need to customize the Magento_Checkout/js/proceed-to-checkoutJavaScript module.

How do you do that, keeping compatibility in mind?

A. Add a path override configuration to the requirejs-config.js

B. Add a global map alias override to the requirejs-config.js

C. Copy the file proceed-to-checkout.js to the folder Magento_Checkout/js/ of the active frontend theme

D. Add a JavaScript mixin to the requirejs-config.js

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 61: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Answer:D. Add a JavaScript mixin to the requirejs-config.js

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 62: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

GETTING READY

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 63: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Study Guide

The study guide is based on the exam blueprint.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 64: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

SWIFT OTTER STUDY GUIDES

Based on the Magento U study guidebut much expanded.

Page 65: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

The Official Technical Developer Guidelines

(ask Why?)

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 66: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Don't memorize OOP patterns and principles for the exam.

Without experience, that does more harm than good.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 67: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Better to go from first principles:▸ What is a source code dependency?

▸ What are the consequences of a dependency?

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 68: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Deeper understandingof the principles behind the labels.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 69: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

▸ Interfaces and the Liskov Substitution principle▸ Coupling and Cohesion

▸ Favor Composition over Inheritance

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 70: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

Familiarize yourself withKent Beck’s 4 rules of simple design.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 71: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

1. Passes all tests

2. Expresses intent 3. No duplication

4. Fewest possible elements

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 72: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

When a question has the qualifier

“Keeping simplicity in mind...”

apply these rules.

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 73: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

SMART GUESSING

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 74: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -

And finally...

Becoming Certified - (c) @VinaiKopp - #MageTitansMCR - 2018-11-10

Page 75: BECOMING CERTIFIEDs23276.pcdn.co/wp-content/uploads/2018/11/vinai-kopp... · 2018-11-19 · Who here has sat in one or more Magento 2 exams? Becoming Certified - (c) @VinaiKopp -