13 مستودعات
Objects that wrap other objects to intercept and redefine fundamental runtime operations.
Distinct from Method Interception Proxies: Candidates focus on AOP method interception or API proxies rather than the JS Proxy primitive.
Explore 13 awesome GitHub repositories matching programming languages & runtimes · Proxy Objects. Refine with filters or upvote what's useful.
This project is a comprehensive reference guide and technical documentation for the features, syntax updates, and APIs introduced in ECMAScript 6. It serves as a language specification and overview for modern JavaScript development. The guide covers a wide range of language enhancements, including the implementation of classes and prototype-based inheritance, the use of arrow functions for lexical scope binding, and the introduction of block-scoped variables. It details the module system for organizing independent code components via import and export statements. The documentation extends to
Documents the use of proxies to trap and customize runtime-level meta-operations.
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
Generates runtime proxy objects that intercept and redefine method operations to mimic real classes.
q is a JavaScript promise library and asynchronous flow controller designed to manage non-blocking operations. It serves as a system for coordinating parallel tasks and sequencing asynchronous workflows through task chaining and error propagation. The library distinguishes itself with specialized debugging tools that capture long stack traces across asynchronous jumps and monitor unhandled rejections to prevent silent failures. It also functions as a remote object proxy, forwarding method calls to remote targets and routing responses back through promises. The project provides comprehensive
Allows asynchronous manipulation of proxied object properties and methods using promise-based getters and setters.
Comlink is a remote procedure call library that transforms message-based communication into asynchronous function calls between the main thread and web workers. It provides a proxy-based interface that allows multiple threads to interact with a single object instance without manual message handling. The project enables the execution of functions across separate browser windows, iframes, and web workers, making external calls behave like local asynchronous operations. It supports the transfer of non-cloneable data through custom serialization handlers and allows for the movement of ownership f
Manages memory by explicitly detaching proxies from remote objects to trigger garbage collection.
Android Tech Frontier is a project that periodically translates high-quality English Android development articles into Chinese for the developer community. Its core identity is as a translation pipeline that covers topics including Android internals, open-source libraries, software architecture, and testing methodologies. The project distinguishes itself by providing Chinese translations of technical content that spans Android view hierarchy analysis, HTTP request execution patterns, proxy creation techniques, and image loading configuration. It also covers UI layout solutions such as nesting
Wraps a real object inside a proxy that adds extra behavior before or after method calls.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Implements proxy objects that wrap target objects to intercept and redefine operations like property access.
Draper هو إطار عمل لطبقة العرض ومكتبة تزيين (Decorator) لـ Ruby on Rails، يطبق نمط واجهة العرض-النموذج (View-Model). يعمل كنظام قائم على الوكيل (Proxy) لفصل منطق العرض عن نماذج الأعمال، مما يسمح بعزل تحويلات البيانات الخاصة بالعرض عن البيانات الأساسية. يوفر إطار العمل قدرات متخصصة لإدارة كيفية عرض البيانات، بما في ذلك القدرة على تغليف كائنات مفردة أو مجموعات كاملة. كما يدعم التزيين المتكرر للنماذج المرتبطة وحقن سياق العرض وحالة الطلب في أدوات التزيين للسماح بالعرض المشروط. تشمل الوظائف الإضافية تفويض الأساليب وأدوات البحث على مستوى الفئة إلى النموذج المغلف، والتكامل مع مساعدي العرض لتنسيق البيانات، واستخدام معرفات عالمية للحفاظ على حالة التزيين أثناء تسلسل مهام الخلفية. كما يتم توفير أداة سطر أوامر لإنشاء ملفات التزيين.
Uses a proxy-based system to intercept and extend the behavior of model objects for presentation.
ProxyManager is a JavaScript proxy wrapper library and object-oriented utility for intercepting and modifying object behavior. It functions as an object behavior interceptor that wraps target objects to monitor, restrict, or modify method calls and property access at runtime. The library provides mechanisms for lazy initialization and lazy loading, deferring the creation of resource-heavy objects until a property or method is first accessed to reduce memory overhead. It uses an object-oriented structure to manage these proxy wrappers and their associated target objects. The tool covers capab
Wraps target objects in proxies to intercept and redefine fundamental runtime operations.
Radash هي مكتبة أدوات وظيفية لـ TypeScript مصممة لتحويل البيانات، والتحقق من الصحة، وإدارة سير العمل. توفر مجموعة من دوال المساعدة المكتوبة بأنواع لمعالجة المصفوفات، والكائنات، والسلاسل. يتميز المشروع بمجموعة أدوات سير عمل غير متزامنة لإدارة الوعود، وإعادة المحاولات، وحدود التزامن، إلى جانب مجموعة من أدوات التحقق المنطقية للتحقق من الأنواع البدائية، والكائنات، والوعود. كما يطبق أنماط البرمجة الوظيفية مثل تكوين الدوال، والتطبيق الجزئي، وأنماط الاستجابة الأولى للخطأ. تغطي المكتبة مساحة واسعة من القدرات، بما في ذلك إدارة حالة الكائن مع الاستنساخ والدمج العميق، ومعالجات المصفوفات المعقدة، وتنسيق السلاسل. توفر بالإضافة إلى ذلك أدوات لتحسين التنفيذ، مثل تحديد المعدل وتخزين النتائج مؤقتاً.
Simplifies the creation of proxy objects to intercept and redefine property access and function calls.
Workerize هو محمل وحدة عامل ويب (Web Worker) ومفرغ للخيط الرئيسي. يعمل كغلاف وكيل غير متزامن يسمح لوحدات JavaScript بالعمل في عمال الخلفية، مما يمنع تجمد واجهة مستخدم المتصفح عن طريق تفويض المهام المكثفة حسابياً إلى خيوط منفصلة. يستخدم المشروع واجهة قائمة على الوكيل لاستدعاء الوظائف داخل عامل الخلفية كما لو كانت مكالمات غير متزامنة محلية. تمكن هذه الآلية من تنفيذ الوحدات في عمال متوازيين للحفاظ على استجابة الخيط الرئيسي. يغطي النظام تنفيذ الوحدات غير المتزامنة وتكامل عامل الويب، مع التركيز على تحسين الخيط الرئيسي عن طريق نقل المنطق الثقيل خارج خيط التنفيذ الأساسي.
Provides a proxy-based interface that allows worker functions to be called as if they were local asynchronous calls.
This project is an ECMAScript 2015 reference guide and JavaScript language cheat sheet. It provides a concise summary of the language specifications, syntax updates, and new features introduced in the 2015 standard. The guide serves as a technical overview of modern language patterns used to manage modular code structures and asynchronous operations. It functions as a reference for implementing current coding standards and studying core updates to the language. The content covers a wide range of capabilities, including asynchronous programming, object modeling, and module management. It deta
Provides a reference for using Proxy objects to intercept and redefine object operations.
هذا المشروع عبارة عن مستودع تعليمي ومورد دراسي يوفر مجموعة شاملة من ملاحظات الدراسة، وأدلة البرمجة، وأمثلة كود قابلة للتشغيل. يعمل كدليل لتطوير Java SE وتطوير ويب Java، ويتميز بمكتبة من عينات الكود التي توضح الخوارزميات الشائعة والتنفيذات التقنية. يركز المستودع على تحليل لغة Java ووقت التشغيل، مع دروس تفصيلية حول تعدد الخيوط (multithreading) والتزامن. يوفر تنفيذات عملية لهندسة البرمجيات وأنماط التصميم، مثل نمط Singleton ونمط Strategy، بالإضافة إلى استكشافات لـ Java Virtual Machine و bytecode. يغطي المشروع مجموعة واسعة من القدرات بما في ذلك أساسيات اللغة مثل generics و annotations، وأساسيات تطوير الويب التي تتضمن معالجة طلبات HTTP وإدارة الجلسات، وبدائيات التزامن لدورة حياة الخيوط ومزامنة الموارد. كما يتضمن أدوات للأمان، ومعالجة البيانات، وتوليد الصفحات الديناميكية.
Provides proxy objects that wrap target objects to intercept and redefine runtime operations for preprocessing or filtering.
vm2 هو بيئة رملية (sandbox) لـ JavaScript في Node.js ومحاكي وقت تشغيل مصمم لتنفيذ كود غير موثوق. يعمل كمقيم كود آمن وعازل للوحدات يحمي عملية المضيف من خلال إنشاء بيئة تنفيذ معزولة ذات وصول مقيد إلى وقت تشغيل Node.js. يتميز النظام بإطار عمل أمني يستخدم وكالة الكائنات (object proxying) والتجميد العميق لمنع النصوص البرمجية في البيئة الرملية من تعديل سياق المضيف العام أو الكائنات المشتركة. ينفذ النظام تحكماً صارماً في الوصول إلى الوحدات باستخدام قوائم السماح وقيود المسار للتحكم في التبعيات المدمجة أو الخارجية التي يمكن تحميلها. يغطي المشروع مجالات قدرة واسعة بما في ذلك إدارة الموارد، حيث يحدد تخصيص الذاكرة للمخازن المؤقتة ويفرض مهلات تنفيذ لمنع هجمات حجب الخدمة. كما يوفر قيوداً على الوصول إلى نظام الملفات وأدوات للتشغيل البيني عبر البيئات الرملية وإعادة توجيه مخرجات وحدة التحكم. تتوفر واجهة سطر أوامر لتنفيذ ملفات JavaScript مباشرة داخل بيئة الرمل المعزولة.
Wraps host objects in proxies to intercept property access and prevent unauthorized mutations or leaks.