UI5 Quest
UI5 Quest
Question 1. Which Control Libraries Are Used For Ui5 Application Development?
C2 - Confidential
Answer :
sap.Ui.Commons, sap.Ui.Desk and sap.Suite.Ui libraries for computing device application improvement
and sap.M library at the side of sap.Ui.Layout for Fiori software development.
Q10. What is the main difference between OData Model and JSON Model?
Ans: 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.
Question nine. What All Events/life Cycle Are Available In Sapui5’s Views Controller?
Answer :
There are four lifecycle to be had in SAPUI5’s perspectives controller, they're:
onInit() – it is known as while a view is instantiated and its controls have already been created.
OnExit() – it's far referred to as while the view is destroyed, used to free resources and finalize sports.
OnAfterRendering() - when the view has been rendered and, therefore, its HTML is a part of the
document.
OnBeforeRendering() -It is known as before the controller view is re-rendered and now not earlier than
the first rendering.
Question 15. What Is Metadata Annotations?
Answer :
The provider metadata report describes the structure of all resources in the provider. This structural
metadata makes it clean to recognize a carrier. We can explore carrier metadata at the cope with
“$metadata” relative to the carrier root.
Question sixteen. What Are Common Metadata Annotations?
Answer :
Following are a number of the carrier metadata annotations that are common and a front end developer
should recognize these with a view to understand the carrier and integrate it:
edm:EntityContainer
edm:EntitySet
edm:EntityType
edm:Property
edm:NavigationProperty
edm:AssociationSet
Question 18. How Many Types Of Fiori Applications Are There?
Answer :
There are three kinds of fiori packages:
Transactional
Analytical
Fact Sheets
C2 - Confidential
sap.Ui5
sap.App
sap.Ui
Question 36. What Do You Need If You Want To Bind A List To Data In Your Jsonmodel?
Answer :
An array with the statistics within the JSONModel which you need to bind to the list
A template listing object to be cloned
A sure list control
Aggregation binding is used for listing-like systems, while element binding can be used to set the binding
context of any figure control.
Question 52. What Can You Do To Enable Your Sapui5 Application To Adapt To The User’s Device?
Answer :
As many controls are responsive out of the box, test whether you need to do anything in any respect.
Set the compact density on devices with out touch guide.
Question sixty seven. How Do You Register A Unit Test In Qunit?
Answer :
Call QUnit.Check() to your take a look at code with a talking check description and a callback that
incorporates at the least one announcement.
Question 97. Why Is Automated Testing Beneficial For App Development?
Answer :
It notably reduces the guide testing attempt.
It is less difficult handy over the app to other builders.
You can avoid regressions and insects to your code.
The different approaches to connect the application and database include Code
First, Database First, and Model First.