Magento Developer

Effective Use of the Magento Block‐Template Design System (Pt. 2)

Effective Use of the Magento Block‐Template Design System (Pt. 2)

The second part of the answers to the most frequently asked questions (click here to see Part 1).

What is the difference between a template and a block?
A template is a .phtml file containing HTML markup and PHP calls needed to display structured data. Every template is bound to a definite block and the keyword $this refers to a block. A block in its turn is an object with a PHP class assigned and a template from where data is sent.

(more…)

Database in Magento 2: Models, Resource Models, and Collections.

Database in Magento 2: Models, Resource Models, and Collections.

The Magento ORM is used by the Repository implementations that are part of the Magento 2 service contracts. This is an important variation from Magento 1, as a module should no longer rely on other modules using a specific ORM, and instead of it use only the entity repositories. The service contracts will be covered in more details in the second part of the article. (more…)

Welcome to BelVG ecommerce blog

The blog section Magento developer contains various useful information necessary for professionals who are involved in Magento development. It doesn’t matter whether you’re a newbie or an advanced professional, as the stuff included in the blog is valuable for everyone. All the topics are written by highly-qualified professionals who have passed the exam and can demonstrate a thorough understanding of Magento functionality. Having a 7-year experience, they are proud of their skills that are maintained by completing training and happy to share the experience with you. You are provided with the information including catalog structure, indexes, promotions, payment and shipping methods, forms functionality, sales and order processing. With the help of the articles, you will be prepared for the exam and able to pass it successfully.

top