About page,block,widget

By | December 9th 2018 02:05:24 AM | viewed 279 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
Visitor

Total : 2848

Today :31

Today Visit Country :

  • Singapore
  • Ireland
  • Bangladesh
  • United States
  • Sweden
  • Japan
  • United Kingdom
  • India
  • France
  • Russia