-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The codebase needs some simplification #138
Comments
To replace the image resizing, the ImageFlow project looks like it could be really good. It allows us to dynamically resize images from request to request instead of having to do it all up front. e.g. instead of accessing |
ImageFlow actually seems like it is a bit over-complicated for this purpose. Also the fact that it is .NET-based and requires you to write a .NET project for the image server is not ideal... I think I will stick with our current image processing but I will try to separate the image generation code from the rest of the compilation. |
…based on the programming languages of each component
As well as the re-organisation in f5a00f, it might be good to split up |
The work for this has been summed up by #167. |
In the goal of adding more and more content to the website, and improving its functionality and speed, I made a custom
compile.py
script to generate image resources. This started out simple enough, but it has turned into an over-complicated mess.The compilation script currently performs all of the following:
This has turned the compile script into a 700-line, poorly organised mess. Ironically, it has turned into this in the effort of simplifying other areas of the website!
Therefore, this really needs to be improved, and I need to look into other tools that are available to take over these tasks. That way this script can be simplified once more to be easily understandable at a glance by anyone trying to understand what is going on.
Additionally, it would mean we can get rid of or at least simplify the
compilation.json
file greatly, as it too has become a terrifying mess. If anyone has any ideas for tools that we could use instead of our custom roll-your-own solutions, that would be great!The text was updated successfully, but these errors were encountered: