The correct Way to get started on learning UI5 would be to comply with under video clip collection on Anubhav Trainings. You usually start with HTML5, CSS, JS, and jQuery and then go to SAP UI5 Framework and Fiori Advancement with MVC. In the last period find out OData Services to the Gateway server. All of this without duplicate-paste of code with