Object Design Style Guide

Summary

Objects are the central concept of languages like Java, Python, C#. Applying best practices for object design means that your code will be easy to read, write, and maintain. Object Design Style Guide captures dozens of techniques for creating pro-quality OO code that can stand the test of time. Examples are in an instantly familiar pseudocode, teaching techniques you can apply to any OO language, from C++ to PHP.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Well-written OO code is a pleasure to read, modify, and debug. Elevate your coding style by mastering the universal best practices for object design presented in this book. These clearly presented rules, which apply to any OO language, maximize the clarity and durability of your codebase and increase productivity for you and your team.

About the book

Object Design Style Guide presents dozens of professional techniques for writing OO code. In it, veteran developer Matthias Noback lays out design rules for constructing objects, defining methods, changing and exposing state, and much more. All examples use instantly familiar pseudocode, so you can follow along in the language you prefer. You’ll go case by case as you explore important scenarios and challenges for object design and then walk through a simple web application that demonstrates how different types of objects can work together effectively.

What's inside

    Universal design rules for a wide range of objects
    Best practices for testing objects
    A catalog of common object types
    Exercises for each chapter to test your object design skills

About the reader

For readers familiar with an object-oriented language and basic application architecture.

About the author

Matthias Noback is a professional web developer with nearly two decades of experience. He runs his own web development, training, and consultancy company called “Noback’s Office.”

Table of Contents:

1 ¦ Programming with objects: A primer

2 ¦ Creating services

3 ¦ Creating other objects

4 ¦ Manipulating objects

5 ¦ Using objects

6 ¦ Retrieving information

7 ¦ Performing tasks

8 ¦ Dividing responsibilities

9 ¦ Changing the behavior of services

10 ¦ A field guide to objects

11 ¦ Epilogue

 

Matthias Noback is a professional web developer with nearly two decades of experience. He runs his own web development, training, and consultancy company called "Noback's Office.”