Improving Code Structure and Encapsulation in the API #2011
Replies: 6 comments 21 replies
-
Before moving to the way for solutions, I would like to take part with all our API contributors in this discussion to share their experiences and observations to understand the issues they faced or facing. Then we can come up with the perfect solution for it. @palisadoes Can you please take a look at this? We have to make our API Slack members to participate here to get a deeper understanding of their experiences |
Beta Was this translation helpful? Give feedback.
-
@varshith257 Thank you for creating this discussion. I feel that implementing new features adhering to the principle of “separation of concerns”, by encapsulating and abstracting them behind an interface, would greatly enhance the structure of our code base, improving maintainability as well as make it less overwhelming for new contributors. Let’s see the insight from others. |
Beta Was this translation helpful? Give feedback.
-
Important In this thread, you can share your experiences and observations about the difficulties faced in the API codebase |
Beta Was this translation helpful? Give feedback.
-
Thread on the point:
Our priority should be to clarify that our main objective is not to create alternatives to mainstream social media platforms like Instagram, Facebook, or Snapchat. Instead, we aim to develop a superior application tailored for small, non-profit organizations in countries such as Jamaica. In these regions, we cannot assume that individuals are proficient in technology or have access to basic tech resources. Our goal is to empower small community groups to enhance their technological literacy and undertake fundamental tasks such as managing memberships. We must refrain from creating elaborate products with features like real-time media that would incur significant hosting costs. Many communities lack the resources and technical expertise necessary to host such technologies. Therefore, our focus should be on crafting a user-friendly platform that minimizes costs for organizers and is accessible to a wide range of users. |
Beta Was this translation helpful? Give feedback.
-
#1997 (comment) I am also of the opinion that GridFS is not optimal for storing multimedia content in the long run as it has numerous security related vulnerabilities, we can discuss about the idea over here in this discussion thread. |
Beta Was this translation helpful? Give feedback.
-
The goal is to have a solution that allows API installation on a single server that can support all its features without using external cloud providers using configuration defaults. This must be the priority as it makes installation simple. If cloud providers are used, they must be optional and only require the credentials of the parent organization running the app, and not The Palisadoes Foundation. The Talawa community must not be expected to fund the cloud services used by others. Having a fully non cloud solution that works now with an easy migration path to cloud support in future years is preferred to having cloud support now. Our priority must be simple features and configuration that work |
Beta Was this translation helpful? Give feedback.
-
Description:
In recent observations regarding the interdependency of features and the difficulty in maintaining and modifying the codebase, this discussion has initiated to be focused on improving the overall structure and encapsulation of our API code. By addressing these concerns, we aim to enhance the maintainability, scalability, and ease of development of our project.
Reference #1997 (comment)
@palisadoes Here's the discussion, @xoldyckk @Anubhav-2003
Note
Please make sure to not to create many threads in this discussion it's very hard to track
Beta Was this translation helpful? Give feedback.
All reactions