awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Ocramius avatar

Ocramius/ProxyManager

0
View on GitHub↗
4,964 stars·190 forks·PHP·MIT·2 vues

ProxyManager

ProxyManager est une bibliothèque de wrapper de proxy JavaScript et un utilitaire orienté objet pour intercepter et modifier le comportement des objets. Il fonctionne comme un intercepteur de comportement d'objet qui enveloppe les objets cibles pour surveiller, restreindre ou modifier les appels de méthode et l'accès aux propriétés au moment de l'exécution.

La bibliothèque fournit des mécanismes pour l'initialisation paresseuse (lazy initialization) et le chargement paresseux, différant la création d'objets gourmands en ressources jusqu'à ce qu'une propriété ou une méthode soit accédée pour la première fois afin de réduire la surcharge mémoire. Elle utilise une structure orientée objet pour gérer ces wrappers de proxy et leurs objets cibles associés.

L'outil couvre des capacités pour le contrôle d'accès dynamique et l'optimisation de la gestion des ressources. Il permet l'encapsulation d'objets bruts pour implémenter une logique d'exécution personnalisée et un contrôle d'accès centralisé.

Features

  • Object Property Interceptors - Provides a wrapper to intercept and modify object property access and method calls at runtime.
  • Method Interception Proxies - Implements a dynamic proxy system that intercepts method calls to inject custom behavior without altering the original source code.
  • Lazy Initialization - Defers the instantiation of resource-heavy objects until their first access to improve startup performance.
  • Lazy Loading - Implements mechanisms to defer the instantiation of resource-heavy objects until they are first accessed.
  • JavaScript Proxy Libraries - Provides a library for intercepting and modifying object behavior using JavaScript Proxy objects.
  • Proxy Objects - Wraps target objects in proxies to intercept and redefine fundamental runtime operations.
  • Dynamic Behavior Injection - Provides the ability to modify how objects handle method calls and property access at runtime using JavaScript Proxies.
  • Property Interception - Wraps target objects in a proxy to monitor and modify access to properties and method calls.
  • Object Property Deferred Loading - Delays the creation of heavy resources until a specific method or property is requested to save memory.
  • On-Demand Command Loading - Saves memory by delaying the creation of underlying objects until they are explicitly requested by the application.
  • Lifecycle Management - Uses a class-based structure to organize and track the lifecycle of various proxy wrappers and their targets.
  • Management Utilities - Offers an object-oriented structure to manage the lifecycle and organization of various proxy wrappers.
  • Dynamic Object Access Control - Manages and restricts how specific properties or methods of an object are accessed or modified at runtime.
  • Object Access Restrictions - Wraps target objects to monitor, restrict, or modify how specific properties and methods are accessed.
  • Object Wrappers - Encapsulates raw objects within a proxy wrapper to implement access control and custom execution logic.
  • Managed Proxy Layers - Builds object-oriented wrappers to intercept and extend the behavior of instances through a managed proxy layer.
  • Proxy Interfaces - Hides raw objects behind a proxy interface to implement centralized access control and custom execution logic.
  • Resource Initialization Optimization - Reduces system memory overhead by delaying the loading of expensive resources until the exact moment they are required.
  • Database Interaction - Generates proxy objects for data mapping.

Historique des stars

Graphique de l'historique des stars pour ocramius/proxymanagerGraphique de l'historique des stars pour ocramius/proxymanager

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à ProxyManager

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec ProxyManager.
  • mockito/mockitoAvatar de mockito

    mockito/mockito

    15,432Voir sur GitHub↗

    Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls to isolate components during unit tests. It functions as a dynamic proxy generator and bytecode instrumentation tool, allowing for the creation of runtime substitutes that mimic the behavior of real classes. The framework distinguishes itself by providing the ability to mock final classes and methods, bypassing standard language restrictions through bytecode modification. This capability enables the testing of legacy code that lacks interfaces. The toolset covers behavioral mo

    Java
    Voir sur GitHub↗15,432
  • cglib/cglibAvatar de cglib

    cglib/cglib

    4,896Voir sur GitHub↗

    cglib is a suite of tools for JVM bytecode generation, class transformation, and dynamic proxying. It provides a high-level API for creating and transforming Java bytecode at runtime to modify class behavior and a framework for intercepting method calls and field access. The project implements dynamic proxy generation to support aspect oriented programming and custom data access patterns. It also includes a serialization manager to implement serialization contracts by adding specific methods and controlling object replacement within proxy classes. The library covers bytecode manipulation and

    Java
    Voir sur GitHub↗4,896
  • btraceio/btraceAvatar de btraceio

    btraceio/btrace

    5,989Voir sur GitHub↗

    btrace is a JVM dynamic tracing tool and performance profiler used for injecting safe instrumentation scripts into a running Java Virtual Machine without requiring a process restart. It functions as a Java agent framework and a Model Context Protocol server, exposing JVM diagnostic operations and tracing tools to large language models and AI assistants. The project distinguishes itself by enabling real-time code injection and bytecode-level instrumentation via a secure binary protocol. It ensures production stability through a static safety analysis engine that blocks unstable code patterns,

    Javabtracejavajava-application
    Voir sur GitHub↗5,989
  • code4craft/tiny-springAvatar de code4craft

    code4craft/tiny-spring

    4,089Voir sur GitHub↗

    tiny-spring is a Java inversion of control container and aspect-oriented programming framework. It provides a system for managing object lifecycles and dependency injection to decouple application components. The project features a bytecode proxy generator that enables method interception and behavioral modification for classes that do not implement interfaces. It uses pointcut expressions to match specific classes and methods for the execution of cross-cutting logic via dynamic proxies. The framework manages singleton components and resolves object dependencies using lazy initialization. Ap

    Java
    Voir sur GitHub↗4,089
Voir les 30 alternatives à ProxyManager→

Questions fréquentes

Que fait ocramius/proxymanager ?

ProxyManager est une bibliothèque de wrapper de proxy JavaScript et un utilitaire orienté objet pour intercepter et modifier le comportement des objets. Il fonctionne comme un intercepteur de comportement d'objet qui enveloppe les objets cibles pour surveiller, restreindre ou modifier les appels de méthode et l'accès aux propriétés au moment de l'exécution.

Quelles sont les fonctionnalités principales de ocramius/proxymanager ?

Les fonctionnalités principales de ocramius/proxymanager sont : Object Property Interceptors, Method Interception Proxies, Lazy Initialization, Lazy Loading, JavaScript Proxy Libraries, Proxy Objects, Dynamic Behavior Injection, Property Interception.

Quelles sont les alternatives open-source à ocramius/proxymanager ?

Les alternatives open-source à ocramius/proxymanager incluent : mockito/mockito — Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls… cglib/cglib — cglib is a suite of tools for JVM bytecode generation, class transformation, and dynamic proxying. It provides a… fuzhengwei/small-spring — Small-Spring is a simplified Java implementation of the Spring framework designed to study the internal architecture… code4craft/tiny-spring — tiny-spring is a Java inversion of control container and aspect-oriented programming framework. It provides a system… btraceio/btrace — btrace is a JVM dynamic tracing tool and performance profiler used for injecting safe instrumentation scripts into a… derekyrc/mini-spring — mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle…