Introduction
π What is Cycle Active Record?
This library extends Cycle ORM by integrating the Active Record pattern, providing developers with an intuitive, object-centric way to interact with databases.
Unlike Cycle ORM's default Data Mapper pattern, which separates the in-memory object representations from database operations, Active Record combines data access and business logic in a single entity.
This allows for more straightforward and rapid development cycles, particularly for simpler CRUD operations, by enabling direct data manipulation through the object's properties and methods.
βοΈ Key Features
Simplified Data Access: Interact with database records through object properties and methods.
Fluent Interface: Chain methods for more readable and concise code.
Built-in Query Builder: Construct complex queries using an intuitive API.
Automatic CRUD Operations: Create, Read, Update, and Delete records with minimal code.
Custom Query Classes: Encapsulate and reuse complex queries.
Integration with Existing Cycle ORM Features: Leverage Cycle ORM's advanced capabilities when needed.
Last updated