Skip to content
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

Dividing Application Logic into Folder Structure #46

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JacobK233811
Copy link
Owner

Store global variable definitions in config.py and stateless helper functions in utils.py

Address the full-scope of dynamic website handling in dynamic.py alongside the database update (editing latest.txt) which naturally follows

Move shared mutable datatypes into a config file

Provide helpers with minimal interactions and heavy-use an isolated environment to import from
Transported basic Rate function into utils

Expanded file structure for further modularity
- Add required keywords for global variables
- Reorganize into standard and business custom modules
- Keep config as the cross-file mutable variable storage location
Isolates the finisher and update_latest functions with their distinct dynamic website handling purpose

Introduces a dest_VAR methodology for QtWebEngine to access otherwise impossible data values

TODO: Verify smooth runtime

TODO: Alter checker logic to pass more arguments and accept updated output
Place WebPage class within finisher function scope to access dynamic_mangas variable

Provide finisher function calls with additional arguments to maintain knowledge about current program state

Stop short of re-assigning current or dynamic_indexes because of their end of computation ordering and independent changes to the data text files
@JacobK233811 JacobK233811 added the best practice A change which does not affect the user but makes the code more understandable to developers label Jan 23, 2024
@JacobK233811 JacobK233811 self-assigned this Jan 23, 2024
@JacobK233811 JacobK233811 linked an issue Jan 23, 2024 that may be closed by this pull request
@JacobK233811 JacobK233811 marked this pull request as draft January 23, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
best practice A change which does not affect the user but makes the code more understandable to developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split Up checker.py
1 participant