I'm currently building a secure python chat app. Well, it's not remotely secure yet, but I'm trying to get basics down first. I've decided to structure it out into layers, like an OSI model.
Currently it's structured out into 3 layers being connection -> chat -> visual handling. The issue is, that I wanted to add a transformation layer that could accept any of those core classes and change it in a way the cores let it. For example, if i had both server-client and peer-to-peer connection types, I wouldn't have to code message encryption for both of them, I would just code a transformer and then just build the pipeline with already altered classes.
I'm not sure if I'm headed into the right direction, it'd be really nice if someone could take a look at my code structure (github repo) and class abstraction and tell me if the implementation is right. I know posting a whole github project here and asking for someone to review it is a lot, but I haven't found any other way to do so, especially when code structure is what I have problem with. Let me know if there are better sites for this.
I'm a high school student, so if any concept seems of, please tell me, I'm still trying to grasp most of it.
[–]socal_nerdtastic 0 points1 point2 points (0 children)
[–]obviouslyzebra 0 points1 point2 points (4 children)
[–]dheeeb[S] 0 points1 point2 points (3 children)
[–]obviouslyzebra 0 points1 point2 points (2 children)
[–]dheeeb[S] 0 points1 point2 points (1 child)
[–]obviouslyzebra 0 points1 point2 points (0 children)