Open iklobato opened 2 months ago
@LexLuthorAJ @giulio333 @MyGodItsFull0fStars
The ideas you have proposed, such as the integration of GraphQL and support for asynchronous operations, are certainly exciting and will undoubtedly take LightAPI to the next level.
However, given the complexity and number of tasks to tackle, I believe it would be useful to create some project documentation before starting the development. This could include UML diagrams to better define the interactions between components (e.g., endpoints, authentication, middleware, etc.) and a clear plan outlining the dependencies between the various tasks.
We could create these documents directly in the public documentation, under a dedicated section, to encourage collaboration and ensure that everyone is aligned on the design and technical direction.
What do you think?
Best regards.
You are totally right
Im going to finish this native jwt feature (already have a PR for that) and then my priority will be documenting. Once we have everything ready we can move to the next level
On 20 Sep 2024, at 15:03, giulio333 @.***> wrote:
The ideas you have proposed, such as the integration of GraphQL and support for asynchronous operations, are certainly exciting and will undoubtedly take LightAPI to the next level.
However, given the complexity and number of tasks to tackle, I believe it would be useful to create some project documentation before starting the development. This could include UML diagrams to better define the interactions between components (e.g., endpoints, authentication, middleware, etc.) and a clear plan outlining the dependencies between the various tasks.
We could create these documents directly in the public documentation, under a dedicated section, to encourage collaboration and ensure that everyone is aligned on the design and technical direction.
What do you think?
Best regards.
— Reply to this email directly, view it on GitHub https://github.com/iklobato/LightAPI/issues/13#issuecomment-2364255971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKLDKIH73W6QUAJ2QHNJL3ZXRPPHAVCNFSM6AAAAABOQXJ7SKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGI2TKOJXGE. You are receiving this because you authored the thread.
Action plan 2: perhaps implement via HTMX? See blog: https://www.speakeasy.com/post/python-http-clients-requests-vs-httpx-vs-aiohttp
Action plan 2: perhaps implement via HTMX? See blog: https://www.speakeasy.com/post/python-http-clients-requests-vs-httpx-vs-aiohttp
httpx will be awesome, specially when using pythons context manager
Hi everyone,
I hope this message finds you well!
I’ve been working on what I believe is the future of LightAPI, and I’d like to share my vision with you. The latest code reflects how I imagine LightAPI evolving, and I’m excited to hear your thoughts on it.
Keep in mind that the core idea behind LightAPI is to enable the creation of a single class that natively handles all RESTful behaviors and HTTP methods.
Below is a brief overview of the core changes and improvements that I think will take LightAPI to the next level:
GraphQL Integration
GraphQLEndpoint
class will enable us to build APIs that are more customizable and dynamic. Clients will be able to query exactly what they need, and I see GraphQL playing a key role in making LightAPI more flexible and scalable as we move forward.Asynchronous Programming
Background Task Execution
BackgroundTask
class will make the framework more robust. This will enable long-running processes, like sending notifications or processing large datasets, to be handled in the background without blocking the main thread.File Upload Handling
Authentication Enhancements
Advanced Caching and Pagination
Middleware for Security and Flexibility
To achieve these goals, I've outlined an action plan focusing on the technical development tasks required:
Action Plan
1. GraphQL Integration
GraphQLEndpoint
class to support dynamic and customizable queries.2. Asynchronous Programming
async
/await
.3. Background Task Execution
BackgroundTask
class to manage deferred operations (e.g., sending emails, processing data).4. File Upload Handling
@file_upload
to simplify file handling in endpoints.5. Authentication Enhancements
6. Advanced Caching and Pagination
CustomPaginator
class to handle pagination of large datasets efficiently.7. Middleware Enhancements
This action plan focuses on the technical development tasks necessary to achieve the envisioned features for LightAPI. By systematically addressing each item, we can work towards enhancing the framework's capabilities and aligning it with our future goals.
I’d love to get your feedback on these changes and the action plan. In particular, I’m curious to know what you think about GraphQL and whether you believe it's the right approach for making LightAPI more dynamic and customizable.
Your thoughts and opinions will help shape the future of LightAPI, so please feel free to share your suggestions or concerns.
Looking forward to hearing from you!
Best regards,
Henry