Innovative ASGI Framework EndoCore: A New Approach to Routing
A developer has introduced EndoCore, an ASGI framework that fundamentally redefines traditional routing mechanisms. Instead of conventional routing tables, the framework interprets the folder structure as the API, a design choice claimed to resolve the common issue of route-code divergence.
Key Features and Architecture
EndoCore, which began as a pet project and has now reached version 1.0, incorporates several innovative solutions:
- File-system based routing: The directory tree directly defines the API structure, streamlining management and versioning. API versioning is simplified to copying the relevant folder.
- Integrated secure ORM: The framework features its own ORM, designed with enhanced security in mind.
- Testing and security: The project underwent an adversarial security audit, identifying and mitigating vulnerabilities such as pickle RCE and CSWSH. It is backed by 2329 tests.
- Performance: Racing tests conducted under real concurrency conditions demonstrate the solution’s efficiency.
- Native async support: Offers native asynchronous operation with PostgreSQL.
Further details regarding EndoCore are available through the project’s official channels.
While the concept of file-system based routing in EndoCore is certainly novel for streamlining API structures, I do wonder about its scalability and potential for complexity in very large applications. Managing deeply nested folders could become cumbersome, and it might obscure the overall API landscape compared to a more centralized routing configuration. The integrated ORM and security audit are reassuring, but I’d be curious to see how it handles edge cases in real-world, high-traffic scenarios. It’s an interesting approach, but I’d need to see more about its practical maintenance for complex systems.