One of the most powerful and commonly used technique for extending the standard logic in Magento is an event system. We have described this system in details in our previous article. It’s really useful for developers to know how the event system works. Moreover, choosing the most suitable event for a custom logic implementation is also very important part in development – so, in this article, we are going to review a list of the framework-level events that help understand which event will be perfect to observe in Magento 2.
This time, topic of our article is “Collections”, a great key to data manipulation in Magento. All of the developers are able to use and operate this powerful instrument. Isn’t it cool to be able to grab all needed data from the database tables with no SQL? We can find many articles and tutorials in the WEB explaining collection features, but the main goal of our article is a discussion of the situations when the collections become a serious trouble for a developer.