Summary

In this chapter, we have learned about Magento models, their inheritance and purpose, and how Magento uses resources and collections to implement its own ORM.

We also learned about EAV models and how they are structured to provide Magento with data flexibility and extensibility that both merchants and developers can take advantage of.

Finally, we saw how developers can access the database directly by writing DirectSQL and using the Magento resource adapters.

The chapters so far have been more theory than practice. This has been done with the intention of guiding you through the complexity of Magento and providing you with the tools and knowledge that you require for the rest of the book. For the remaining chapters of the book, we will take ...

Get Magento PHP Developer's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.