CHAPTER 1 - Introduction to X++
CHAPTER 2 - X++ Control Statements
CHAPTER 3 - Objects and Classes
CHAPTER 4: Accessing the Database
CHAPTER 5: Exception Handling
CHAPTER 6: Security for Developers
Lesson 1 – Introduction and Objectives
INTRODUCTION and OBJECTIVES TO X+ +:
X++ is the primary programming language used in the MorphX Development environment. When you develop with X++, refer to Microsoft Dynamics AX Developer Help, available from the Help menu for detailed information. The following are important features of X++:
- X++ resembles other popular languages such as C# and Java. Due to this resemblance, programmers already familiar with these languages will be able to transition into the MorphX development environment quickly.
- Because X++ includes many integrated SQL commands, Microsoft Dynamics AX can build complex accounting and business management systems.
- X++ is an object-oriented language and provides a clean and efficient object-based development platform.
- Programmers who use X++ can access existing Microsoft Dynamics AX system classes that provide functionality ranging from basic I/O, XML, to changing controls in the graphical user interface at run time. These system classes can be extended to provide new behavior.
The objectives are:
- Identify key features of developing with X++.
- Describe the basic foundation of object-oriented programming. • Use the development tools available within Microsoft Dynamics® AX.
- Create object and data models from existing application elements by using the Reverse Engineering tool.
- Use best practices to instill good programming habits.
X++ is an object-oriented language with similarities to C#. X++ is part of the MorphX development platform that you use to construct accounting and business management systems.
The memory management model of X++ is simple. Objects are created with a new operator. There are no explicit programmer-defined pointer data types, and there is no pointer arithmetic.
X++ provides system classes for a broad range of system programming areas, a few of which are as follows:
- File input and output.
- Reflection on classes and tables.
- Manipulation of user interface items such as forms and reports.
- Dynamic array support.
- Collections of objects.
- XML building and parsing.