21 Repos
Reusable query constraints encapsulated within model definitions to standardize data filtering.
Explore 21 awesome GitHub repositories matching data & databases · Query Scopes. Refine with filters or upvote what's useful.
Laravel is a comprehensive full-stack web framework designed for building scalable server-side applications. It provides an integrated development environment that centers on an object-relational mapper for database abstraction, a robust routing system, and a sophisticated service container for dependency injection. The framework is built to handle complex application requirements through a modular architecture that emphasizes convention over configuration. What distinguishes Laravel is its deep integration of background processing and event-driven communication. It features a task queue orch
Encapsulates reusable query constraints within models to standardize filtering logic across the application.
Filament is a full-stack framework for building administrative panels and management interfaces within the Laravel ecosystem. It provides a declarative, component-based architecture that allows developers to construct complex, data-driven applications using server-side configuration objects rather than manual HTML. By inspecting database model structures and relationships, the framework automates the generation of CRUD interfaces, forms, and data tables, significantly reducing boilerplate code. The project distinguishes itself through a highly modular and extensible design that supports custo
Filters database queries to ensure users only interact with records they are permitted to view or modify.
This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d
Tag documents with scope identifiers during synchronization to enable targeted querying, selective data removal, and efficient cleanup of local storage.
This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency between database schemas and application code. By leveraging compile-time validation, it ensures that SQL queries and data structures remain synchronized, preventing common errors before the application executes. It provides a comprehensive framework for relational data modeling, allowing developers to define table associations and map database results directly into strongly-typed language objects. The library distinguishes itself through its focus on compile-time safety and au
Encapsulates common filtering and expression logic into reusable query components.
Rayon is a data parallelism library for Rust that provides a framework for converting sequential computations into parallel operations. It enables the transformation of standard data structures and loops into parallel iterators, allowing workloads to be distributed across multiple processor cores. By utilizing a work-stealing scheduler, the library dynamically balances tasks to maximize throughput and minimize execution time. The library distinguishes itself through its focus on safe, scoped task synchronization, which ensures that all spawned operations complete before a scope exits to preve
Establishes controlled execution environments where all spawned operations must finish before the scope exits.
This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The
Defines reusable query constraints within models to eliminate logic duplication across retrieval methods.
Pundit is an authorization framework for Ruby applications that enforces permissions through plain Ruby policy objects. It maps controller actions to policy methods, automatically inferring which policy class and query method to call based on the action name, and raises a custom exception when access is denied. The framework distinguishes itself by using plain Ruby classes without external DSLs or configuration files, and by providing a development-time verification guard that raises an error if a controller action runs without an authorization call. It also supports namespace-based policy or
Restricts database queries to authorized records using policy-defined scope classes.
Pundit is a Ruby authorization framework that implements policy-based access control. It maps domain models to dedicated logic classes that determine whether a user is permitted to perform specific actions on data objects. The framework utilizes plain Ruby objects to decouple authorization logic from the model. It includes mechanisms for data query scoping to filter record collections based on user permissions, as well as attribute-level permission control to restrict which specific model fields a user can modify. The system provides tools for authorization coverage verification to ensure se
Provides specialized scope classes to filter database record collections based on the requesting user's permissions.
Flecs is a high-performance entity component system framework and data-oriented programming library. It serves as a simulation engine core and game engine architecture tool, decoupling state from behavior by separating entities, components, and systems. The framework features a runtime reflection layer for dynamic data inspection and a built-in scripting system for defining entity behavior without recompilation. It also includes a network interface and REST API for remote simulation administration and state querying. The library covers a broad surface of simulation capabilities, including ar
Supports applying operators like negation to combined query terms to refine entity filtering.
Rails Admin is a web-based management dashboard and Active Record model manager for Ruby on Rails applications. It provides a graphical user interface for creating, reading, updating, and deleting database records, serving as a secure back office for database content management and administrative data auditing. The project distinguishes itself through a reflection-based schema mapping system that automatically generates CRUD interfaces from database metadata. It includes specialized tools for data versioning and change auditing to track administrative activity, as well as utilities for import
Restricts the records visible in the admin interface by applying custom query scopes to the models.
This is a Laravel package that provides a database audit trail by automatically logging user actions and Eloquent model events. It records create, update, and delete operations on models into a dedicated database table, creating a searchable record of changes for tracking and review. The package distinguishes itself through extensive configuration and customization options. You can control which model attributes are logged, specify which events trigger logging, customize activity descriptions, and modify activity records before they are saved. It supports logging changes to pivot models, trac
Offers pre-built query scopes to filter activity logs by subject model, causing user, or event type for efficient retrieval.
Diese Bibliothek bietet ein Framework zur Definition von Finite State Machines innerhalb von Ruby-Klassen, um komplexe Objekt-Lebenszyklen zu verwalten. Sie fungiert als deklarative Workflow-Engine, die es Entwicklern ermöglicht, Objektzustände, Ereignisse und Übergänge über eine lesbare Domain-Specific Language (DSL) zu modellieren. Durch die direkte Integration in Datenbank-Persistenzschichten stellt das Framework sicher, dass Zustandsänderungen mit den gespeicherten Datensätzen synchronisiert werden, während die Datenintegrität durch Transaktionsmanagement und Row-Locking gewahrt bleibt. Die Bibliothek zeichnet sich dadurch aus, dass sie strikte Geschäftsregeln durch bedingte Transition-Guards erzwingt und direkte Zustandsänderungen verhindert, wodurch sichergestellt wird, dass alle Lebenszyklusänderungen ausschließlich über definierte Ereignisse erfolgen. Sie unterstützt mehrere unabhängige State Machines innerhalb einer Klasse, indem sie diese auf unterschiedliche Datenbankfelder abbildet, was eine isolierte Lebenszyklussteuerung ermöglicht. Zudem generiert sie automatisch dynamische Instanzmethoden für Zustandsabfragen und Ereignisauslöser sowie Datenbank-Query-Scopes, die das Filtern von Objekten basierend auf ihrem aktuellen Status vereinfachen. Über das reine Lebenszyklusmanagement hinaus enthält das Framework Hilfsmittel zur Lokalisierung von Zustandsnamen für mehrsprachige Schnittstellen und bietet Hooks zur Ausführung benutzerdefinierter Logik vor oder nach Übergängen. Es bietet zudem spezialisierte Test-Matcher, um State-Machine-Konfigurationen und Übergangslogik innerhalb automatisierter Test-Suites zu verifizieren. Das Projekt enthält Tools zum Kompilieren von Quellcode und Konfigurationen in strukturierte Dokumentationen zur Systemreferenz.
Automatically generates reusable database query constraints for filtering objects based on their current lifecycle state.
Effector is a reactive state management library and data flow orchestrator designed for building complex, event-driven applications. It models application logic as a directed acyclic graph, where state updates and asynchronous side effects propagate automatically through declarative pipelines. By decoupling business logic from user interface layers, it allows developers to maintain state in independent containers that communicate via standard interfaces, ensuring the system remains framework-agnostic. The library distinguishes itself through its robust support for isolated execution scopes, w
Automatically wraps state hooks to ensure events are executed within the correct context and prevent errors in non-scoped environments.
Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem
Injects scope validation into user interface hooks to ensure state updates occur within the correct execution context.
Goravel ist ein voll ausgestattetes Entwicklungs-Scaffold und Framework für die Erstellung von Webanwendungen, REST-APIs und gRPC-Diensten mit der Programmiersprache Go. Es implementiert eine Model-View-Controller-Architektur und bietet ein umfassendes Toolkit für leistungsstarke RPC-Server und -Clients. Das Framework zeichnet sich durch sein umfangreiches integriertes Ökosystem aus, das einen flüssigen Object-Relational-Mapper (ORM) für die Datenbankverwaltung und ein dediziertes CLI-Toolkit für administrative Automatisierung und Projekt-Scaffolding umfasst. Es verfügt über eine treiberbasierte Dienstabstraktion, die es Entwicklern ermöglicht, Speicher-, Cache- und Session-Backends auszutauschen, ohne die Anwendungslogik zu ändern. Die Plattform deckt ein breites Spektrum an Anwendungsfunktionen ab, darunter asynchrone Aufgabenverarbeitung mit verteilten Queues, sicheres Identitätsmanagement mittels tokenbasierter Authentifizierung sowie eine robuste Sicherheitsschicht mit Verschlüsselung und Zugriffskontrolle. Sie bietet zudem Tools für Content-Lokalisierung, Template-Rendering und eine automatisierte Testinfrastruktur mit Dependency-Mocking.
Allows defining reusable query constraints within models to standardize data filtering across all queries.
ZIO is a functional effect system for the JVM that models asynchronous and concurrent programs as pure, composable values with typed error handling and dependency injection. Its core identity is built on fiber-based concurrency, where lightweight, non-blocking fibers execute millions of concurrent tasks with structured lifecycle management, and a dual-channel error model that separates expected business failures from unexpected system defects at compile time. The system provides effect-typed dependency injection through a layer-based dependency graph, pull-based reactive stream processing with
Executes channels within scopes to ensure finalizers run before channel closure.
dcat-admin ist ein Laravel-Admin-Panel-Framework, das verwendet wird, um datengesteuerte Administrationsschnittstellen schnell zu erstellen. Es fungiert als CRUD-Generator und Backend-Scaffolding-Tool, das automatisch Schnittstellen zum Erstellen, Lesen, Aktualisieren und Löschen basierend auf Datenbanktabellenschemata produziert. Das System zeichnet sich durch eine plugin-basierte Erweiterungsarchitektur und die Möglichkeit aus, mehrere unabhängige administrative Instanzen innerhalb einer einzigen Installation auszuführen. Es bietet spezialisierte Tools für das Mapping externer APIs auf Formulare und Tabellen sowie einen ereignisgesteuerten Formular-Lebenszyklus für die Ausführung benutzerdefinierter Logik während der Auflösung und Übermittlung. Das Framework deckt ein breites Spektrum an Funktionsbereichen ab, einschließlich rollenbasierter Zugriffskontrolle für die Verwaltung hierarchischer Berechtigungen, einer umfassenden Suite von Datenverwaltungs-Grids mit Inline-Bearbeitung und mehrstufigen Formular-Workflows. Es enthält zudem Datenvisualisierungstools für operative Dashboards und eine Vielzahl von Content-Handling-Utilities für stückweise große Datei-Uploads und Rich-Text-Bearbeitung. Kommandozeilen-Utilities werden bereitgestellt, um die Generierung administrativer Komponenten und Action-Klassen zu automatisieren.
Defines common query constraints within model definitions that are exposed as selectable filtering options.
Dieses Projekt ist ein Tool zur Slug-Generierung und -Verwaltung für das Laravel Eloquent ORM. Es bietet einen wiederverwendbaren Trait, der die Fähigkeit hinzufügt, eindeutige, URL-freundliche Strings aus Modellattributen zu erstellen, wodurch Datenbankdatensätze über menschenlesbare Slugs anstelle von Primärschlüsseln abgerufen werden können. Das System unterstützt mehrsprachiges URL-Management, indem es separate lokalisierte Slugs für eine einzelne Modellinstanz verwaltet. Es stellt die Eindeutigkeit durch einen automatischen Mechanismus zur Kollisionsvermeidung sicher, der numerische Suffixe an doppelte Strings anhängt und die Verwendung reservierter Wörter verhindert, die mit System-Routing-Pfaden kollidieren könnten. Das Toolkit umfasst Funktionen für benutzerdefinierte Slug-Generierung durch Engine-Overrides und Formatierungsregeln sowie eine ereignisgesteuerte Pipeline, um den Slugging-Prozess abzufangen oder abzubrechen. Die Datenbankauflösung erfolgt über dedizierte Query-Scopes und Hilfsmethoden zum Abrufen von Modellen basierend auf ihren Slug-Werten.
Wraps database queries in dedicated scopes to retrieve model instances based on slug values.
This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory
Manages the lifecycle of local V8 handles using escapable scopes to prevent memory leaks.
Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating security logic into dedicated policy classes. It provides a structured system for defining access rules that evaluate user actions against specific application resources, ensuring that security logic remains decoupled from the primary application code. The framework distinguishes itself through its ability to handle complex authorization requirements across diverse interfaces, including web controllers and various API formats. It supports dynamic permission evaluation by utilizing a
Uses policy-defined scope classes to automatically filter database queries to records the current user is permitted to see.