An error occured adding a product to your cart, you may only have 100 items in your cart.

Learning Dynamics NAV Patterns

Create solutions that are easy to maintain, quick to upgrade, and follow proven concepts and designs

Learning Dynamics NAV Patterns

Mark Brummel

1 customer reviews
Create solutions that are easy to maintain, quick to upgrade, and follow proven concepts and designs
Mapt Subscription
FREE
€29.98/m after trial
eBook
€21.84
RRP €31.18
Save 29%
Print + eBook
€31.99
RRP €31.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€21.84
€31.99
€29.98p/m after trial
RRP €31.18
RRP €31.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785284199
Paperback214 pages

Book Description

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

Chapter 1: Introducing Dynamics NAV Patterns and Software Architecture
What do we mean by 'patterns'?
Microsoft Dynamics NAV Design Patterns
Patterns elements and hierarchy
Building blocks
Metadata
Base application
Summary
Chapter 2: Architectural Patterns
The Singleton Pattern
The Supplemental and Subsidiary Pattern
The Compound Pattern
The Rules Pattern
The Master Data Pattern
The Journal Template-Batch-Line Pattern
The Entry Pattern
Document Pattern
The Argument table
Summary
Chapter 3: Design Patterns
The Entity State Pattern
The Select Pattern
The Number Series Pattern
Address Integration Pattern
Multi-Level Setup
Document History
Copy Document Pattern
Job Queue Entry Pattern
Dismissible dialogs and save preferences
Setup Update Pattern
Model-View ViewModel Pattern
Summary
Chapter 4: Building an Example Application Using Patterns
The design elements
The Pattern dependencies
Step one – Foundation
Step two – Master Data
Step three – Journals & Entries
Step four – Documents
The layered model
Summary
Chapter 5: Coding Best Practices
Coding guidelines
Class-Method-Property
Function libraries and interfaces
Natural Language Programming
Encapsulation
Façade
Hooks
Variant variables
Managing DLL
Summary
Chapter 6: Anti-patterns and Handling Legacy Code
Anti-patterns
Legacy code
Refactoring the C/AL Code
The boy scout rule
Summary
Chapter 7: Building Solutions Using Patterns
Building blocks
Creating the Table objects
Applying Design Patterns
Defining the methods
Writing the Code and Link methods
Refactoring
Testing the application
Upgrading the application
Building our application
Managing the source code
Summary

What You Will Learn

  • Apply object-oriented practices to C/AL programming
  • Structure your application to avoid merge conflicts
  • Refactor legacy code and avoid anti-patterns
  • Design decision trees to decide when to use which patterns
  • Clone codes and their application in Dynamics NAV
  • Make your application extensible by creating predefined hooks and facades

Authors

Table of Contents

Chapter 1: Introducing Dynamics NAV Patterns and Software Architecture
What do we mean by 'patterns'?
Microsoft Dynamics NAV Design Patterns
Patterns elements and hierarchy
Building blocks
Metadata
Base application
Summary
Chapter 2: Architectural Patterns
The Singleton Pattern
The Supplemental and Subsidiary Pattern
The Compound Pattern
The Rules Pattern
The Master Data Pattern
The Journal Template-Batch-Line Pattern
The Entry Pattern
Document Pattern
The Argument table
Summary
Chapter 3: Design Patterns
The Entity State Pattern
The Select Pattern
The Number Series Pattern
Address Integration Pattern
Multi-Level Setup
Document History
Copy Document Pattern
Job Queue Entry Pattern
Dismissible dialogs and save preferences
Setup Update Pattern
Model-View ViewModel Pattern
Summary
Chapter 4: Building an Example Application Using Patterns
The design elements
The Pattern dependencies
Step one – Foundation
Step two – Master Data
Step three – Journals & Entries
Step four – Documents
The layered model
Summary
Chapter 5: Coding Best Practices
Coding guidelines
Class-Method-Property
Function libraries and interfaces
Natural Language Programming
Encapsulation
Façade
Hooks
Variant variables
Managing DLL
Summary
Chapter 6: Anti-patterns and Handling Legacy Code
Anti-patterns
Legacy code
Refactoring the C/AL Code
The boy scout rule
Summary
Chapter 7: Building Solutions Using Patterns
Building blocks
Creating the Table objects
Applying Design Patterns
Defining the methods
Writing the Code and Link methods
Refactoring
Testing the application
Upgrading the application
Building our application
Managing the source code
Summary

Book Details

ISBN 139781785284199
Paperback214 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Programming Microsoft Dynamics NAV 2013 Book Cover
Programming Microsoft Dynamics NAV 2013
€ 35.98
€ 25.20
Microsoft Dynamics NAV 7 Programming Cookbook Book Cover
Microsoft Dynamics NAV 7 Programming Cookbook
€ 31.18
€ 21.84
Microsoft Dynamics NAV 2013 Application Design Book Cover
Microsoft Dynamics NAV 2013 Application Design
€ 32.38
€ 22.68
Implementing Microsoft Dynamics NAV 2013 Book Cover
Implementing Microsoft Dynamics NAV 2013
€ 34.78
€ 24.36
Programming Microsoft Dynamics™ NAV 2015 Book Cover
Programming Microsoft Dynamics™ NAV 2015
€ 51.58
€ 36.12
Microsoft Dynamics NAV 2015 Professional Reporting Book Cover
Microsoft Dynamics NAV 2015 Professional Reporting
€ 51.58
€ 36.12