SapHanaTutorial.Com HOME     Learning-Materials Interview-Q&A Certifications Quiz Online-Courses Forum Jobs Trendz FAQs  
     Explore The World of Hana With Us     
About Us
Contact Us
 Apps
X
HANA App
>>>
Hadoop App
>>>
Tutorial App on SAP HANA
This app is an All-In-One package to provide everything to HANA Lovers.

It contains
1. Courses on SAP HANA - Basics, Modeling and Administration
2. Multiple Quizzes on Overview, Modelling, Architeture, and Administration
3. Most popular articles on SAP HANA
4. Series of Interview questions to brushup your HANA skills
Tutorial App on Hadoop
This app is an All-In-One package to provide everything to Hadoop Lovers.

It contains
1. Courses on Hadoop - Basics and Advanced
2. Multiple Quizzes on Basics, MapReduce and HDFS
3. Most popular articles on Hadoop
4. Series of Interview questions to brushup your skills
Apps
HANA App
Hadoop App
';
Search
Stay Connected
Search Topics
Topic Index
+
-
SAP HANA Interview Questions
+
-
Hadoop Interview Questions
+
-
Fiori Interview Questions

SAPUI5 and Fiori Interview Questions - Part 1

Recommended articles before going through interview questions


What is SAPUI5?

In simple words - SAPUI5 is a collection of libraries that developers can use to build desktop and mobile applications that run in a browser.
SAPUI5 combines latest web technologies like HTML5, JavaScript and CSS into a toolkit. It can be used for building Web applications on the SAP platform.
SAPUI5 and Fiori Interview Questions
To know more, refer to What is SAPUI5?

What is SAP Fiori? How it is different from SAPUI5?

SAPUI5 and Fiori Interview Questions SAP Fiori is the new face of SAP software. Using modern design principles, SAP Fiori provides a role-based experience across all lines of business, tasks, and devices.

Fiori is basically the design principles. An app is said to be a Fiori app if it follows the Fiori design guidelines
The primary technology used for Fiori is SAPUI5.
Fiori is a design principle while SAPUI5 is a technology.

To know more, refer to What is SAP Fiori?

What is OpenUI5? How it is different from SAPUI5?

SAPUI5 and Fiori Interview Questions
OpenUI5 is open source version of SAPUI5. In December 2013, SAPUI5 was open-sourced under the name "OpenUI5".
It is now available under an Open Source license. So you can use it without any payment to do more or less whatever you want.
It differs only in the number of frontend controls that are included, and that is mostly down to organizational reasons only - all of the important controls are part of OpenUI5.

To know more, refer to What is OpenUI5?

What is FIORI Launchpad and explain it?

SAPUI5 and Fiori Interview Questions
SAP Fiori Launchpad is the entry point to Fiori apps on mobile and desktop devices. It is a role based, personalized UI client that enables users to access SAP Fiori apps.
The Launchpad contains various tiles in Fiori system. Tiles are square objects that are used to access different Fiori Apps. Access to these tiles are based on the user roles.

SAP Fiori tiles run on multiple device types and provides a single point of access for business applications such as transactional, analytical, factsheet, smart business apps.

To know more, refer to SAP Fiori Launchpad.


Explain MVC architecture in SAPUI5?

SAPUI5 supports the Model View Controller (MVC) concept - a software architectural pattern for implementing user interfaces.
The MVC concept is used to separate the representation of information from the user interaction. This separation facilitates development and the changing of parts independently.

SAPUI5 and Fiori Interview Questions

Model, view, and controller are assigned the following roles:
The view is responsible for defining and rendering the UI.
The model manages the application data.
The controller reacts to view events and user interaction by modifying the view and model.
 
The below diagram will make it more clear.
SAPUI5 and Fiori Interview Questions

MVC concept provides following advantages:
It provides better readabilitymaintainability, and extensibility and it allows you to change the view without touching the underlying business logic and to define several views of the same data.
 
Views and controllers often form a 1:1 relationship, but it is also possible to have controllers without a UI, these controllers are called application controllers. It is also possible to create views without controllers. From a technical position, a view is a SAPUI5 control and can have or inherit a SAPUI5 model. 


What is the main difference between OData Model and JSON Model?

The JSON model is a client-side model and, therefore, intended for small datasets, which are completely available on the client.
The OData model is a server-side model: the dataset is only available on the server and the client only knows the currently visible rows and fields.

What is Component.js/configuration file?

Component.js is the first point of our application or we can say that it serves as index which encapsulates all our applications details i.e. view names, routing details, main view, applications type(Full Screen or SplitApp), application service configuration etc.

What is a fragment and views in SAP UI5?

Fragments are pieces of a UI without their own controller. The name of each view of fragment is important. A fragment must be named as <NAME>.fragment.xml and a view <NAME>.view.xml

SAPUI5 Views − Views are nothing but the application pages. We define our user interface by creating Views. Views is formed or created by using one or more Controls in it say Page, SimpleForm, Dialog, Label, Input etc. Every view has its own controller.

SAPUI5 Fragments − Fragments are the pieces of UI just like SAPUI5 Views. Whenever we need to use some similar UI parts many times in our application/views we create Fragments of those UI parts because Fragments are reusable and are light weight compared to VIews and Controls. Fragments are stored with in the application itself and can be used by that application only. Fragments are defined as View only and calling Views controller is shared with Fragment as Fragments are not having their own controllers.

Does Fragment have its own controller?

Fragments are created without controllers, they don’t have their own controllers they share controller of the view which is invoking it.

When and How to use formatter in SAPUI5?

We need to use formatter when we need to perform some changes on the back end property data on the front end.
We can use formatter while data binding to a property like as follows:
        oControl = new sap.ui.commons.TextField({
        value : {path : “/path”, formatter : function(oEvent){
                return “Value:”+oEvent;
                }
           }
        });

What are the Lifecycle/hook methods of SAPUI5 views controller?

There 4 four Lifecycle methods available in every SAPUI5 views controller. These are
  • onInit()
  • onExit()
  • onAfterRendering()
  • onBeforeRendering().
onInit is called when a view is instantiated and its controls (if available) have already been created.
onExit is called when the view is destroyed; used to free resources and finalize activities.
onAfterRendering when the view has been rendered and, therefore, its HTML is part of the document.
onBeforeRendering is called before the controller view is re-rendered and not before the first rendering.



Support us by sharing this article.



Explore More
Close X
Close X

Leave a Reply

Your email address will not be published. Required fields are marked *

Current day month ye@r *

 © 2017 : saphanatutorial.com, All rights reserved.  Privacy Policy