At the UI5con keynote it has been announced that the TypeScript support for UI5 is available for productive usage. Because there was only a limited time to show the topic, in this UI5ers live episode, Andreas and Peter will explain the new capabilities in more detail.
Another interesting topic from the UI5con keynote is the Bootstrap Evolution as part of the Modular Core. Therefore, Jan will join this UI5ers live episode to provide some more insights into the changes of the UI5 core and the opportunities you have utilizing the lightweight bootstrap which is experimentally available in the latest snapshot of OpenUI5.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Video Chapters:
00:00 Welcome
01:10 New Bootstrapping for UI5 & Progress in the Modular Core
01:57 Introducing GitHub Repo UI5 Evolution Apps (Reflecting the Old and New UI5 Bootstrap Behavior)
03:11 Comparing the Differences Between Old and New Bootstrap
11:03 Architectural Design of The New Core
13:19 Comparing the Implementation of Configuration of the Old and the New Core
16:35 Comparing the Implementation of The Old and The New Core
18:36 The Structure of The New Boot
23:47 Q/A: Will the Declarative API for Initial Components Continue to Work with The New Bootstrap?
24:30 Latest News on TypeScript Support in UI5 (coming with V1.116)
26:19 Recent Changes in the UI5 TypeScript Template
30:47 Karma Test Handling for UI5 with TypeScript
33:49 Writing OPA5 Tests with TypeScript
38:07 Handling of UI5 Event Handlers with TypeScript
39:32 Handing of Device Class with TypeScript
41:00 Recent Changes in UI5 Control Library Development with TypeScript
44:04 Q/A: Why Do We Need an _instance_ of the MainPage When Using OPA5 with TypeScript?
44:52 Q/A: The „Given, When, Then“ Pattern Is More or Less Set In Stone in the SAP Fiori Elements TestLibrary v4 - What Does This Means for Testing SAP Fiori Elements Apps with TypeScript?
46:44 Q/A: Do You Think It’s Possible to Move (In Future) The Tooling to Something Like Vite?
47:37 Q/A: I Guess the New Bootstrap Will Improve Especially Apps With Not a Lot of Dependencies. This Will Help Less with SAP Fiori Elements?
49:10 Q/A: If You Get Rid of the Core Facade, It Won't be Possible Anymore to Fiddle Around With Any UI5 App Live in the Developer Tools By Using sap.ui.getCore()?
50:27 Closing Words
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Resources:
Sample apps for ongoing UI5 Evolution activities: https://github.com/SAP-samples/ui5-evolution-apps
Blog Post TypeScript for UI5: “Yay, it’s official!” – and a round-up of recent changes by Andreas Kunz: https://blogs.sap.com/2023/07/27/typescript-for-ui5-yay-its-official-and-a-round-up-of-recent-changes
Writing QUnit and OPA5 Test in TypeScript Tutorial: https://github.com/SAP-samples/ui5-typescript-tutorial/blob/main/exercises/ex6/
TypeScript UI5 Example App with Tests: https://github.com/SAP-samples/ui5-typescript-helloworld/tree/testing
TypeScript Tutorial Video: https://www.youtube.com/watch?v=CRKNIiXZN6U
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Music: klinik FX