3 repositorios
Filtering database queries by URL slug to return a single matching record.
Distinct from Database Record Querying: Distinct from Database Record Querying: focuses on slug-based single-record retrieval rather than general multi-record querying.
Explore 3 awesome GitHub repositories matching data & databases · Slug-Based Record Retrieval. Refine with filters or upvote what's useful.
Friendly ID is an ActiveRecord slugging plugin that generates human-readable URL slugs from model attributes, replacing numeric IDs for cleaner permalinks in Rails applications. It resolves database records by matching a slug string instead of the numeric primary key in finder methods, enabling friendlier URLs throughout an application. The plugin provides a slug conflict resolution system that appends a UUID or uses candidate attribute combinations to guarantee unique slugs when the primary choice is already taken. It also offers a scoped uniqueness engine that restricts slug uniqueness with
Resolves database records by matching a human-readable slug string instead of the numeric primary key.
CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools
Filters database queries by URL slug to return a single matching record.
This project is a slug generation and management tool for the Laravel Eloquent ORM. It provides a reusable trait that adds the ability to create unique, URL-friendly strings from model attributes, allowing database records to be retrieved using human-readable slugs instead of primary keys. The system supports multilingual URL management by maintaining separate localized slugs for a single model instance. It ensures uniqueness through an automatic collision-avoidance mechanism that appends numeric suffixes to duplicate strings and prevents the use of reserved words that might overlap with syst
Implements a dedicated query scope to limit database results to records matching a specific slug value.