Hi, in your project you can implement these following desing patterns: Facade and Builder
The reason for Facade is that you can simplify your login class further you can implement another kinds of logins in the future.
The reason for Builder is that the classes that manipulates the share some methods and you can improve your code by using this pattern and add another classes with his DB implementation easily.
Hi, in your project you can implement these following desing patterns: Facade and Builder The reason for Facade is that you can simplify your login class further you can implement another kinds of logins in the future. The reason for Builder is that the classes that manipulates the share some methods and you can improve your code by using this pattern and add another classes with his DB implementation easily.