According to the singleton design patterns, google mentioned , we can use singleton design pattern for login function. what is the reason of that ? because in singleton which can only create one instance but people can login to the system simultaneously more than one.
Aucun commentaire:
Enregistrer un commentaire