You can perform this kind of integrity checking in other ways, but SimpleXML offers a quick and easy programmatic method.
您可以用其他方式执行这种完整性检查,但是SimpleXML提供一种快速且容易的编程序方法。
The declarative method offers ease of use, while the programmatic method provides finer levels of security control with respect to resource authentication and authorization.
声明方法提供易用性,编程方法为资源的身份验证和授权提供更好的安全控制级别。
Notice that this annotation is at the class level (not the method level), indicating that you clearly cannot combine the Declarative and Programmatic transaction models in the same class.
注意,这个注释是类级的(而不是方法级的),这表示您不能在相同的类中结合 Declarative 和 Programmatic 事务模型。
应用推荐