start
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa | ||
| start [2026/07/31 04:22] – adminmsicca | start [2026/07/31 04:26] (actual) – adminmsicca | ||
|---|---|---|---|
| Línea 1: | Línea 1: | ||
| - | # BASIS core | + | # BASIS |
| - | This project, **BASIS | + | This project, **BASIS**, is a modular, multi-tenant enterprise platform built with PHP. It implements a robust PSR-7/ |
| Based on the provided UML sequence diagram and codebase, here is a structured introduction to the project: | Based on the provided UML sequence diagram and codebase, here is a structured introduction to the project: | ||
| - | ### 1. HTTP Request Pipeline & Middleware Stack | + | ## 1. HTTP Request Pipeline & Middleware Stack |
| The application uses a layered middleware pipeline to process requests securely before they reach the business logic: | The application uses a layered middleware pipeline to process requests securely before they reach the business logic: | ||
| * | * | ||
| Línea 13: | Línea 13: | ||
| * | * | ||
| - | ### 2. Advanced Authentication & Security Flow | + | ## 2. Advanced Authentication & Security Flow |
| The platform implements a sophisticated, | The platform implements a sophisticated, | ||
| * | * | ||
| Línea 20: | Línea 20: | ||
| * | * | ||
| - | ### 3. Modern Frontend Integration (Hotwire Turbo) | + | ## 3. Modern Frontend Integration (Hotwire Turbo) |
| Instead of building a heavy SPA, the project uses **Hotwire Turbo** for a fast, modern UX: | Instead of building a heavy SPA, the project uses **Hotwire Turbo** for a fast, modern UX: | ||
| * The `TurboStreamDetector` intercepts responses from the `App Controller`. | * The `TurboStreamDetector` intercepts responses from the `App Controller`. | ||
| Línea 26: | Línea 26: | ||
| * This allows seamless, SPA-like navigation without writing custom JavaScript, while keeping the server as the source of truth. | * This allows seamless, SPA-like navigation without writing custom JavaScript, while keeping the server as the source of truth. | ||
| - | ### 4. Modular & Multi-Tenant Architecture | + | ## 4. Modular & Multi-Tenant Architecture |
| The project is structured as a monorepo containing distinct " | The project is structured as a monorepo containing distinct " | ||
| * | * | ||
| Línea 32: | Línea 32: | ||
| * | * | ||
| - | # **BASIS Core Project | + | # BASIS Core Overview |
| BASIS Core is a modular framework and identity kernel for the BASIS ecosystem (which includes applications like Operand, Nexus, Vector, Codex, and Axis). It serves as a central authentication and modular platform for enterprise applications. | BASIS Core is a modular framework and identity kernel for the BASIS ecosystem (which includes applications like Operand, Nexus, Vector, Codex, and Axis). It serves as a central authentication and modular platform for enterprise applications. | ||
| - | # **Key Modules and Their Functions** | + | # Key Modules and Their Functions |
| - | ## **1. Core Modules (in `/core/` directory)** | + | ## 1. Core Modules (in `/core/` directory) |
| - **Agents**: Likely handles agent-based operations or services | - **Agents**: Likely handles agent-based operations or services | ||
| - **Auth**: Central authentication system implementing JWT, refresh token rotation, and session management | - **Auth**: Central authentication system implementing JWT, refresh token rotation, and session management | ||
| Línea 49: | Línea 49: | ||
| - **View**: View rendering and templating system | - **View**: View rendering and templating system | ||
| - | ## **2. Application Modules (in `/modules/` directory)** | + | ## 2. Application Modules (in `/modules/` directory) |
| - **audit (sys-audit)**: | - **audit (sys-audit)**: | ||
| - **catalog-master**: | - **catalog-master**: | ||
| Línea 66: | Línea 66: | ||
| - **scheduler (sys-scheduler)**: | - **scheduler (sys-scheduler)**: | ||
| - | ## **3. Vertical Applications (in `/apps/` directory)** | + | ## 3. Vertical Applications (in `/apps/` directory) |
| - **axis**: Specific application (possibly for analytics or BI) | - **axis**: Specific application (possibly for analytics or BI) | ||
| - **codex**: Documentation or knowledge management application | - **codex**: Documentation or knowledge management application | ||
| Línea 74: | Línea 74: | ||
| - **vector**: Data or application vector system | - **vector**: Data or application vector system | ||
| - | ## **4. Shared Components (in `/shared/` directory)** | + | ## 4. Shared Components (in `/shared/` directory) |
| - **components**: | - **components**: | ||
| - **layouts**: | - **layouts**: | ||
| Línea 81: | Línea 81: | ||
| # **Code Organization** | # **Code Organization** | ||
| - | ## **1. Directory Structure** | + | ## 1. Directory Structure |
| The project follows a clear hierarchical structure: | The project follows a clear hierarchical structure: | ||
| - **Root Level**: Configuration files, documentation, | - **Root Level**: Configuration files, documentation, | ||
| Línea 92: | Línea 92: | ||
| - **tests/**: Unit, integration, | - **tests/**: Unit, integration, | ||
| - | ## **2. Configuration System** | + | ## 2. Configuration System |
| - Central configuration in `/config/` with files for: | - Central configuration in `/config/` with files for: | ||
| - Application settings (`app.php`) | - Application settings (`app.php`) | ||
| Línea 100: | Línea 100: | ||
| - UI configuration (`theme.php`, | - UI configuration (`theme.php`, | ||
| - | ## **3. Module System** | + | ## 3. Module System |
| - Each module has a `manifest.json` defining metadata, dependencies, | - Each module has a `manifest.json` defining metadata, dependencies, | ||
| - Modules can be enabled/ | - Modules can be enabled/ | ||
| - Modular architecture allows for selective feature implementation | - Modular architecture allows for selective feature implementation | ||
| - | ## **4. Authentication System** | + | ## 4. Authentication System |
| - JWT-based authentication with refresh token rotation | - JWT-based authentication with refresh token rotation | ||
| - OIDC (OpenID Connect) support endpoints | - OIDC (OpenID Connect) support endpoints | ||
| Línea 111: | Línea 111: | ||
| - Role-based access control (RBAC) with attribute-based access control (ABAC) elements | - Role-based access control (RBAC) with attribute-based access control (ABAC) elements | ||
| - | ## **5. Security Features** | + | ## 5. Security Features |
| - CSRF protection | - CSRF protection | ||
| - Session management | - Session management | ||
| Línea 117: | Línea 117: | ||
| - Modular branding theming system | - Modular branding theming system | ||
| - | ## **6. API Design** | + | ## 6. API Design |
| - RESTful API with versioned endpoints (`/ | - RESTful API with versioned endpoints (`/ | ||
| - Clear separation between public and private endpoints | - Clear separation between public and private endpoints | ||
| - Contract-based API design defined in `CORE_CONTRACT.md` | - Contract-based API design defined in `CORE_CONTRACT.md` | ||
| - | ## **7. Frontend Components** | + | ## 7. Frontend Components |
| - Uses Tailwind CSS for styling | - Uses Tailwind CSS for styling | ||
| - Modular UI components with semantic color aliases | - Modular UI components with semantic color aliases | ||
| - Turbo integration for enhanced user experience | - Turbo integration for enhanced user experience | ||
| - | # **Technology Stack** | + | # Technology Stack |
| - **PHP 8.1+** as the main programming language | - **PHP 8.1+** as the main programming language | ||
| - **PostgreSQL** for database management | - **PostgreSQL** for database management | ||
| Línea 136: | Línea 136: | ||
| - **WebAuthn** for passwordless authentication | - **WebAuthn** for passwordless authentication | ||
| - | # **Integration Points** | + | # Integration Points |
| - Event-driven architecture with hooks for user provisioning, | - Event-driven architecture with hooks for user provisioning, | ||
| - Modular menu system that can be extended by modules | - Modular menu system that can be extended by modules | ||
| - Multi-tenant architecture with tenant-specific data isolation | - Multi-tenant architecture with tenant-specific data isolation | ||
| - | # **Notable Features** | + | # Notable Features |
| 1. **Modular Branding**: CSS variables and semantic aliases for consistent theming | 1. **Modular Branding**: CSS variables and semantic aliases for consistent theming | ||
| 2. **Dynamic Menu System**: Menu injection through manifests | 2. **Dynamic Menu System**: Menu injection through manifests | ||
start.1785471751.txt.gz · Última modificación: por adminmsicca
