Online Tutorials & Training Materials |
Register Login

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

Sugandh || 30 Sep 2015 3:15 pm || 1

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.


  • 30 Sep 2015 3:16 pm 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.