所需积分/C币:48 2018-06-08 17:54:32 6.29MB PDF
收藏 收藏

Clean.Architecture.pdf Clean.Architecture.pdf Clean.Architecture.pdf
Robert c. martin series C ean code The Clean Coder Clean Architecture The software A Craftsmans GuideR A Handbook of gle sofware crafsmanship ware Structure andI Craftsman Prdfessoralium, Pomatum Pri Visit informit. com/martinseries for a complete list of available publications 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 book that guide software professionals in the principles, patterns, and practices of programming, software project management, requirements gathering, design, ting, and others Make sure to connect with us! informit. com/socialco inform com Pearson Safari Clean architecture A CRAFTSMANS GUIDE TO SOFTWARE STRUCTURE AND DESIGN Robert c. martin 8 PRENTICE HALL Boston· Columbus· Indianapolis· New York· San francisco· Amsterdan· Cape lown 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 plied 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(@pearsoned com ForquestionsaboutsalesoutsidetheU.s.,pleasecontactintlcs( 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 ontacts within the Pearson Education Global Rights Permissions Department, please visit ISBN-13:978-0-13-449416-6 ISBN-10:0-13-449416-4 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 This page intentionally left blank CONTENTS Foreword Preface Acknowledgments XXIII About the author XXV PART Introduction Chapter I What Is Design and Architecture The goal? Case study Conclusion Chapter 2 A tale of two values 3 avior 14 Architecture 14 The greater value 15 Eisenhower's Matrix 16 Fight for the architecture 18 CoNTENTS PART‖l Starting with the Bricks: Programming Paradigms Chapter 3 Paradigm overview 2 Structured Programming Object-Oriented Programming 2 Functional Programming Food for Though Conclusion 24 Chapter 4 Structured Programming 25 A Harmful Proclamation Functional Decomposition No Formal proofs Science to the rescue 30 ests Conclusion 31 Chapte Object-Oriented Programming 33 Encapsulation 34 Inheritance? 37 Polymorphism? 40 Conclusion 47 Chapter 6 Functional Programming 49 Squares of integers Immutability and architecture Segregation of Mutability ) Event Sourcing Conclusion 56 PART III Design Principles Chapter 7 SRP: The Single Responsibility Principle Symptom 1: Accidental duplication Symptom 2: M crocs 65 Solutions 66 Conclusion CoNTENTS Chapter 8 OCP: The Open-Closed Principle 69 A Thought experiment 70 Directional control 74 Information Hiding 74 Conclusion 75 Chapter 9 LSP: The Liskov Substitution Principle 77 aiding thc Usc of Inh 78 The Square/Rectangle proble 79 LSP and architecture Example lsp violat Conclusion Chapter 10 ISP: The Interface Segregation Principle 83 ISP and l 85 IsP and architecture 86 Conclusion 86 Chapter diP: The dependency Inversion principle 87 Stable abstractions 88 F actories 89 Concrete components 91 Conclusion PART V C omp onent p nciples Chapter 2 Components 95 tory Ilpollents Relocatability inkers Conclu 102 Chapter 3 Component Cohesion 103 The Reuse/Release Equivalence Principle The Common Closure Principle 105 The n Reuse principl The Tension Diagram for Component Cohesion 108

试读 127P Clean.Architecture.pdf
限时抽奖 低至0.43元/次
身份认证后 购VIP低至7折
liuxiaobin8419 很好,英文版的,中文网上只有个照片版的
nwpujunesky 不是扫描版,非常清晰~~
Clean.Architecture.pdf 48积分/C币 立即下载

试读结束, 可继续阅读

48积分/C币 立即下载