The proper Way to get started on learning UI5 is to stick to under movie sequence on Anubhav Trainings. You usually begin with HTML5, CSS, JS, and jQuery after which move to SAP UI5 Framework and Fiori Development with MVC. In the final section study OData Expert services about the Gateway server. All of this with out copy-paste of code with line b