An access control mechanism is given for the protection of the resource module in the object oriented programming systems.
给出了一种用于保护面向对象编程系统的资源模块的访问控制机制。
Spring brings a lot to the table beyond simple MVC capabilities, such as middle-tier access, transaction management, aspect-oriented programming (AOP), dependency injection, and so on.
除了简单的MVC功能之外,Spring带来很多其他功能,比如中间层访问、事务管理、面向方面的编程(AOP),依赖项注入等等。
It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.
通常根据面向对象语言的实践,在公共接口中使用Getters和Setters是有道理的,但在一个字段经常被访问的类中宜采用直接访问。
We’ll discuss this more in the section called “When Accessor Methods and Fields Are Indistinguishable: The Uniform Access Principle” in Chapter 6, Advanced Object-Oriented Programming In Scala.
我们会在《第6章 -Scala高级面向对象编程》的“当方法和字段存取器无法区分时:唯一存取的原则”章节来更多的讨论这一点。
We’ll discuss this more in the section called “When Accessor Methods and Fields Are Indistinguishable: The Uniform Access Principle” in Chapter 6, Advanced Object-Oriented Programming In Scala.
我们会在《第6章 -Scala高级面向对象编程》的“当方法和字段存取器无法区分时:唯一存取的原则”章节来更多的讨论这一点。
应用推荐