r/FullStack • u/is2s • 22d ago
Personal Project Tips for working on full stack applications
Currently I'm working on a relatively large scale full stack application, but I am having a few problems, and I was wondering if any of you here have any tips to remedy them, the first of them is that due to the projects relatively vast complexity compared to my previous projects, I often forget how the architecture actually works or what pieces of it are actually supposed to complete what function, which is a massive pain, especially considering how much the architecture has changed from the original ideas that guided it, how do you guys manage this? Right now honestly I think I might be better off rethinking the entire architecture and building it from scratch because it's just ended up confusing me more, at the end of the day I don't have to rewrite every line of code anyway.
Furthermore, another problem I'm having is in UI, I have no idea how to make it look professional, I mostly code in python, and the entire front end is in python, but honestly I'm kinda dubious of pythons rendering libraries, the one I'm currently using being pygame, they just don't feel like something that would be included in a professional project, would it be wise to code my own renderer and window manager in cpp? It won't be overly complex either way, but that does feel like it's going overboard a little. Another issue I'm having with UI is actually how to present it, being a programmer I obviously love scalability but that being said I have no idea how to apply that to UI, right now I just have the creation of UI objects arranged in the AppStates program which's purpose should be kind of self explanatory, but I really really dislike this approach, not only does it essentially mean lone functions represent entire AppStates which feels like it's missing a layer of abstraction, and it's messy and not scalable, like I even have lambdas in there to pass the entered content of text fields to other parts💔💔 I've considering building a UIEngine script which would wrap all this in a neat package and then maybe making a proprietary filetype that would include all the data of the UIElements to be written to the screen which would essentially allow me to store AppStates as files, but I don't know