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

  • 出版商: SAP PRESS
  • 出版日期: 2022-08-24
  • 售價: $2,820
  • 貴賓價: 9.5$2,679
  • 語言: 英文
  • 頁數: 400
  • 裝訂: Hardcover - also called cloth, retail trade, or trade
  • ISBN: 1493222287
  • ISBN-13: 9781493222285
  • 相關分類: SAP
  • 無法訂購

相關主題

商品描述

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, you'll 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 Examples
Put 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

商品描述(中文翻譯)

SAPUI5程式碼需要易於閱讀和更新。從專家的指南中整理您的程式碼!學習如何利用JavaScript功能來撰寫更好的SAPUI5程式碼。然後通過詳細的程式碼示例和解釋,了解如何使用模組、類別、函數、命名、變數、文字、註解、程式碼指標等。獲取格式化、測試、實施等方面的最佳實踐!

在本書中,您將學習以下內容:

a. 關鍵概念
了解SAPUI5的基礎:JavaScript。探索JavaScript ES6的關鍵功能,如箭頭函數、展開語法等。然後深入研究不同類型的SAPUI5項目,從庫項目到自由應用程式。

b. 最佳實踐
學習編寫乾淨程式碼的規則。深入研究解耦模組、結構化函數、聲明變數和文字、使用控制流語句和迴圈、處理錯誤、執行自動化測試等最佳實踐。

c. 實用範例
將理論付諸實踐。使用每個概念的詳細程式碼示例,幫助您區分乾淨和混亂的SAPUI5程式碼。

重點包括:

1) JavaScript
2) 模組和類別
3) 函數
4) 命名
5) 變數和文字
6) 控制流
7) 格式化
8) 錯誤處理
9) 註解
10) 靜態程式碼檢查
11) 測試
12) 實施