Table of Contents Introduction What is ActiveRecord in KumbiaPHP? Advantages and Features Prerequisites Installation and Initial Configuration Basic Usage Fundamental Concepts of ActiveRecord Defining Models Basic CRUD Operations Advanced Configuration Changing Database Connection Validations and Callbacks Custom Search Filters Transaction Management Integration with KumbiaPHP Installation with Composer Integration with the View System Role-Based Access Control (RBAC) Introduction to Callbacks Concepts and Practical Examples _beforeSave _afterSave _beforeCreate _afterCreate _beforeUpdate _afterUpdate Query Functions get Function filter Function all Function first Function Using Named Parameters Paginated Queries Introduction BaseRecord Class and the paginateQuery Function Paginator Class Practical Example Conclusion