Skip to main content

User Guides

Learn how to use Morphir to model business logic and build applications.

📋 Contents

Modeling Guides

Learn how to model your business logic effectively:

Command-Line Tools

Master the Morphir CLI:

Development Techniques

🎯 Getting Started with Modeling

If you're new to modeling in Morphir:

  1. Start with Modeling Overview to understand the basics
  2. Read What Makes a Good Domain Model for best practices
  3. Choose a domain-specific guide (e.g., Modeling in Finance if applicable)
  4. Follow Application Modeling to build a complete application

💡 Key Principles

When modeling in Morphir, remember:

  • Business logic first: Focus on the domain, not implementation
  • Pure functions: All logic should be expressed as pure functions
  • Type safety: Use Morphir's type system to catch errors early
  • Testability: Write tests alongside your models

🛠️ Using the CLI

The Morphir command-line tools are essential for:

  • morphir-elm make - Translate Elm sources to Morphir IR
  • morphir-elm gen - Generate code from Morphir IR
  • morphir-elm develop - Launch the development UI

See Command-Line Tools for complete documentation.

📚 Next Steps

  • Explore Reference for backend-specific documentation
  • Check Examples for practical demonstrations
  • Join the Community to ask questions

← Back to Documentation Home