19 Repos
Mechanisms for sharing state or data between different processing layers in a request-response cycle.
Distinct from Namespace Sharing: Distinct from general namespace sharing or reactive data sharing; specifically refers to request-scoped state sharing in middleware.
Explore 19 awesome GitHub repositories matching software engineering & architecture · Context Sharing. Refine with filters or upvote what's useful.
Koa is a lightweight web framework for Node.js designed for building HTTP applications and servers. It functions as an asynchronous middleware engine that processes network requests through a sequence of functions sharing a common context. The framework distinguishes itself by using an onion-model middleware stack and promise-based flow control. This architecture allows requests to flow downstream and responses to flow back upstream through the same chain, enabling non-blocking request cycles and a modular approach to handling network traffic. The system provides high-level capabilities for
Provides a shared context object to pass data between different middleware functions and views.
This project is a cross-platform UI toolkit and universal UI framework providing a collection of pre-styled interface components for building mobile and web applications. It functions as a mobile design system and themed component library, allowing developers to maintain a cohesive visual language across different screens and devices using a shared codebase. The toolkit centers on a themed component architecture that supports global and component-level style configurations. This enables the definition of colors and property defaults in a central location to ensure consistent branding and a un
Utilizes a provider to inject global theme and state contexts across the entire component tree.
This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro
Implements request-scoped state sharing to pass data between different middleware pipeline stages.
page.js is a client-side JavaScript router for single-page applications that maps URL patterns to executable functions. It functions as a navigation engine and browser history manager, implementing a middleware-based path-mapping system similar to the Express web framework. The library distinguishes itself through an Express-style router model, utilizing a middleware callback chain and a shared context object to pass data between navigation handlers. It supports advanced window management, allowing for multiple router instances to handle navigation independently across different windows or em
Utilizes a shared context object to pass data and state between different navigation middleware handlers.
Ripple is a full-stack TypeScript web framework and reactive UI library used for building interfaces with server-side rendering. It organizes user interfaces into a hierarchy of reusable, scoped components with built-in state management and client-side hydration. The framework is distinguished by its fine-grained reactivity, which updates specific DOM elements without requiring full component re-renders. It integrates server-side logic and client-side components within a single TypeScript codebase, enabling a unified full-stack development workflow. The system covers a broad range of capabil
Enables the use of shared contexts to distribute data globally throughout the component tree.
CodeCompanion is a Neovim plugin that brings large language model capabilities directly into the editor, enabling turn-based conversations with AI models in a dedicated chat buffer. It provides a comprehensive interface for interacting with LLMs, supporting multiple providers through a flexible adapter system that can route requests to various hosted or local language model services. The plugin distinguishes itself through its extensive context-sharing capabilities, allowing users to send buffer contents, visual selections, git diffs, LSP diagnostics, terminal output, quickfix lists, and view
Sends file contents, buffer diffs, or other data to the LLM as context, with options to sync updates on each turn.
Juniper ist eine GraphQL-Serverbibliothek und Schema-Engine für Rust. Sie bietet ein Toolkit für den Aufbau typsicherer APIs durch das Mapping nativer Rust-Datenstrukturen auf GraphQL-Objekte, -Inputs und -Skalare. Das Projekt fungiert als Ausführungs-Engine, die Abfragen und Mutationen entweder über einen Netzwerkserver oder als Headless-Engine für die lokale Ausführung verarbeiten kann. Die Bibliothek ist laufzeitagnostisch, was es ermöglicht, die GraphQL-Verarbeitung mit verschiedenen asynchronen Rust-Web-Frameworks zu verbinden. Sie enthält ein Subscription-Framework, das persistente WebSocket-Verbindungen verwaltet, um Echtzeit-Daten-Updates an Clients zu pushen. Die Engine deckt ein breites Funktionsspektrum ab, einschließlich Schema-Sprachexport, Shared-State-Kontextverwaltung für Dependency Injection und einen Code-First-Ansatz zur Definition von Resolvern. Sie unterstützt zudem die Integration spezialisierter Datentypen wie Dezimalzahlen und Zeitstempel, um manuelle Datenkonvertierungen zu vermeiden.
Injects a shared context object into field resolvers to provide access to databases and external services.
Hono ist ein minimales JavaScript-HTTP-Framework, das für den Aufbau von Webservern über mehrere Runtimes hinweg entwickelt wurde, einschließlich Node.js, Edge-Runtimes und Serverless-Plattformen. Es fungiert als Cross-Runtime-Webserver und Web-Standard-API-Wrapper, der verschiedene Runtime-Request- und Response-Objekte in Standard-Web-API-Signaturen normalisiert. Das Projekt dient als HTTP-Middleware-Orchestrator und Request-Handler, der eine Middleware-basierte Request-Pipeline und hierarchisches Routen-Mounting nutzt, um modulare Serverstrukturen zu erstellen. Es zeichnet sich durch einen Runtime-agnostischen Event-Wrapper aus, der konsistentes Verhalten unabhängig von der Bereitstellungsumgebung gewährleistet. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich HTTP-Request-Routing mit dynamischer Parametererfassung, Echtzeit-WebSocket-Kommunikation und umfassenden Sicherheitsmaßnahmen wie CORS-Management und Basic-Authentifizierung. Zudem bietet es Hilfsmittel für das Sitzungsmanagement via Cookies, statisches Asset-Serving und Traffic-Management durch Request-Proxying und URL-Weiterleitung. Das Projekt ist in TypeScript implementiert.
Stores and retrieves arbitrary metadata to pass information between different event handlers.
rspec-rails ist ein Test-Framework, das RSpec mit Ruby on Rails integriert, um Tools für Behavior-Driven Development (BDD) bereitzustellen. Es dient als Suite zur Definition von Anwendungsverhalten durch eine konversationelle Syntax und bietet ein spezialisiertes Toolkit zur Erstellung von Verhaltensspezifikationen für Modelle, Controller und Views. Das Projekt zeichnet sich durch automatisierte Testgenerierung aus und bietet ein CLI zur Erstellung von Boilerplate-Spezifikationsdateien für Rails-Komponenten wie Modelle, Controller und Hintergrund-Jobs. Es differenziert sich zudem durch eine umfassende Mocking- und Stubbing-Bibliothek sowie eine Web-App-Integrationssuite, die darauf ausgelegt ist, vollständige Request-Zyklen und Browser-Interaktionen zu simulieren. Das Framework deckt ein breites Spektrum an Integrationstests ab, einschließlich der Überprüfung von Routen-Mappings, der Validierung von Mailer-Inhalten und der Ausführung von Hintergrund-Jobs. Es bietet eine Vielzahl von Test-Assertions zur Validierung von Objektzuständen, HTTP-Response-Status und Datenbankabfrageergebnissen sowie Tools zur Verwaltung von Test-Doubles mittels Spies und Stubs. Das System enthält ein CLI-Executable für die Testausführung und einen persistenten Konfigurationsspeicher zur Standardisierung von Einstellungen über Umgebungen hinweg.
Provides reusable blocks of setup and configuration shared across multiple test examples via metadata tags.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Shares state across application parts by injecting objects into handlers via a centralized context repository.
AgentLaboratory is a multi-agent research system that automates the entire scientific experimentation process, from literature review through experiment execution to report generation, using a sequence of specialized AI agents. The system orchestrates a team of language-model-driven agents—a literature reviewer, experimental planner, executor, and report writer—to autonomously complete an end-to-end research workflow. The system distinguishes itself by saving progress at every checkpoint, enabling seamless recovery and continuation after interruptions or failures. Agents build on each other's
Passes outputs and growing context from agent to agent, allowing later stages to incorporate prior findings.
Codeception is a full-stack testing framework for PHP applications that provides a unified interface for unit, functional, and acceptance testing. It serves as a tool for automating real desktop and mobile browsers via the WebDriver protocol and acts as a client for testing REST and SOAP APIs. The framework is distinguished by its support for Behavior-Driven Development, allowing users to write human-readable test specifications in Gherkin language to align technical tests with business requirements. It implements actor-based action mapping to connect these natural language steps to executabl
Provides the ability to specify classes that act as execution contexts for BDD step definitions.
Aerosolve ist ein Machine-Learning-Framework für das Training und Deployment interpretierbarer Modelle. Es dient als Tool für Feature Engineering und Modelltraining, das auf Sparse-Feature-Modellierung setzt, um das Debugging von Gewichten zu vereinfachen und die Dateniteration zu beschleunigen. Das System enthält eine domänenspezifische Transformationssprache, um Rohdaten in modellfertige Repräsentationen zu überführen. Zudem bietet es Funktionen zur visuellen Inhaltsanalyse, indem Bilder in dichte, hochdimensionale Vektorräume abgebildet werden, um Daten nach Stil oder Inhalt zu ordnen und zu klassifizieren. Das Framework ermöglicht ein menschenzentriertes Training, bei dem Vorwissen und spezifische Gewichte direkt in den Lernprozess einfließen können. Für das Deployment nutzt es eine minimale Inference-Runtime für leichtgewichtige Vorhersagen sowie einen Shared-Context-Scoring-Mechanismus zur Verarbeitung mehrerer Elemente in einem einzigen Vorgang.
Reduces data redundancy during inference by processing a single context against multiple items in one operation.
Testcontainers for .NET ist eine Docker-Testbibliothek und ein Integrationstest-Framework, das für die Verwaltung des Lebenszyklus von kurzlebigen Containern entwickelt wurde. Es bietet High-Level-Abstraktionen als Docker-API-Wrapper zur Bereitstellung ephemerer Infrastruktur und ersetzt Mocks durch echte Datenbank-, Messaging- und Suchmaschineninstanzen, um isolierte und reproduzierbare Testumgebungen zu gewährleisten. Das Projekt zeichnet sich durch ein Builder-Konfigurations-Container-Muster und einen dynamischen Port-Binding-Mechanismus aus, der Kollisionen während der gleichzeitigen Testausführung verhindert. Es ermöglicht zuverlässige Service-zu-Service-Kommunikation via virtueller Netzwerk-Orchestrierung und Netzwerk-Aliasing und stellt die Serviceverfügbarkeit durch Polling-basierte Bereitschaftsprüfungen für HTTP-Endpunkte und TCP-Ports sicher. Die Bibliothek bietet spezialisierte Module für relationale, NoSQL- und Vektor-Datenbanken sowie Messaging-Broker und Cloud-Service-Emulatoren. Ihr Funktionsumfang erstreckt sich auf Container-Image-Konfiguration, Log-Sammlung und die Simulation von Netzwerkbedingungen zur Überprüfung der Systemresilienz. Sie unterstützt die Konnektivität zu lokalen und Remote-Docker-Runtimes durch standardisierte Umgebungsvariablen und Konfigurationsdateien.
Maintains a single container instance for multiple test classes to reduce startup overhead.
apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It transforms GraphQL operations into generated Swift models, ensuring that network responses are validated at compile time to eliminate manual mapping. The library features a normalized cache manager that stores entities in a flat structure to maintain data consistency across different application views. It also optimizes network performance using hash-based persisted queries to reduce payload sizes and supports real-time data streaming via WebSockets or HTTP subscriptions. The p
Implements mechanisms for sharing state and data across type hierarchies using named contexts.
Behat ist ein Framework für verhaltensgesteuerte Entwicklung (BDD) und ein Testautomatisierungstool für PHP. Es fungiert als Gherkin-Test-Runner, der natürlichsprachliche Feature-Dateien auf ausführbare PHP-Methoden abbildet, um zu überprüfen, ob die Softwareimplementierung den Geschäftsanforderungen entspricht. Das Framework ermöglicht die Definition des Anwendungsverhaltens unter Verwendung eines strukturierten, menschenlesbaren Formats basierend auf User Stories und unterstützt lokalisierte Schlüsselwörter für nicht-englischsprachige Stakeholder. Es zeichnet sich durch eine treiberbasierte Browser-Simulationsschicht für die Überprüfung der Benutzeroberfläche und spezialisierte Integrationen für den Symfony-Kernel und Drupal-Workflows aus. Das Toolset deckt ein breites Spektrum an Funktionen ab, einschließlich automatisierter Regressionstests, Webbrowser-Automatisierung und komplexer Datenhandhabung durch Tabellentransformationen. Es bietet eine Befehlszeilenschnittstelle für die Testausführung, Lebenszyklus-Hooks für Setup und Teardown sowie ein Plugin-System zur Erweiterung der Kernfunktionalität mit Tools von Drittanbietern. Die Ausführungsergebnisse sind in mehreren Formaten verfügbar, darunter menschenlesbarer Text, JSON und JUnit XML.
Uses specialized context classes to isolate and organize step definitions for behavioral tests.
Tapable is a JavaScript plugin architecture framework and event-driven hook library. It serves as a high-performance callback engine and asynchronous workflow coordinator for building extensible systems. The library differentiates itself by compiling plugin logic into cached functions to minimize dispatch overhead. It provides a variety of execution patterns, including serial, parallel, and waterfall flows, as well as looping sequences and short-circuit execution. The framework covers the definition of custom event hooks, the management of plugin execution ordering, and the interception of h
Provides a shared context object that allows decoupled plugins to read and write shared data during execution.
Susy is a responsive grid framework and layout calculation engine for Sass. It provides a toolkit for building fluid or static column structures and gutter spacing directly within stylesheets, automating layout mathematics during the compilation phase to produce precise CSS properties. The system distinguishes itself through a layout calculation engine that translates human-readable shorthand syntax into structured data for mathematical functions. It also includes a grid visualization tool that generates inline SVG background overlays to programmatically verify and debug grid alignment. The
Provides globally accessible state contexts for grid settings across the layout component tree.
Verilator is a hardware simulation engine and toolchain that translates Verilog and SystemVerilog hardware description languages into optimized C++ or SystemC models. It functions as a compiler and transpiler, converting hardware designs into executable binaries to achieve high-speed simulation and integration into software environments. The project distinguishes itself by focusing on simulation acceleration through the generation of optimized C++ classes and cycle-accurate models. It provides a SystemVerilog linter for static analysis of hardware designs and a hardware coverage analyzer to t
Provides a shared simulation context structure to coordinate settings and interfaces across multiple model instances.