cancel
Showing results for 
Search instead for 
Did you mean: 

what is role of Model file?

0 Kudos

hello every one

before every thing i'm beginner in UI5 and i have question about model file in project i made a small project front End also with database connected and every thing is perfect worked but i used only View file and Controller and with API connected... I did not Model file used .... my qustion whats is role of Model file in project? And what is its importance?

Edit: hey people please forget SAP now and please answer me as Open UI5

thanks so much

Daniel7
Advisor
Advisor

Not related to CAP

Margot
Product and Topic Expert
Product and Topic Expert
0 Kudos

Describe what are you referring to that makes you believe you need a model file for your project? Otherwise it's difficult to get to the heart of your problem.

View Entire Topic
virendra_soni2
Participant

Hi mofomo55

I hope your question is about webapp - > model -> models.js

this files is used for device compatibility for different size of screen like mobile , tablet , laptop or desktop.

this file also represent one of design principles "adaptive" you can get more details on below URL's.

https://sapui5.hana.ondemand.com/#/topic/8dbd35e1577b445d8077b2bc6ad8b958

https://sapui5.hana.ondemand.com/#/topic/d63a15e5eebb45cdada317bae5f45bc2
Regards,

Virendra Soni

0 Kudos

please forget the SAP now and answer me as Open UI5