Design patterns in C# / Steven John MetskerMaterial type: TextSeries: Software patterns seriesPublication details: Pearson Education, New Delhi : 2008Description: xv, 456 pISBN:
- 005.133 M5949
|Item type||Current library||Call number||Status||Date due||Barcode|
|Books||UE-Central Library||005.133 M5949 (Browse shelf(Opens below))||Available||T1967|
Browsing UE-Central Library shelves Close shelf browser (Hides shelf browser)
|005.133 M2951 C++ programming language C++ programming language||005.133 M5949 Design patterns in C#||005.133 M5949 Design patterns in Java /||005.133 M5949 Design patterns in C#||005.133 P375 Introduction to programming the Acorn Electron||005.133 P7538 Object-Orinted Programming Using C++||005.133 S3342 The complete reference Java TM 2|
includes glossary, bibliography and index
Preface. 1. Introduction. Why patterns? Why design patterns? Why c#? Uml. Challenges. The organization of this book. Welcome to oozinoz! Summary. I. Interface patterns. 2. Introducing interfaces. Interfaces and abstract classes. Interfaces and delegates. Interfaces and properties. Interface details. Summary. Beyond ordinary interfaces. 3. Adapter. Adapting to an interface. Class and object adapters. Adapting data in .net. Summary. 4. Facade. An ordinary facade. Refactoring to facade. Facades, utilities, and demos. Summary. 5. Composite. An ordinary composite. Recursive behavior in composites. Composites, trees, and cycles. Composites with cycles. Consequences of cycles. Summary. 6. Bridge. An ordinary abstraction. From abstraction to bridge. Drivers as bridges. Database drivers. Summary. Ii. Responsibility patterns. 7. Introducing responsibility. Ordinary responsibility. Controlling responsibility with accessibility. Summary. Beyond ordinary responsibility. 8. Singleton. Singleton mechanics. Singletons and threads. Recognizing singleton. Summary. 9. Observer. C# support for observer. Delegate mechanics. A classic example-observer in guis. Model/view/controller. Layering. Summary. 10. Mediator. A classic example-gui mediators. Relational integrity mediators. Summary. 11. Proxy. A simple proxy. A data proxy. Remote proxies. Summary. 12. Chain of responsibility. An ordinary chain of responsibility. Refactoring to chain of responsibility. Anchoring a chain. Chain of responsibility without composite. Summary. 13. Flyweight. Immutability. Extracting the immutable part of a flyweight. Sharing flyweights. Summary. Iii. Construction patterns. 14. Introducing construction. A few construction challenges. Summary. Beyond ordinary construction. 15. Builder. An ordinary builder. Building under constraints. A forgiving builder. Summary. 16. Factory method. A classic example-enumerators. Recognizing factory method. Taking control of which class to instantiate. Factory method in parallel hierarchies. Summary. 17. Abstract factory. A classic example-gui kits. Abstract factories and factory method. Namespaces and abstract factories. Summary. 18. Prototype. Prototypes as factories. Prototyping with clones. Summary. 19. Memento. A classic example-using memento for undo. Memento durability. Persisting mementos across sessions. Summary. Iv. Operation patterns. 20. Introducing operations. Operations and methods. Signatures. Delegates. Exceptions. Algorithms and polymorphism. Summary. Beyond ordinary operations. 21. Template method. A classic example-sorting. Completing an algorithm. Template method hooks. Refactoring to template method. Summary. 22. State. Modeling states. Refactoring to state. Making states constant. Summary. 23. Strategy. Modeling strategies. Refactoring to strategy. Comparing strategy and state. Comparing strategy and template method. Summary. 24. Command. A classic example-menu commands. Using command to supply a service. Command hooks. Command in relation to other patterns. Summary. 25. Interpreter. An interpreter example. Interpreters, languages, and parsers. Summary. V. Extension patterns. 26. Introducing extensions. Principles of oo design. The liskov substitution principle. The law of demeter. Removing code smells. Beyond ordinary extensions. Summary. 27. Decorator. A classic example-streams. Function wrappers. Decorator in guis. Decorator in relation to other patterns. Summary. 28. Iterator. Ordinary iteration. Thread-safe iteration. Iterating over a composite. Summary. 29. Visitor. Visitor mechanics. An ordinary visitor. Visitor cycles. Visitor controversy. Summary. Appendix a: directions. Get the most out of this book. Understand the classics. Weave patterns into your code. Keep learning. Appendix b: solutions. Appendix c: oozinoz source. Acquiring and using the source. Building the oozinoz code. Helping the oozinoz code find files. Testing the code with nunit. Finding files yourself. Summary. Appendix d: uml at a glance. Classes. Class relationships. Interfaces. Delegates and events. Objects. States. Glossary. Bibliography. Index.