About page,block,widget

By | December 9th 2018 02:05:24 AM | viewed 128 times

Page:

A page object is a class that serves to interact with the Magento page. A page serves as container for blocks.

Block:

Block as a class represents a set of methods to manipulate with Magento UI blocks. It contains all logic you want to apply to the Magento block under page.

A block can have the following features:

  • A block can contain other blocks.
  • A block can be used in several pages and widgets.

Widget:

Widget is a manageable component of Magento 2, which allows users to display data on frontend.Widget also contain block

bONEandALL