Apply design principles to your classes, preparing them for reuse. You will use package design principles to create packages that are just right in terms of cohesion and coupling, and are user- and maintainer-friendly at the same time.
The first part of this book walks you through the five SOLID principles that will help you improve the design of your classes. The second part introduces you to the best practices of package design, and covers both package cohesion principles and package coupling principles. Cohesion principles show you which classes should be put together in a package, when to split packages, and if a combination of classes may be considered a "package" in the first place. Package coupling principles help you choose the right dependencies and prevent wrong directions in the dependency graph of your packages.
What You'll Learn
Apply the SOLID principles of class design
Determine if classes belong in the same package
Know whether it is safe for packages to depend on each other
Who This Book Is For
Software developers with a broad range of experience in the field, who are looking for ways to reuse,share, and distribute their code
Developing User Interfaces for Microsoft Windows
Good user interfaces matter. In fact, they matter a great deal to the success of a program. While a program’s design and technology affects its overall capability and performance, as far as the user is concerned, the user interface is the program. If the user interface isn’t good, the program isn’t good. Don’t expect...
Photoshop CS4 All-in-One For Dummies Your one-stop Photoshop reference, filled with the latest tips and techniques
There’s a reason why Photoshop is the industry standard for image-editing software. But it’s also that big, Photoshop has so many facets and features that a handy one-stop guide is exactly what you need. And you’ll love the...
Oracle Data Guard 11g Handbook (Osborne ORACLE Press Series)
Provide superior data protection, availability, and disaster recovery using the tested techniques in this Oracle Press guide. Cowritten by a team of Oracle experts, Oracle Data Guard 11g Handbook provides a sound architectural foundation along with best practices for configuration, monitoring, maintenance, and troubleshooting. You...
Concrete Semantics: With Isabelle/HOL
Part I of this book is a practical introduction to working with the Isabelle proof assistant. It teaches you how to write functional programs and inductive definitions and how to prove properties about them in Isabelle’s structured proof language. Part II is an introduction to the semantics of imperative languages with an emphasis on...
Mastering phpMyAdmin 3.3.x for Effective MySQL Management
phpMyAdmin is an open source tool written in PHP. It handles the administration of MySQL over the World Wide Web (WWW). It can perform various tasks, such as creating, modifying, or deleting databases, tables, fields, or rows. It can also execute SQL statements and manage users and their permissions. When it comes to exploiting phpMyAdmin to...
Designing Enterprise Applications with Microsoft Visual Basic .NET
Why, you might ask, did I decide to write an entire book about Microsoft Visual Basic .NET and enterprise development? After all, enterprise development usually conjures up pictures of industrial strength computer systems, something Visual Basic has not traditionally been associated with. First of all, Visual Basic .NET is more...