Book Image

Learning Dynamics NAV Patterns

By : Mark Brummel, Marije Brummel
Book Image

Learning Dynamics NAV Patterns

By: Mark Brummel, Marije Brummel

Overview of this book

Microsoft Dynamics NAV is a complete ERP system, which also contains a robust set of development tools to support customization and enhancement. These include an object designer for each of the seven application object types, a business application-oriented programming language with .NET interface capability, a compiler, a debugger, and programming testing language support. Learning Dynamics NAV Patterns will guide you through the NAV way of solving problems. This book will first introduce you to patterns and the software architecture of the NAV and then help you to build an example application. Then, it walks you through the details of architectural patterns, design patterns, and implementation patterns. This book will also talk about anti-patterns and handling legacy code. Finally, it teaches you to build solutions using patterns. Proven patterns and best practices will help you create better solutions that are easy to maintain in larger teams across several locations. It will guide you through combining abstract patterns using easy-to-understand examples and will help you decide which patterns to use in which scenarios.
Table of Contents (9 chapters)
8
Thank you for buying Learning Dynamics NAV Patterns

Anti-patterns and Handling Legacy Code

From the perspective of Architectural and Design Patterns and coding guidelines, Microsoft Dynamics NAV is very consistent, but even though the Patterns have always been the secret source, the product is not always nice and clean. Many developers have worked on solutions for many years with or without guidelines about the maintainability and upgradability of the patterns.

The Dynamics NAV application from scratch has been built in quite a neat and clean way, but throughout the years, modules that Microsoft acquired through acquisition or sub-contracting have been added. They have not always been cleaned up, and following the rules that we learned in the earlier chapters of this book.

We call this phenomenon legacy code, and since our ecosystem is three decades old, there is a lot of it.

From a business perspective, it is hard to get a budget to spend a few years in a basement, changing your legacy code, which has been working for many...