Presented by Vishy Grandhi. Architecture (Week 1) ◦ Development Environments ◦ Model driven...

23
AX 2012 Development Training Presented by Vishy Grandhi

Transcript of Presented by Vishy Grandhi. Architecture (Week 1) ◦ Development Environments ◦ Model driven...

Page 1: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

AX 2012 Development TrainingPresented by Vishy Grandhi

Page 2: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Architecture (Week 1)◦ Development Environments◦ Model driven architecture◦ Licensing and configuration

AOT (Week 2)◦ Data dictionary

Elements & Objects of data dictionary

◦ Tables◦ EDTs◦ Indexes◦ Views

User Interface (Week 3)◦ Forms◦ Menus◦ Form templates, listpages &

factboxes

Schedule• Security (Week 4)

– Users & Roles– Privileges & Duties

• X++ (Week 5)– Intro to X++– Development tools– Jobs & Compiler– Debugging– Best practices

• X++ (advanced - Week 6)– Variables, Arrays & Containers– Operators– Conditional statements &

Loops

Page 3: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Classes & Objects (Week 7)◦ Classes◦ Inheritance & Objects◦ Methods & Scope◦ Eventing

Accessing database (Week 8)◦ Retrieve data◦ Data Manipulation◦ Queries

Exception Handling (Week 9)◦ Try & Catch◦ Optimistic concurrency

exceptions◦ Throw and handle exceptions

Schedule (contd.)• Security (advanced - Week

10)– Security Policies– Code access security– Display method authorization

• Advanced topics (Each a major training activity)– Reporting– Enterprise portal development

Page 4: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Lesson 1: Overview◦ System architecture, model driven architecture

Lesson 2: Development environment◦ VS, Morph X IDE overview

Lesson 3: Demo◦ Hello World◦ Add a new field to a form

Training Outline

Page 5: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

At the end of this lesson you will have an understanding about◦ The components of an AX system◦ Extended System architecture◦Model driven architecture

Overview: Objectives

Page 6: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

AX is a 3-tier system consisting of the following components◦ Database (SQL Server)◦ AOS (Business logic execution service)◦ Client (AX Rich client, EP, .NET Business

Connector)

Overview: AX Components

Page 7: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

AX Database◦ It is an OLTP db◦ Stores business data◦ Stores Metadata and application code

Overview: AX Components

Page 8: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

AOS◦ Application object server◦ It provides a runtime for execution of X++ code◦ Manages security◦ Session management◦ Web services end point

Overview: AX Components

Page 9: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Clients◦ AX Rich client installed on client

desktop/citrix/RDP◦ Enterprise Portal◦ Microsoft Office products (Through Dynamics AX

add-on)◦ .NET Business Connector

Overview: AX Components

Page 10: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Overview: System Architecture

Page 11: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

AX has a unique model and layer architecture that enables easy customization while ensuring protection of code and easy upgrade◦ Layers◦ Models

Overview: Model driven architecture

Page 12: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Overview: Layers

Page 13: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Model is a new concept in AX 2012◦ Logical separation of code objects◦ Multiple ISV code segregation◦ Multiple project code segregation

Overview: Models

Page 14: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

We have looked at the components that make up AX System

Architecture of AX – Layers and Models Extended system architecture

Overview: Wrap-up

Page 15: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

At the end of this lesson you will have an understanding about◦ Development tools ◦AOT◦Labels◦X++ Tools

Development environment: Objectives

Page 16: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

MorphX IDE◦ Integrated IDE part of AX rich client

Visual Studio◦ Report development◦ Enterprise Portal development

Development environment: Dev tools

Page 17: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Application Object Tree◦ A graphical representation of all the meta data

elements◦ Data Dictionary

Tables, EDTs, Base Enums etc..◦ Classes◦ Forms◦ Visual Studio Projects◦ Menus

Development environment: AOT

Page 18: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Label files used to provide language specific text for the different UI elements in AX

Microsoft provides translation for all core elements in all supported languages out of the box

Create new label file for the needs of any customization elements

Development environment: Labels

Page 19: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

X++ is an object oriented programming language that is used in MorphX IDE

MorphX provides the following tools for X++◦ X++ code editor◦ Debugger◦ Reverse Engineering tool◦ Table browser

Development environment: X++ tools

Page 20: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

In this lesson we looked at the different development environments available to us

We have also had a peek at the different code elements in AX

We have also explored a little bit more into the X++ tools that are provide by MorphX IDE

Development environment: Wrap-up

Page 21: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

A hello world demo Modify one of the standard forms in AX

Demo

Page 22: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

We have looked at AX components and system architecture

We have also explored model driven architecture

We have looked at different development tools that we can use to make changes to AX

A more detailed overview on MorphX IDE Finally a Hello World demo

Summary of Training

Page 23: Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)

Additional resources◦ E-Learning Catalog: https://

dynamics.microsoftelearning.com/catalog/default.aspx ◦ White Papers for developers:

http://msdn.microsoft.com/en-us/library/hh272882.aspx ◦ White Papers: http://www.microsoft.com/download/en/search.aspx?

q="Dynamics AX 2012" && "white paper“

Quiz Questions & Answers

Assessment, Evaluation & additional resources