開始時間 11:03,結束時間 10:48,用時 45 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 和其餘基礎設施問題也是如此。翻譯