20 repositorios
Mechanisms for executing custom logic during specific phases of an application's startup or mounting process.
Distinguishing note: Specifically targets application-level mounting events rather than general request handling.
Explore 20 awesome GitHub repositories matching web development · Application Lifecycle Hooks. Refine with filters or upvote what's useful.
Vue es un framework de JavaScript progresivo basado en componentes diseñado para construir interfaces de usuario reactivas y aplicaciones de una sola página. Se centra en un sistema de plantillas declarativo que transforma HTML en funciones de renderizado eficientes, permitiendo a los desarrolladores organizar interfaces complejas en unidades aisladas y reutilizables que se sincronizan automáticamente con el estado de la aplicación. El framework se distingue por un sistema de reactividad de seguimiento de dependencias que monitorea el acceso a los datos durante el renderizado para activar actualizaciones precisas. Proporciona una arquitectura flexible que admite tanto la adopción incremental como una biblioteca ligera como el desarrollo de aplicaciones a gran escala. Los desarrolladores pueden aprovechar un modelo de extensibilidad basado en plugins robusto para inyectar lógica global, mientras que la reconciliación del DOM virtual del framework asegura actualizaciones de interfaz eficientes calculando mutaciones mínimas. Más allá de sus capacidades de renderizado principales, el proyecto incluye un conjunto completo de herramientas para gestionar el estado de la aplicación, enrutamiento basado en URL y renderizado del lado del servidor. Ofrece un amplio soporte para la composición de componentes, distribución de contenido y gestión de animaciones, junto con medidas de seguridad integradas como el escape automático de contenido para prevenir vulnerabilidades comunes. El framework se distribuye con declaraciones de tipo oficiales para admitir el análisis estático y puede instalarse a través de gestores de paquetes estándar o integrarse directamente en entornos de navegador a través de etiquetas de script.
Executes custom code at specific stages of an element's existence, such as when it is bound or updated.
Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing. The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, feat
The framework triggers custom logic after a sub-application attaches to a parent instance, enabling cross-application configuration or path inspection during startup.
Dash is a Python-based framework for building analytical web applications and reactive data dashboards. It allows developers to connect data science and machine learning code to interactive web interfaces without writing JavaScript, serving as a backend-driven tool for defining layouts and managing state. The framework integrates the Plotly charting engine to render a wide variety of complex charts and financial graphs. It distinguishes itself through a reactive callback system that links user input components to data visualizations, enabling the creation of business intelligence dashboards a
Allows injecting layouts, callbacks, and routes into the application during startup via external entry points.
Livewire is a full-stack framework for PHP that enables the development of reactive, dynamic user interfaces using server-side classes and templates. By bridging the gap between server-side logic and client-side DOM updates, it allows developers to build interactive web applications without writing custom JavaScript. The framework operates as a component-based library, where modular units encapsulate interface logic, state, and event handling directly on the server. The framework distinguishes itself through a reactive architecture that automatically synchronizes state between the browser and
Subscribes to internal events to execute custom logic during specific phases of the application lifecycle.
Theia is a modular framework designed for building professional-grade development environments that function as both local desktop applications and remote browser-based services. It provides a comprehensive toolkit for constructing specialized coding tools, allowing developers to assemble custom interfaces and backend logic through a flexible, contribution-based architecture. The platform distinguishes itself through a highly extensible workbench that supports the integration of existing third-party editor plugins and standard language servers. By utilizing a dependency injection container an
Executes custom logic during application startup, shutdown, and layout initialization phases.
Wagtail is an open-source content management system built on the Django web framework. It provides a structured, tree-based approach to content modeling, allowing developers to define custom page types and reusable content components that are managed through a highly customizable administrative interface. The platform distinguishes itself through its flexible, block-based content composition system, which enables editors to assemble complex page layouts dynamically. It also offers robust support for multi-site and multi-lingual environments, allowing organizations to manage distinct websites
Executes custom logic before or after core content operations like creation, editing, and publication.
This project is a development framework that enables the creation of cross-platform mobile mini programs using the component-based architecture and reactive data binding of Vue.js. It functions as a build system that transforms web-oriented component code into native-compatible templates and logic, allowing developers to build modular user interfaces that run within restricted mobile environments. The framework distinguishes itself through a sophisticated build pipeline that deconstructs single-file components into platform-specific templates, logic, and style files. It employs compile-time t
Aligns component lifecycles with native platform events to handle initialization and rendering effectively.
Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s
Encapsulates request processing logic into modular, plugin-based lifecycle hooks.
Qiankun is a micro-frontend orchestration framework designed to compose multiple independent web applications into a single, unified interface. It functions as a JavaScript library that manages the lifecycle of autonomous applications, allowing them to coexist within a shared browser environment while maintaining their independence. The framework enables cross-framework integration, allowing developers to combine applications built with different technologies into one cohesive system. It provides a runtime sandbox that isolates global variables and prevents style conflicts between application
Establishes standard entry points for mounting, unmounting, and updating sub-applications.
Grav is a flat-file content management system that eliminates the need for a traditional database by storing site content and configuration in human-readable Markdown and YAML files. Built as a modular PHP web framework, it uses a hierarchical page routing system where the physical directory structure directly determines the site's URL paths. The platform is distinguished by its event-driven plugin architecture and a command-line interface that prioritizes system administration, deployment, and maintenance tasks. It utilizes a blueprint-driven system to generate administrative forms from stru
Execute custom logic at specific stages of the application request cycle, from initialization and page processing to output rendering and shutdown.
Starlette is an asynchronous web framework and toolkit for building high-performance web services based on the ASGI specification. It serves as a lightweight foundation for creating web applications with a focus on asynchronous request and response handling. The framework provides specialized toolkits for managing persistent bidirectional WebSocket communication and an asynchronous HTTP server toolkit for routing and middleware. It distinguishes itself by offering a non-blocking background task queue that executes functions after a response has been sent to the client. The project covers a b
Triggers custom logic during the startup and shutdown phases of the application process.
Snabbdom is a virtual DOM library and DOM diffing engine used to create and update user interfaces by synchronizing a virtual tree with the browser. It functions as a modular UI framework that provides a system for generating virtual nodes and transforming them into actual browser elements. The project features a modular architecture that separates core rendering logic from optional components. It includes a dedicated SVG rendering engine for managing scalable vector graphics within a virtualized document object model. The library covers a broad range of capabilities, including lifecycle hoo
Executes custom callback functions during the creation, insertion, update, and removal of virtual nodes.
Gunicorn is a production-grade WSGI HTTP server designed for deploying Python web applications. It functions as a process manager that utilizes a pre-fork worker model, where a master process initializes the application and spawns multiple child processes to handle incoming requests in parallel. This architecture ensures high performance and stability by isolating application execution within persistent worker processes. The server distinguishes itself through its flexible concurrency models and robust process lifecycle management. It supports interchangeable worker types, including synchrono
Executes custom logic during server startup and shutdown phases to manage application resources.
oclif is a Node.js framework for building command-line interfaces. It provides a structured system for developing terminal applications with consistent command patterns, argument parsing, and automated help generation. The project features a modular plugin architecture that allows for external functionality to be injected via a manifest-based loading mechanism. It includes a dedicated distribution pipeline and packager to bundle applications into OS-native installers and tarballs for Windows, macOS, and Linux. The framework covers a broad range of development capabilities, including project
Executes custom logic during application startup or via custom triggers to share functionality.
This is a framework for building desktop applications that reside in the system tray using Electron. It functions as a system tray integration library and window manager, providing the necessary components to handle native tray icons, tooltips, and the associated window lifecycles for menubar applications. The framework coordinates native system tray interactions with web-based user interfaces. It maps application commands to the operating system's native menu system and orchestrates the visibility and positioning of child windows relative to tray icon click events. The project covers native
Provides hooks to execute custom logic during application stages like window creation and visibility changes.
This project is a technical breakdown and implementation of a user interface framework's internal architecture, focusing specifically on the mechanics of the virtual DOM, reconciliation, and component lifecycles. It serves as a resource for understanding how a core logic layer manages the transition from high-level component descriptions to physical browser elements. The project distinguishes itself by providing detailed visualizations, including flowcharts and block schemes, to map the reconciliation process and code execution paths. It explores how a platform-agnostic core can be adapted fo
Analyzes the sequence of hooks during the initial mount and render trigger process.
Esta es una extensión de Webpack utilizada para extraer CSS de archivos JavaScript en hojas de estilo independientes para compilaciones de producción. Funciona como un empaquetador de CSS y optimizador de activos que separa los estilos de los paquetes de scripts para permitir la carga paralela y prevenir destellos de contenido sin estilo (FOUC). El proyecto proporciona utilidades para generar exportaciones de módulos de JavaScript que mapean definiciones de estilo locales a componentes de la aplicación. También implementa la gestión dinámica de temas cargando condicionalmente diferentes variantes de CSS a través de consultas de recursos y admite el almacenamiento en caché del navegador a largo plazo mediante el uso de nombres de archivo con hash de contenido. Las áreas de capacidad cubren la optimización del rendimiento frontend mediante la obtención asíncrona de estilos bajo demanda y optimizaciones de renderizado del lado del servidor, incluyendo la inserción de estilos en línea y la prevención de etiquetas duplicadas. La herramienta también admite un flujo de trabajo de desarrollo con recarga de módulos en caliente para actualizaciones de estilo instantáneas. El plugin se integra en la tubería de construcción de Webpack y proporciona opciones de configuración para patrones de nombres de archivo de salida y hooks de ciclo de vida para personalizar la generación de etiquetas de enlace de estilo.
Provides lifecycle hooks to customize how style link tags are created and inserted into the final HTML.
Este proyecto es un plugin de reactividad que lleva la Composition API y la gestión de estado reactivo de Vue 3 a aplicaciones Vue 2. Funciona como un organizador de lógica de componentes y un sistema para encapsular estado reactivo y funciones en utilidades reutilizables. El plugin permite el uso de funciones composables para compartir lógica con estado entre componentes sin depender de mixins. Proporciona una estructura basada en variables y funciones simples para facilitar la inferencia automática de tipos y el autocompletado en el editor. Además, incluye un sistema de inyección de dependencias basado en proveedores para compartir datos y funciones a través de un árbol de componentes. El sistema cubre la gestión de estado reactivo, propiedades computadas y watchers, junto con la capacidad de engancharse a los ciclos de vida de los componentes. Permite la integración de librerías de terceros con estado en el sistema de reactividad nativo y admite la precarga de datos en el servidor. El proyecto está escrito en TypeScript.
Implements mechanisms to execute custom logic during specific phases of a component's mounting and unmounting process.
Viewers is a zero-footprint DICOMweb medical imaging viewer and a modular plugin framework. It serves as a diagnostic interface for rendering 2D and 3D medical images, providing a web-based clinical workflow engine to automate image layouts and toolsets. The project distinguishes itself through a highly extensible architecture that allows for the development of custom clinical workflows, specialized viewing modes, and the integration of external functional extensions. It includes a dedicated command line interface for managing these plugins and supports white-labeling through a comprehensive
Executes custom logic during specific viewer events, such as when a user enters or exits a mode.
DSBridge-Android is a communication framework and JavaScript bridge for Android that enables bidirectional function calls and data exchange between native Android code and web views. It serves as an integration tool for hybrid applications, providing a system to orchestrate synchronous and asynchronous messaging between the native mobile environment and web-based interfaces. The project distinguishes itself through a namespace-based method dispatching system that uses dot-notation to organize functions into hierarchical groups, preventing naming conflicts. It also includes a cross-layer debug
Intercepts standard browser events like window closure and dialog triggers to execute custom native application logic.