SAPUI5 code needs to be easy to read and easy to update. Clean up your code with this guide from the experts! Learn how to leverage JavaScript features to write better SAPUI5 code. Then walk through detailed code examples and explanations for using modules, classes, functions, names, variables, literals, comments, code metrics, and more. Get the best practices you need for formatting, testing, implementation, and beyond! In this book, youll learn about:a. Key Concepts Understand the foundation of SAPUI5: JavaScript. Explore key JavaScript ES6 features such as arrow functions, spread syntax, and more. Then walk through different types of SAPUI5 projects, from library projects to freestyle applications. b. Best Practices Learn the rules for clean code. Dive into best practices for decoupling modules, structuring functions, declaring variables and literals, using control flow statements and loops, handling errors, performing automated tests, and more. c. Practical ExamplesPut theory into practice. Use detailed code examples for each concept to help you differentiate between clean and messy SAPUI5 code.
Highlights include: 1) JavaScript 2) Modules and classes 3) Functions 4) Naming 5) Variables and literals 6) Control flow 7) Formatting 8) Error handling 9) Comments 10) Static code checks 11) Testing 12) Implementation
See more