What are SAP ui5 fragments?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

In ui5 fragment stand for the definition of any lightweight stand alone control tree which is very similar to the sap.ui.core.mvc. Views. They do not have any controller on their system neither they are the representative of HTML. UI5 fragments can be defined in multiple formats like XML, declarative HTML, JavaScript and many more where their declaration syntax remains the same as in declarative view.

If the need to use similar UI path surfaces number of times in an application, then we create the fragments of those specific UI parts because they are reusable. Segments can be stored within the application and can be used by the same application only. Different types of fragments in ui5 are

  • XML
  • HTML
  • JS

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    UI5 interview questions

    Why multi flow design pattern is use, how splitting is implemented in it?

    When any complex application flow is used then multiplied design pattern is suggested. it also covers the need to utilise all the design patterns in order to build a single working application. Naviga...

    UI5 interview questions

    Can you tell us about the formatter in ui5 and how to use it?

    The formatter is used in ui5 when any changes have to be performed on the back end property data. The entire backend executions are done considering the front and property data. As a formatter can be ...

    UI5 interview questions

    What is UI5 and why it is considered?

    SAPUI5 is a single client side rendering library (similar to HTML 5) which strictly follows which internet application protocols. It is based over the JavaScript to provide lightweight programming hie...