开始时间 10:53,结束时间 11:04,用时 9 mins。java
When you learn about a framework, it’s important to know not only what it does but what principles it follows. Here are the guiding principles of the Spring Framework:app
Provide choice at every level. Spring lets you defer design decisions as late as possible. For example, you can switch persistence providers through configuration without changing your code. The same is true for many other infrastructure concerns and integration with third-party APIs.框架
Accommodate diverse perspectives. Spring embraces flexibility and is not opinionated about how things should be done. It supports a wide range of application needs with different perspectives.ide
Maintain strong backward compatibility. Spring’s evolution has been carefully managed to force few breaking changes between versions. Spring supports a carefully chosen range of JDK versions and third-party libraries to facilitate maintenance of applications and libraries that depend on Spring.学习
Care about API design. The Spring team puts a lot of thought and time into making APIs that are intuitive and that hold up across many versions and many years.flex
Set high standards for code quality. The Spring Framework puts a strong emphasis on meaningful, current, and accurate javadoc. It is one of very few projects that can claim clean code structure with no circular dependencies between packages.ui
当你学习一门框架的时候,重要的不单单是学会使用,更是这个框架所遵循的原则。下面是 Spring 框架遵循的指导原则: -你提供每一个级别选择,Spring 容许你尽量晚的决定设计方案。好比,你能够经过配置选择持久化框架而不是改变代码。集成第三方 API 和其余基础设施问题也是如此。翻译