Pairity/MILESTONES.md
Funky Waddle 6252dd6107
Some checks are pending
CI / test (8.2) (push) Waiting to run
CI / test (8.3) (push) Waiting to run
Get Production ready
2026-01-06 13:01:31 -06:00

2.3 KiB

Milestones

Table of Contents

  1. Milestone 1: Core DTO/DAO & Persistence
  2. Milestone 2: Basic Relations & Eager Loading
  3. Milestone 3: Attribute Accessors/Mutators & Custom Casters
  4. Milestone 4: Unit of Work & Identity Map
  5. Milestone 5: Pagination & Query Scopes
  6. Milestone 6: Event System
  7. Milestone 7: Performance Knobs
  8. Milestone 8: Road Ahead [x]

Milestone 1: Core DTO/DAO & Persistence

  • Basic AbstractDto and AbstractDao
  • CRUD operations (Insert, Update, Delete, Find)
  • Schema metadata (Casts, Timestamps, Soft Deletes)
  • Dynamic DAO methods
  • Basic SQL and SQLite support

Milestone 2: Basic Relations & Eager Loading

  • hasOne, hasMany, belongsTo
  • Batched eager loading (IN lookup)
  • Join-based eager loading (SQL)
  • Nested eager loading (dot notation)
  • belongsToMany and Pivot Helpers

Milestone 3: Attribute Accessors/Mutators & Custom Casters

  • DTO accessors and mutators
  • Pluggable per-column custom casters
  • Casting integration with hydration and storage

Milestone 4: Unit of Work & Identity Map

  • Identity Map implementation
  • Deferred mutations (updates/deletes)
  • Transactional/Atomic commits
  • Relation-aware delete cascades
  • Optimistic Locking (SQL & Mongo)

Milestone 5: Pagination & Query Scopes

  • paginate and simplePaginate for SQL and Mongo
  • Ad-hoc and Named Query Scopes

Milestone 6: Event System

  • Dispatcher and Subscriber interfaces
  • DAO lifecycle events
  • Unit of Work commit events

Milestone 7: Performance Knobs

  • PDO prepared-statement cache
  • Query timing hooks
  • Eager loader IN-batching
  • Metadata memoization

Milestone 8: Road Ahead [x]

  • Broader Schema Builder ALTER coverage
  • More dialect nuances for SQL Server/Oracle
  • Enhanced CLI commands
  • Caching layer
  • Production-ready MongoDB adapter refinements
  • Documentation and expanded examples