一般来说,您会借由在管理快取资料的商务物件中,建立处理常式以实作回呼。
Typically, you implement the callback by creating a handler in a business object that manages the cache data.
这些商务物件会在展示层和资料层之间构成一个层级,形成三层式应用程序架构。
These business objects form a layer between the presentation layer and the data tier, resulting in a three-tier application architecture.
然而,常见的应用程序设计是将展示层与商务逻辑分开,并且将商务逻辑封装在商务物件中。
However, a common application design practice is to separate the presentation layer from business logic and encapsulate the business logic in business objects.
应用推荐