📄️ Stack9 Guides
Comprehensive guides to help you build powerful applications with Stack9. From basic CRUD operations to advanced workflows and performance optimization.
📄️ Building a CRUD Application
This guide walks you through building a complete CRUD (Create, Read, Update, Delete) application in Stack9. We'll build a Product Management System with categories, inventory tracking, and pricing.
📄️ Creating Entities
Learn how to define custom entities in Stack9 - the foundation of your application's data model. This guide covers all entity configuration options, field types, validation rules, and best practices for building robust data structures.
📄️ Working with Entity Relationships
This guide shows you how to implement One-to-Many, Many-to-One, and Many-to-Many relationships in Stack9. We'll build a complete Blog System with Posts, Authors, Categories, and Tags.
📄️ Custom Queries
Learn how to create powerful, reusable queries in Stack9 to fetch and manipulate data efficiently. This guide covers the Query Library, query syntax, filtering, sorting, pagination, and advanced query patterns.
📄️ Implementing Search
Learn how to implement powerful search capabilities in Stack9 applications. This guide covers full-text search, filtering, autocomplete, search optimization, Elasticsearch integration, result ranking, and advanced search patterns.
📄️ Master-Detail Screens
Learn how to build master-detail screen patterns in Stack9 - a common UI pattern where a list of records (master) is displayed alongside detailed information about a selected record (detail). This guide covers split views, drill-down navigation, and interactive detail panels.
📄️ Validation Hooks
Learn how to implement comprehensive validation logic using Stack9 entity hooks. This guide covers field-level validation, cross-field validation, async validation, custom rules, conditional logic, and integration with entity lifecycle hooks.
📄️ Entity Hooks
Learn how to implement custom business logic using Entity Hooks in Stack9. This guide covers validation, data transformation, calculated fields, triggering workflows, error handling, and performance optimization with real-world examples.
📄️ Implementing Business Logic
Learn how to implement custom business logic in Stack9 using Entity Hooks and Action Types. This guide covers validation, data transformation, calculated fields, side effects, and integrating with external systems.
📄️ Building Custom Actions
Learn how to build reusable action types for Stack9 automations. This guide covers action structure, parameter definition with runtypes, using the context (database, services, logger, connectors), error handling, workflow integration, testing, and real-world examples.
📄️ Building Workflows
Learn how to build powerful automation workflows in Stack9. This guide covers webhook endpoints, entity lifecycle triggers, scheduled jobs, conditional logic, and error handling for real-world automation scenarios.
📄️ Workflows
Learn how to build powerful multi-step approval workflows in Stack9. This guide covers workflow definitions, states and transitions, conditional logic, user permissions, automation triggers, and real-world production examples.
📄️ Automations
Learn how to build powerful event-driven automations in Stack9. This guide covers automation triggers, action chaining, conditional logic, error handling, and real-world implementation patterns from production systems.
📄️ Integrating External APIs
Learn how to integrate Stack9 with external services and APIs. This guide covers REST API connectors, authentication methods, error handling, and real-world integration patterns for common third-party services.
📄️ Creating Reports
Learn how to build powerful reports, dashboards, and data visualizations in Stack9. This guide covers report types, query building, aggregations, parameters, exports, scheduling, and interactive dashboards.
📄️ Structuring Your Application
Learn how to organize and structure your Stack9 application for scalability, maintainability, and team collaboration. This guide covers architecture patterns, folder organization, naming conventions, and best practices for building production-grade applications.
📄️ Performance Optimization
Learn how to optimize your Stack9 application for maximum performance. This comprehensive guide covers query optimization, database indexing, caching strategies, N+1 query prevention, pagination, API response optimization, frontend performance, monitoring, and scaling strategies.
📄️ Creating Reusable Modules
Learn how to create reusable modules in Stack9 that can be shared across projects or distributed to other teams. This guide covers module structure, creating reusable entities, queries, action types, module dependencies, versioning, packaging, and comprehensive documentation.