Diff. between a Widget vs. Component | Community
Skip to main content
October 16, 2015
Solved

Diff. between a Widget vs. Component

  • October 16, 2015
  • 1 reply
  • 5105 views

Hi,

        What is the difference between a Widget and a Component. For ex:- "text" component is using a widget called "componentStyle".

        Why a component shd. use Widget? What is the speciality of a Widget? 

        In what technology a Widget can be created? Is ExtJs is the prime technology that is being used?

regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mshaji

The widget library used by CQ, called ExtJS, provides the highly polished user interface elements that work across all the most important browsers and allow the creation of desktop-grade UI experiences.

Widgets provides controls for authors to input their data, widgets are included in dialog box E.g. textfield, radio buttons, checkboxes etc are widgets

They are written in extjs framework.

Components:

  • are modular units which realize specific functionality to present your content on your website
  • are re-usable
  • are developed as self-contained units within one folder of the repository
  • have no hidden configuration files
  • can contain other components
  • can run anywhere within any CQ system. They can also be limited to run under specific components
  • have a standardized user interface
  • use widgets
  • have an edit behaviour that can be configured

1 reply

MshajiCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

The widget library used by CQ, called ExtJS, provides the highly polished user interface elements that work across all the most important browsers and allow the creation of desktop-grade UI experiences.

Widgets provides controls for authors to input their data, widgets are included in dialog box E.g. textfield, radio buttons, checkboxes etc are widgets

They are written in extjs framework.

Components:

  • are modular units which realize specific functionality to present your content on your website
  • are re-usable
  • are developed as self-contained units within one folder of the repository
  • have no hidden configuration files
  • can contain other components
  • can run anywhere within any CQ system. They can also be limited to run under specific components
  • have a standardized user interface
  • use widgets
  • have an edit behaviour that can be configured