它们是应用程序中用于全局对象的一种常见模式,如数据库连接和配置设置。
They are a common pattern used for global objects in an application, such as database connections and configuration Settings.
一个单个soma请求只能包含这两种类型请求的其中之一,但是每一个请求类型都可以设置或修改多个配置对象。
A single SOMA request can contain only one of these two request types, but each can set or modify multiple configuration objects.
我们对配置对象BASE_URL属性的设置如下所示。
We set a configuration object BASE_URL attribute as shown below.
应用推荐