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:
- Application Modeling - How to model complete applications
- Modeling Overview - General overview of modeling in Morphir
- What Makes a Good Domain Model - Best practices for domain modeling
- Modeling for Database Developers - Bridge from database concepts to Morphir
- Modeling in Finance - Finance-specific modeling patterns
- Modeling and Testing - How to test your models
- Soul of Your Application - Capturing core business logic
Command-Line Tools
Master the Morphir CLI:
- Command-Line Tools - Complete CLI reference
- Morphir Commands Processing - How commands are processed
- Morphir-Elm Commands - Elm-specific command details
Development Techniques
- Working with Results in Elm - Error handling patterns
- Decorators User Guide - Using decorators in your models
🎯 Getting Started with Modeling
If you're new to modeling in Morphir:
- Start with Modeling Overview to understand the basics
- Read What Makes a Good Domain Model for best practices
- Choose a domain-specific guide (e.g., Modeling in Finance if applicable)
- 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 IRmorphir-elm gen- Generate code from Morphir IRmorphir-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