所需积分/C币:48 2017-10-18 10:22:38 8.03MB PDF
收藏 收藏

Robert c. martin Series Clean Code The Clean Cod clean Architecture The software Craftsman Visit in formit. com/martinseries for a complete list of available publications T he Robert C. Martin Series is directed at software developers, team leaders, business analysts, and managers who want to increase their skills and proficiency to the level of a Master Craftsman. The series contains books that guide software professionals in the principles, patterns, and practices of programming, software project management, requirements gathering, design, analysis, testing, and others Make sure to connect with ust inform it. com/socialconnect Pearson informIT. com Safari Clean architecture A CRAFTSMANS GUIDE TO SOFTWARE STRUCTURE AND DESIGN Robert c. martin prentice Boston· Columbus· Indianapolis… New york· San francisco amsterdam Cape Town dubai· London· Madrid· Milan· Munich· Paris. Montreal Toronto· Delhi. Mexico City Sao Paulo· Sydney· Hong Kong . Seoul Singapore· Taipei· Tokyo Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at corpsales @pearsoned com or( 800)382-3419 For government sales inquiries, please contact governmentsales(apearsoned com ForquestionsaboutsalesoutsidetheU.s., Visit us on the web: informit. com Library of congress control Number: 2017945537 Copyright C 2018 Pearson Education, Inc All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms and the appropriate contacts within the Pearson Education global Rights Permissions Department, please visit ISBN-13:978-0-13-449416-6 ISBN-10:0-13-449416-4 117 This book is dedicated to my lovely wife, my four spectacular children, and their families, including my quiver full of five grandchildren--who are the dessert of my life CONTENTS Foreword Preface Acknowledgments About the author PART I Introduction Chapter 1 What Is Design and Architecture? The goal? Case Study Conclusion Chapter 2_A Tale of Two values Behavior Architecture The greater value Eisenhower's matrix Fight for the Architecture PART II Starting with the Bricks: Programming Paradigms Chapter 3 Paradigm Overview Structured Programming Object-Oriented Programming Functional Programming Food for Thought Conclusion Chapter 4 Structured programming Proof A Harmful proclamation Functional Decomposition No formal proofs Science to the rescue Tests Conclusion Chapter 5 object-Oriented Programming Encapsulation? nheritance? Polymorphism? Conclusion Chapter 6 Functional programming Squares of integers Immutability and architecture Segregation of mutability Event sourcing Conclusion PART IILDesign Principles Chapter 7 SRP: The Single Responsibility principle Symptom 1: Accidental Duplication Symptom 2: Merges Solutions Conclusion Chapter 8 oCP: The Open-Closed principle A Thought Experiment Directional control Information Hiding Conclusion Chapter 9 LSP: The Liskov Substitution Principle Guiding the Use of Inheritance The Square/Rectangle problem L SP and architecture Example LsPⅤ iolation Conclusion Chapter 10ISP: The Interface Segregation Principle ISP and Language SP and architecture Conclusion Chapter 11DIP: The Dependency Inversion Principle Stable abstractions Factories Concrete Components Conclusion PARTIY Component Principles Chapter 12 Components A Brief History of Components R elocata ability Linkers Conclusion Chapter 13 Component Cohesion The Reuse/release equivalence Principle The Common Closure principle The Common reuse principle The Tension Diagram for Component Cohesion Conclusion Chapter 14 Component Coupling The acyclic dependencies Principle TOp-Down Design The Stable Dependencies Principle

试读 127P Clean+Architecture+A+Craftsman's+Guide+to+Software+Structure+and+Design.pdf
立即下载 身份认证后 购VIP低至7折
licl19870605 架构方面很不错的一本书
关注 私信
Clean+Architecture+A+Craftsman's+Guide+to+Software+Structure+and+Design.pdf 48积分/C币 立即下载

试读结束, 可继续阅读

48积分/C币 立即下载