Design Patterns and Best Practices in Java: A comprehensive guide to building smart and reusable code in Java
暫譯: Java 設計模式與最佳實踐:構建智能且可重用代碼的全面指南
Kamalmeet Singh, Adrian Ianculescu, Lucian-Paul Torje
- 出版商: Packt Publishing
- 出版日期: 2018-06-26
- 售價: $1,640
- 貴賓價: 9.5 折 $1,558
- 語言: 英文
- 頁數: 280
- 裝訂: Paperback
- ISBN: 1786463598
- ISBN-13: 9781786463593
-
相關分類:
Java 程式語言、Design Pattern
-
相關翻譯:
Java 設計模式及實踐 (Design Patterns and Best Practices in Java: A comprehensive guide to building smart and reusable code in Java) (簡中版)
立即出貨 (庫存=1)
商品描述
Create various design patterns to master the art of solving problems using Java
Key Features
- This book demonstrates the shift from OOP to functional programming and covers reactive and functional patterns in a clear and step-by-step manner
- All the design patterns come with a practical use case as part of the explanation, which will improve your productivity
- Tackle all kinds of performance-related issues and streamline your development
Book Description
Having a knowledge of design patterns enables you, as a developer, to improve your code base, promote code reuse, and make the architecture more robust. As languages evolve, new features take time to fully understand before they are adopted en masse. The mission of this book is to ease the adoption of the latest trends and provide good practices for programmers.
We focus on showing you the practical aspects of smarter coding in Java. We'll start off by going over object-oriented (OOP) and functional programming (FP) paradigms, moving on to describe the most frequently used design patterns in their classical format and explain how Java's functional programming features are changing them.
You will learn to enhance implementations by mixing OOP and FP, and finally get to know about the reactive programming model, where FP and OOP are used in conjunction with a view to writing better code. Gradually, the book will show you the latest trends in architecture, moving from MVC to microservices and serverless architecture. We will finish off by highlighting the new Java features and best practices. By the end of the book, you will be able to efficiently address common problems faced while developing applications and be comfortable working on scalable and maintainable projects of any size.
What you will learn
- Understand the OOP and FP paradigms
- Explore the traditional Java design patterns
- Get to know the new functional features of Java
- See how design patterns are changed and affected by the new features
- Discover what reactive programming is and why is it the natural augmentation of FP
- Work with reactive design patterns and find the best ways to solve common problems using them
- See the latest trends in architecture and the shift from MVC to serverless applications
- Use best practices when working with the new features
Who This Book Is For
This book is for those who are familiar with Java development and want to be in the driver's seat when it comes to modern development techniques. Basic OOP Java programming experience and elementary familiarity with Java is expected.
Table of Contents
- From Object Oriented to Functional Programming
- Creational Patterns
- Behavioral Patterns
- Structural Patterns
- Functional Design Patterns
- Let's get Reactive
- Reactive Design Patterns
- Trends in Application Architecture
- Best Practices in Java
商品描述(中文翻譯)
使用 Java 創建各種設計模式以掌握解決問題的藝術
主要特點
- 本書清晰且逐步地展示了從物件導向程式設計 (OOP) 到函數式程式設計 (FP) 的轉變,並涵蓋了反應式和函數式模式
- 所有設計模式都附有實際案例作為解釋的一部分,這將提高您的生產力
- 解決各種性能相關問題並簡化您的開發流程
書籍描述
了解設計模式使您作為開發者能夠改善代碼基礎,促進代碼重用,並使架構更加穩健。隨著語言的演變,新特性需要時間才能完全理解,然後才能大規模採用。本書的使命是簡化最新趨勢的採用,並為程式設計師提供良好的實踐。
我們專注於向您展示在 Java 中更智能編碼的實際方面。我們將從介紹物件導向 (OOP) 和函數式程式設計 (FP) 範式開始,接著描述最常用的設計模式的經典格式,並解釋 Java 的函數式程式設計特性如何改變它們。
您將學會通過混合 OOP 和 FP 來增強實現,並最終了解反應式程式設計模型,在該模型中,FP 和 OOP 結合使用,以便編寫更好的代碼。隨著書籍的進展,將向您展示架構中的最新趨勢,從 MVC 轉向微服務和無伺服器架構。我們將以強調新的 Java 特性和最佳實踐作結。到書籍結束時,您將能夠有效解決開發應用程式時面臨的常見問題,並能夠自信地處理任何規模的可擴展和可維護項目。
您將學到什麼
- 理解 OOP 和 FP 範式
- 探索傳統的 Java 設計模式
- 了解 Java 的新函數特性
- 了解新特性如何改變和影響設計模式
- 發現什麼是反應式程式設計以及為什麼它是 FP 的自然擴展
- 使用反應式設計模式,找到使用它們解決常見問題的最佳方法
- 了解架構中的最新趨勢以及從 MVC 轉向無伺服器應用程式的變化
- 在使用新特性時採用最佳實踐
本書適合誰
本書適合那些熟悉 Java 開發並希望在現代開發技術中掌握主導地位的人。預期具備基本的 OOP Java 程式設計經驗和對 Java 的初步了解。
目錄
- 從物件導向到函數式程式設計
- 創建模式
- 行為模式
- 結構模式
- 函數式設計模式
- 讓我們開始反應式
- 反應式設計模式
- 應用架構中的趨勢
- Java 中的最佳實踐