Explanation Overview
Understanding-oriented discussions that clarify concepts, explain design decisions, and provide background knowledge. Read these to deepen your understanding of CQL and ORMs in general.
Concepts
Fundamental concepts and ideas:
What is an ORM? - Understanding Object-Relational Mapping
Type Safety in CQL - How CQL leverages Crystal's type system
Schemas vs Migrations - Understanding the two approaches to database structure
Design Patterns
Architectural patterns supported by CQL:
Active Record Pattern - The primary pattern in CQL
Repository Pattern - Alternative data access approach
Data Mapper Pattern - Separating domain from persistence
Architecture
How CQL works internally:
CQL Architecture - High-level system design
Query Execution - How queries are built and executed
Migration System - How migrations work
Best Practices
Guidelines for effective CQL usage:
Model Design - Structuring your models
Security Considerations - Protecting your application
Deployment Guide - Running CQL in production
Ready to apply this knowledge? Head to the How-to Guides for practical instructions.
Last updated
Was this helpful?