Clean SAPUI5: A Style Guide for Developers (SAP PRESS)

Daniel Bertolozi, Arnaud Buchholz, Klaus Haeuptle, Rodrigo Jordão, Christian Lehmann, Narendran Natarajan Vaithianathan

★ 5.0 · 78 reads

<span>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!<br><br></span><ul><li><span><span>Learn to write readable and maintainable SAPUI5 code</span></span></li><li><span><span> Improve the way you work with the JavaScript language, modules, functions, variables, and more</span></span></li><li><span><span> Create descriptive program names, write strong comments, and format code correctly</span></span></li></ul><span><br><br></span><span>Key Concepts</span><span><br>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.<br><br></span><span>Best Practices</span><span><br>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.<br><br></span><span>Practical Examples</span><span><br>Put theory into practice. Use detailed code examples for each concept to help you differentiate between clean and messy SAPUI5 code.<br><br></span><ul><li><span><span>JavaScript</span></span></li><li><span><span> Modules and classes</span></span></li><li><span><span> Functions</span></span></li><li><span><span> Naming</span></span></li><li><span><span> Variables and literals</span></span></li><li><span><span> Control flow</span></span></li><li><span><span> Formatting</span></span></li><li><span><span> Error handling</span></span></li><li><span><span> Comments</span></span></li><li><span><span> Static code checks</span></span></li><li><span><span> Testing</span></span></li><li><span><span> Implementation</span></span></li></ul>

Request Code
ZLIBIO3355560
Published
2022
Publisher
SAP Press
Pages
400
Language
English
Format
EPUB
Edition
1
ISBN-13
9781493222285
ISBN-10
1493222287