Download presentation
Presentation is loading. Please wait.
Published byἘφραίμ Σπάρτακος Ζυγομαλάς Modified over 6 years ago
1
Jochen Seemann Program Manager Enterprise Tools Microsoft Corporation
ARC411 Domain Specific Language Tools For Model-Driven Development In Microsoft Visual Studio 2005 Jochen Seemann Program Manager Enterprise Tools Microsoft Corporation © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
2
1/18/2019 12:27 AM © 2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
3
Visual Languages Important Shapes Links, ends, style Labels Nesting
1/18/ :27 AM Visual Languages Important Shapes Links, ends, style Labels Nesting Layout, routing property Corona label members Shape Group Base waiting running pause begin stop playing +v 0v 0.7CR R C 0.1R © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
4
Domain Specific Languages In The Context Of The DSL Tools
1/18/ :27 AM Domain Specific Languages In The Context Of The DSL Tools Visual Languages… To understand or define requirements To understand or define design To generate parts of the solution To implement design patterns for specific frameworks and architectures To customize applications and application components To visualize existing systems © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
5
Building A Designer For Visual Studio
1/18/ :27 AM Building A Designer For Visual Studio Toolbox Explorer Drawing surface with domain specific notation Property Browser Validation © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
6
Visual Studio Team System
Process and Architecture Guidance Visual Studio Industry Partners Visual Studio Team Edition Software Architects Visual Studio Team Edition Software Developers Visual Studio Team Edition Software Testers Application Designer Dynamic Code Analyzer Load Testing System Designer Static Code Analyzer Manual Testing Logical Datacenter Designer Code Profiler Test Case Management Deployment Designer Unit Testing Modeling Platform DSL Tools Code Coverage Class Designer (in Visual Studio Standard Edition and higher) Visio for Enterprise Architects (in MSDN Premium Subscription) Team Explorer (includes Team Foundation Server CAL) Visual Studio Professional Edition Visual Studio Team Foundation Server Change Management Reporting Integration Services Team Build Work Item Tracking Project Portal Project Management © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
7
A SDK To Build Visual Modeling Tools
1/18/ :27 AM A SDK To Build Visual Modeling Tools DSL Tools for Visual Studio Distributed Systems Designers Class Designer Your new Designer Visual Studio 2005 Microsoft Modeling Platform In Visual Studio © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
8
1/18/ :27 AM Modeling Platform Visual Studio UI Integration for components like Toolbox, Menus Extensible drawing surface with support for routing and auto-layout Artifact generation Microsoft Modeling Platform In Visual Studio Shell Frame- work Validation Frame- work Design Surface Framework Template Engine Domain Model Framework Constraint checking and guides user to resolve issues In-Memory graph database with rich services (e.g., transactions, serialization…) and queries © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
9
A Simple Workflow Language
1/18/ :27 AM A Simple Workflow Language Already Thirsty Fascinated by DSL Tools Attend DSL Session Try out DSL Tools in Hands-On Lab Thirsty now Too late TechEd Party Tonight © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
10
Define Domain Model Task Class
1/18/ :27 AM Define Domain Model Task Class Attend DSL Session Try out DSL Tools in Hands-On Lab TechEd Party Tonight © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
11
Define Domain Model Inheritance
1/18/ :27 AM Define Domain Model Inheritance Attend DSL Session Try out DSL Tools in Hands-On Lab TechEd Party Tonight © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
12
Define Domain Model Relationships
1/18/ :27 AM Define Domain Model Relationships Attend DSL Session Try out DSL Tools in Hands-On Lab TechEd Party Tonight © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
13
Define Shape Rounded Rectangle Outline color: black Fill color: gray
1/18/ :27 AM Define Shape Rounded Rectangle Outline color: black Fill color: gray Attend DSL Session Text Decorator Position: center © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
14
Define Connector Appearance
1/18/ :27 AM Define Connector Appearance Text Decorator Position: Source, Top Connector solid black filled arrowhead Fascinated by DSL Tools Attend DSL Session Try out DSL Tools in Hands-On Lab © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
15
Define Connector Visual Syntax
1/18/ :27 AM Define Connector Visual Syntax Attend DSL Session Try out DSL Tools in Hands-On Lab TechEd Party Tonight © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
16
Define Mapping Shape Domain Model Attend DSL Session
1/18/ :27 AM Define Mapping Shape Domain Model Attend DSL Session © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
17
Building A Designer Code/ Artifact Generation Notation Definition
1/18/ :27 AM Building A Designer Code/ Artifact Generation Notation Definition Custom XML Serialization Mapping Definition Validation/ Constraints Domain Model Definition Custom Behavior Code generated by DSL Tools Custom Code (SDK) © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
18
First Example Building a simple workflow designer
Define a domain model Define shapes Define mapping Generate code Build designer Run designer © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
19
Generators Based On Templates
1/18/ :27 AM Generators Based On Templates Model prospect initiated prospective sale empty overflow Sat weekly accumulator 4 £20 1 week delay £30 cancels salesperson’s account 31 monthly bank a/c pay 7 Queries standardStuff; <# foreach Task t in this.Workflow.Tasks { #> class <#= t.Name #> : TaskBase { … } <# } moreStandardStuff; … Template standardStuff; class DoFirst : TaskBase {…} class DoNext : TaskBase {…} … Generated Code © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
20
Software Factories Multiple Designers
1/18/ :27 AM Software Factories Multiple Designers Model 1 – Flow Model 3 – Control prospect initiated prospective sale empty overflow Sat weekly accumulator 4 £20 1 week delay £30 cancels salesperson’s account 31 monthly bank a/c pay 7 <xxx yyy> <zzz /> </xxx> 7 Flow aspect code Control aspect code Entities aspect code Model 2 – Entities © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
21
Generating Artifacts From Models
1/18/ :27 AM Generating Artifacts From Models Define a simple html report Create a report © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
22
Example: Entity Designer
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
23
Example: Utility For VSTS
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
24
1/18/ :27 AM Second Example Building a business entity designer with code generation Review domain model Review shape definition Build and run designer Build sample model Review code generation Generate WinForm code for business entity Open WinForm for business entity © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
25
What’s Next? DSL Tools are in an early stage
1/18/ :27 AM What’s Next? DSL Tools are in an early stage CTP releases for Visual Studio 2005 available Continue to release every 2-3 months with growing feature set Designer SDK Model Data Access Model Validation UI and Designer Behavior Custom XML Serialization Richer design experience for Domain Models, Notation and Mapping Multiple Views and Multiple Models Designer Deployment Support © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
26
Microsoft Domain Specific Language (DSL) Tools For Visual Studio 2005
1/18/ :27 AM Microsoft Domain Specific Language (DSL) Tools For Visual Studio 2005 Generates executable designer based on description of the “Domain Specific Language” (DSL) used in the designer Generated Designer Is a complete usable tool (fully functional, undo, persistence/XML file support… ) Is starting point of designer development (SDK, artifact generation… ) © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
27
Community And Resources
1/18/ :27 AM Community And Resources DSL Tools Homepage DSL Tools Community Forum Software Factories softwarefactories/ © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
28
1/18/2019 12:27 AM © 2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
29
Your Feedback is Important!
1/18/ :27 AM Your Feedback is Important! Please Fill Out a Survey for This Session on CommNet © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
30
© 2005 Microsoft Corporation. All rights reserved.
1/18/ :27 AM © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. © 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.