Register Login

How to Create a component.js file and Its Uses?

Updated May 18, 2018

Hello Experts,

Could you please explain me that how to create a component.js file and what is the use of this js file?

Kindly share your views here, thanks in advance.


Comments

  • 30 Sep 2015 3:16 pm Rohit Mahajan Helpful Answer

    It is used to create your component for your UI5 project. It is something similar to that of component controller in Webdynpro ABAP. You can create the component with file extension JS or JSON. It contains the metadata and configuration information and routing information and it creates the face for your application by extending faceless component sap.ui.core.UIComponent. It forms the component part of your MVC architecture in general.


×