Slide 1

Slide 1 text

Zach Daniel | May 19 2023 Domain Modeling, Elevated

Slide 2

Slide 2 text

Outline • What is domain modeling? • Spark • What is a resource? • Advanced features • Extensibility • What’s new? • What’s coming up?

Slide 3

Slide 3 text

Domain Modeling

Slide 4

Slide 4 text

Domain Modeling

Slide 5

Slide 5 text

Domain Modeling You’re doing it, even if you don’t realize it

Slide 6

Slide 6 text

• Interfaces Domain Modeling You’re doing it, even if you don’t realize it

Slide 7

Slide 7 text

• Interfaces • Data Domain Modeling You’re doing it, even if you don’t realize it

Slide 8

Slide 8 text

• Interfaces • Data • Side e ff ects Domain Modeling You’re doing it, even if you don’t realize it

Slide 9

Slide 9 text

• Interfaces • Data • Side e ff ects • The intersection of business and technology Domain Modeling You’re doing it, even if you don’t realize it

Slide 10

Slide 10 text

• Interfaces • Data • Side e ff ects • The intersection of business and technology Domain Modeling You’re doing it, even if you don’t realize it

Slide 11

Slide 11 text

• Interfaces • Data • Side e ff ects • The intersection of business and technology • There is no “one size fi ts all” Domain Modeling You’re doing it, even if you don’t realize it

Slide 12

Slide 12 text

• Interfaces • Data • Side e ff ects • The intersection of business and technology • There is no “one size fi ts all” Domain Modeling You’re doing it, even if you don’t realize it

Slide 13

Slide 13 text

Spark DSL Builder

Slide 14

Slide 14 text

Spark DSL Builder • Powers all Ash DSLs

Slide 15

Slide 15 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns

Slide 16

Slide 16 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection

Slide 17

Slide 17 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic

Slide 18

Slide 18 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic

Slide 19

Slide 19 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic • Supports extensions

Slide 20

Slide 20 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic • Supports extensions • Used outside of Ash

Slide 21

Slide 21 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic • Supports extensions • Used outside of Ash

Slide 22

Slide 22 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic • Supports extensions • Used outside of Ash

Slide 23

Slide 23 text

Spark DSL Builder • Powers all Ash DSLs • Sets the core design patterns • Con fi guration & Introspection • Makes DSLs less magic • Supports extensions • Used outside of Ash

Slide 24

Slide 24 text

What is a resource?

Slide 25

Slide 25 text

What is a resource?

Slide 26

Slide 26 text

What is a resource?

Slide 27

Slide 27 text

What is a resource?

Slide 28

Slide 28 text

What is a resource?

Slide 29

Slide 29 text

What is a resource?

Slide 30

Slide 30 text

What is a resource?

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work.

Slide 34

Slide 34 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks Ash.Resource.Change

Slide 35

Slide 35 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks Ash.Resource.Preparation

Slide 36

Slide 36 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations Ash.Resource.ManualCreate

Slide 37

Slide 37 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations Ash.Resource.ManualRelationship

Slide 38

Slide 38 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations Elixir Calculations

Slide 39

Slide 39 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations Expression Calculations

Slide 40

Slide 40 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations • Aggregates Aggregating Related Data

Slide 41

Slide 41 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations • Aggregates Lifting Related Data

Slide 42

Slide 42 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations • Aggregates • Policies

Slide 43

Slide 43 text

Advanced Features The special sauce • Intelligent, integrated tools are what make it all work. • Standardized Building Blocks • Manual Implementations • Calculations • Aggregates • Policies • Migration Generator

Slide 44

Slide 44 text

Extending Ash • Extensions can modify resources in arbitrary ways.

Slide 45

Slide 45 text

Extending Ash • Extensions can modify resources in arbitrary ways. • Extensions often come along with con fi guration driven tools to leverage them

Slide 46

Slide 46 text

Extending Ash • Extensions can modify resources in arbitrary ways. • Extensions often come along with con fi guration driven tools to leverage them • Extensions can fundamentally change the way you use the framework

Slide 47

Slide 47 text

Extending Ash • Extensions can modify resources in arbitrary ways. • Extensions often come along with con fi guration driven tools to leverage them • Extensions can fundamentally change the way you use the framework

Slide 48

Slide 48 text

Extending Ash • Extensions can modify resources in arbitrary ways. • Extensions often come along with con fi guration driven tools to leverage them • Extensions can fundamentally change the way you use the framework • The builtin extensions are just the beginning. They are all built with tools you can use too.

Slide 49

Slide 49 text

What’s new? • AshAuthentication

Slide 50

Slide 50 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support

Slide 51

Slide 51 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support

Slide 52

Slide 52 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType

Slide 53

Slide 53 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType

Slide 54

Slide 54 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType

Slide 55

Slide 55 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType

Slide 56

Slide 56 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment

Slide 57

Slide 57 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment • Streaming Read Actions

Slide 58

Slide 58 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment • Streaming Read Actions • Locking

Slide 59

Slide 59 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment • Streaming Read Actions • Locking • AshStateMachine & AshOban

Slide 60

Slide 60 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment • Streaming Read Actions • Locking • AshStateMachine & AshOban • Generic Actions

Slide 61

Slide 61 text

What’s new? • AshAuthentication • OpenAPI/Swagger Support • Ash.Type.Union & Ash.Type.NewType • Spark.Dsl.Fragment • Streaming Read Actions • Locking • AshStateMachine & AshOban • Generic Actions • Bulk Creates

Slide 62

Slide 62 text

What’s coming up? This is just the beginning!

Slide 63

Slide 63 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements

Slide 64

Slide 64 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions

Slide 65

Slide 65 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics

Slide 66

Slide 66 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics

Slide 67

Slide 67 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators

Slide 68

Slide 68 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions!

Slide 69

Slide 69 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! SQLite

Slide 70

Slide 70 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! MySQL SQLite

Slide 71

Slide 71 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! MySQL SQLite SQL Server

Slide 72

Slide 72 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! MySQL SQLite SQL Server CQRS

Slide 73

Slide 73 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! MySQL SQLite SQL Server CQRS GRPC

Slide 74

Slide 74 text

What’s coming up? This is just the beginning! • Constant QoL and ergonomics improvements • Bulk Actions • Atomics • Generators • More extensions! MySQL SQLite SQL Server CQRS GRPC Multi Data Layer