Online Tutorials & Training Materials | STechies.com
Register Login
Advertisement

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

|| || 1

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

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

  • Rohit Mahajan
    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.


Advertisement
Advertisement