It is my true belief that Singletonpatterns have been used with far too little thought in most frameworks.
我坚信,在大多数的框架中,使用单例模式时,考虑得都太少了。
2
The framework we'll create is a simple 3-tier framework that processes business logic using three patterns: the 3-layer architecture pattern, the Singleton pattern, and the Command pattern.