Skip to the content

Directions EMEA 2022

Interfaces on steroids: polymorphic patterns with AL

Date: 09-11-2022 | From: 16:15 to 18:00 | Room: Hall Z

When you ask Microsoft about interface objects in AL, they'll say that their purpose is to allow binding their implementation to enum objects. That's what they have been designed to support, after all.

However, interfaces can be used to do a lot more than that.

This session will look into interfaces from an architecture perspective, and will show how many nice design patterns such as factory pattern and inversion of control, that were never truly available to C/AL developers of yesterday are natively available to AL developers of today.

Since inversion of control is one of typical testability patterns - those that make writing testable code much easier - this session will shed some light on how to replace some clumsy event-driven approaches to testability with much simpler ones based on interfaces.


Vjekoslav Babic

Vjekoslav Babic


Bio: Vjekoslav Babić, or just Vjeko as he prefers to go by in the community in an attempt to simplify his absurd Slavic name, is a Business Central architect, developer, trainer, author and blogger. With more than two decades of experience in the IT, he worked with vast range of technologies, but his passion has always been anything that had to do with the web and mobile worlds. Vjeko is an incurable hacker who took quite a long time to realize that the one thing he really loves is writing code, plain and simple. As a frequent speaker at conferences, in his demos, and on his blog, he always pushes the boundaries of what's possible, connecting the world of Business Central with just about anything that can be plugged into it. Since spring 2010, Vjeko has been awarded the Most Valuable Professional (MVP) award for Microsoft Dynamics NAV. You can meet him at his blog " - ideas in the cloud".