cbpaginator
OfficialConsistent server-side pagination for ColdBox
AuthorColdBox
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill removes the repetitive and error-prone work of implementing server-side pagination in ColdBox/BoxLang applications, ensuring consistent page calculations, offsets, and API pagination metadata across handlers and views.
Core Features & Use Cases
- Paginator service integration: Injection-ready Pagination service to create pagination objects and shorthand paginate() helper for quick usage.
- QueryBuilder and QB support: Works with QB QueryBuilder to run count queries, apply limit/offset, and return pageable collections.
- API and view support: Produces consistent pagination metadata for JSON APIs and renders page navigation for Bootstrap/Tailwind views.
- Best-practice patterns: Encourages validating page/per_page, capping maxRows, clamping page ranges, and returning standardized { data: [], pagination: {} } responses.
Quick Start
Use cbpaginator to paginate a users listing and return a JSON response with data and pagination metadata based on rc.page and rc.perPage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cbpaginator Download link: https://github.com/ColdBox/skills/archive/main.zip#cbpaginator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.