Clean.Architecture.pdf

5星(超过95%的资源)
所需积分/C币:48 2018-06-08 17:54:32 6.29MB PDF
187
收藏 收藏
举报

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(@pearson.com 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 www.pearsoned.com/permissions/ 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折
一个资源只可评论一次,评论内容不能少于5个字
liuxiaobin8419 很好,英文版的,中文网上只有个照片版的
2019-01-24
回复
nwpujunesky 不是扫描版,非常清晰~~
2019-01-22
回复
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
上传资源赚钱or赚积分
最新推荐
Clean.Architecture.pdf 48积分/C币 立即下载
1/127
Clean.Architecture.pdf第1页
Clean.Architecture.pdf第2页
Clean.Architecture.pdf第3页
Clean.Architecture.pdf第4页
Clean.Architecture.pdf第5页
Clean.Architecture.pdf第6页
Clean.Architecture.pdf第7页
Clean.Architecture.pdf第8页
Clean.Architecture.pdf第9页
Clean.Architecture.pdf第10页
Clean.Architecture.pdf第11页
Clean.Architecture.pdf第12页
Clean.Architecture.pdf第13页
Clean.Architecture.pdf第14页
Clean.Architecture.pdf第15页
Clean.Architecture.pdf第16页
Clean.Architecture.pdf第17页
Clean.Architecture.pdf第18页
Clean.Architecture.pdf第19页
Clean.Architecture.pdf第20页

试读结束, 可继续阅读

48积分/C币 立即下载