What this book covers
Chapter 1, Introducing Dynamics NAV Patterns and Software Architecture, will introduce you to the concept of good software architecture and Design Patterns. Dive into the history and learn some characteristics that are specific Chapter 1 to our product, which makes our Patterns unique.
Chapter 2, Architectural Patterns, will discuss various ways of designing the tables that are used in the product and have proven to be successful. You will find that up to 99 percent of all the tables can be easily categorized. By following these Patterns, your software will be recognized and proven to be working.
Chapter 3, Design Patterns, will discuss some of the most popular and well-known software elements that you can reuse to solve problems, in other words, Design Patterns!
Chapter 4, Building an Example Application using Patterns, will show you what happens if we combine the Patterns from Chapter 2, Architectural Patterns, and Chapter 3, Design Patterns, together in a solution. We should have something that makes sense and looks like a Microsoft Dynamics NAV application.
Chapter 5, Coding Best Practices, will explain that in Microsoft Dynamics NAV we can write code almost anywhere, but should we do this just because we can? Let's learn how to structure our code. We will steal some ideas from object-oriented programming while we're at it.
Chapter 6, Anti-patterns and Handling Legacy Code, will show you how you can migrate the existing legacy code into more structured software. We will touch base on refactoring and clean code.
Chapter 7, Building Solutions Using Patterns, will help you write an application to run a Bed and Breakfast. We will learn how to divide processes into classes, and select which Patterns to apply. At the end of this chapter, we will write test code and upgrade our software to a new version.