Video Lesson: Load data using a collection in Magento

Load data using a collection in Magento

Enroll to watch this lesson

Black Friday The whole University for $299/yr.

Load data using a collection in Magento

Learn how to load Magento blog post data using a collection in a ViewModel with dependency injection.


Lesson Content

Our data fetching logic is completely out of the template and in the ViewModel, but let’s take it a step further and fetch the real blog post data from the database.

Just like other Magento classes...

Premium content

Enroll to unlock the full content and all course materials.

Black Friday

The whole University for $299/yr.

Get the deal →
Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Black Friday

The whole University for $299/yr.

Every course, Maggie & Campus. The lowest price ever.

Get the deal →
Comments

Join the discussion!

Notes

Keep track of what you learn!