A suggestion (not obligatory) for FIS-GUI Claz HomeController. #252
pwgit-create
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Extracting some of the functionalities into separate classes would help make the
HomeControllerclass more modular and maintainable. Let's identify which parts could be moved out:
1. Scan Handling:
ScanManageror similar class.2. Polling for Live Feed Updates:
LiveFeedManageror similar class.3. UI Updates:
ViewManageror similar class.4. File Operations:
FileManageror similar class.Updated
HomeController:With these new classes, your
HomeControllerclass would look much cleaner and more modular.By breaking down the
HomeControllerinto smaller, more focused classes, each class has a single responsibility,which makes the code easier to maintain and extend.
Beta Was this translation helpful? Give feedback.
All reactions