转载

Why Spring ???

本文是一次 spring 官网的 why spring 翻译记录(末尾有正经的彩蛋),试图培养一下阅读官方文档的习惯。

不知这个场景你是否熟悉?

你丢了一个问题到 xx技术交流群:请问大佬......怎么解决?

某大佬高冷的丢出两个字:看官方文档。

此刻,除了感受到社会的”冷漠“,你有没有思考过这样一个问题。

你一般通过什么途径来学习的?通过视频,博客?

你学的东西,原本的样子是什么?有没有看过官方对它的解读?万一别人的解读是错误的怎么办?

我一度没有读官网文档的习惯(一般都以英文读不懂为接口),感觉是时候学习一下了。

最近打算重新了解一下这个又爱又恨的 Spring ,从简单的来,先看一下官网。

在官网首页注意到了 why spring 栏目,行,就它了。

整个过程借助翻译工具翻译,并记录下来,混个脸熟,毕竟以后有更多的文档要阅读呢。

于是就有了本篇,希望这是个人学习的一个新起点,期待一些习惯的养成。

本文仅献给使用 Spring 很久了,却没看过 Spring 官方资料的你(当然看过的大佬们也欢迎。。。)

进入正题,看官网怎么说 Spring。

Why Spring ???

行文按照 why spring 内容从上到下,一段原文,一段翻译进行。

Why Spring?

为什么是 Spring 呢?(这句看似简单的发问透出了 Spring 无数的骄傲呀)

Spring makes programming Java quicker, easier, and safer for everybody. Spring’s focus on speed, simplicity, and productivity has made it the world's most popular Java framework.

Spring 使每个人都可以更快、更简单、更安全地进行 Java 编程。 Spring 对速度,简单性和生产力的关注使其成为世界上最受欢迎的 Java 框架。

-- SEAN GRAHAM, APPLICATION TRANSFORMATION LEAD, DICK’S SPORTING GOODS
“我们使用了 Spring 框架随附的许多工具,并获得了许多现成的解决方案的好处,而不必担心编写大量额外的代码-这样确实为我们节省了一些时间和能量。”
--某某大佬

Spring is everywhere

Spring 无处不在(先套近乎)

Spring’s flexible libraries are trusted by developers all over the world. Spring delivers delightful experiences to millions of end-users every day—whether that’s streaming TV , connected cars , online shopping , or countless other innovative solutions. Spring also has contributions from all the big names in tech, including Alibaba, Amazon, Google, Microsoft, and more.

Spring 灵活的库受到全世界开发人员的信任。Spring 每天都为数以百万计的终端用户提供令人愉快的体验,无论是流媒体电视、联网汽车、在线购物,还是其他无数的创新解决方案。包括阿里巴巴、亚马逊、谷歌、微软等在内的科技巨头也为 Spring 做出了贡献。

Spring is flexible

Spring 是灵活的(胖子 )

Spring’s flexible and comprehensive set of extensions and third-party libraries let developers build almost any application imaginable. At its core, Spring Framework’s Inversion of Control (IoC) and Dependency Injection (DI) features provide the foundation for a wide-ranging set of features and functionality. Whether you’re building secure, reactive, cloud-based microservices for the web, or complex streaming data flows for the enterprise, Spring has the tools to help.

Spring 灵活而全面的扩展集和第三方库让开发人员可以构建几乎所有可以想象到的应用程序。在其核心,Spring 框架的控制反转(IoC)和依赖注入(DI)特性为广泛的特性和功能集提供了基础。无论您是在构建安全的、反应式的、基于云的微服务 web 应用,还是为企业构建复杂的流数据流,Spring 都有工具帮得上忙。

Spring is productive

Spring 就是生产力的象征!(多吊)

Spring Boot transforms how you approach Java programming tasks, radically streamlining your experience. Spring Boot combines necessities such as an application context and an auto-configured, embedded web server to make microservice development a cinch. To go even faster, you can combine Spring Boot with Spring Cloud’s rich set of supporting libraries, servers, patterns, and templates, to safely deploy entire microservices-based architectures into the cloud , in record time.

Spring Boot 改变了您处理 Java 编程任务的方式,从根本上简化了您的体验。Spring Boot 将应用程序上下文和自动配置的嵌入式 web 服务器等必需品组合在一起,从而使微服务开发变得轻松。为了更快,您可以将 Spring Boot 与 Spring Cloud 的丰富的支持库、服务、模式和模板组合在一起,以在极短的时间内安全地将整个基于微服务的架构部署到云中。

Spring is fast

Spring 就是快

Our engineers care deeply about performance. With Spring, you’ll notice fast startup, fast shutdown, and optimized execution, by default. Increasingly, Spring projects also support the reactive (nonblocking) programming model for even greater efficiency. Developer productivity is Spring’s superpower. Spring Boot helps developers build applications with ease and with far less toil than other competing paradigms. Embedded web servers, auto-configuration, and “fat jars” help you get started quickly, and innovations like LiveReload in Spring DevTools mean developers can iterate faster than ever before. You can even start a new Spring project in seconds, with the Spring Initializr at start.spring.io .

我们的工程师非常关注性能。使用 Spring,默认情况下,您会注意到快速启动、快速关闭和优化的执行。其实渐渐的,Spring 项目也越来越支持响应式(非阻塞)编程模型,以获得更高的效率。开发人员的生产力是 Spring 的超级能力。Spring Boot 帮助开发人员轻松地构建应用程序,而且比其他同类竞品更简单。嵌入式 web 服务器、自动配置和 fat jars 特性可以帮助您快速入门,Spring DevTools 中的 LiveReload 等创新意味着开发人员可以以前所未有的速度迭代开发。

Spring is secure

Spring 是安全的

Spring has a proven track record of dealing with security issues quickly and responsibly. The Spring committers work with security professionals to patch and test any reported vulnerabilities. Third-party dependencies are also monitored closely, and regular updates are issued to help keep your data and applications as safe as possible. In addition, Spring Security makes it easier for you to integrate with industry-standard security schemes and deliver trustworthy solutions that are secure by default.

Spring 在快速、负责地处理安全问题方面有良好的记录。Spring 的 committers 与安全专业人员一起对任何报告的漏洞进行补丁和测试。第三方依赖也被密切关注,并定期发布更新,以帮助您的数据和应用程序尽可能安全。此外,Spring Security 使您更容易与行业标准的安全方案集成,并默认提供安全可靠的解决方案。

Spring is supportive

Spring 是有支撑的(包你学习过程不孤单,头大的不止你一个 :grin: )

The Spring community is enormous, global, diverse, and spans folks of all ages and capabilities, from complete beginners to seasoned pros. No matter where you are on your journey, you can find the support and resources you need to get you to the next level: quickstarts , guides & tutorials , videos , meetups , support , or even formal training and certification .

Spring 社区是巨大的、全球性的、多样化的,涵盖了各个年龄和能力级别的人,从小白初学者到经验丰富的专业人士。无论你处在其中哪个阶段,你都可以找到你需要的支持和资源,让你进入下一个层次:快速入门,指南和教程,视频,聚会,支持,甚至正式的培训和认证。

What can Spring do?

Spring 能干啥呢?

  • Microservices

    Quickly deliver production‑grade features with independently evolvable microservices.

    通过可独立开发的微服务快速交付生产级功能。

  • Reactive

    Spring's asynchronous, nonblocking architecture means you can get more from your computing resources.

    Spring 的异步,非阻塞架构意味着您可以从计算资源中获得更多收益。

  • Cloud
    Your code, any cloud—we’ve got you covered. Connect and scale your services, whatever your platform.

    您的代码,任何云-我们已为您覆盖。无论您使用什么平台,都可以连接并扩展您的服务( 牛逼哄哄 )。

  • Web Applications

    Frameworks for fast, secure, and responsive web applications connected to any data store.

    连接到任何数据存储的快速,安全和响应式Web应用程序的框架。

  • Serverless

    The ultimate flexibility. Scale up on demand and scale to zero when there’s no demand.

    极致的灵活性。按需扩展并在没有需求时扩展为零。

  • Event Driven

    Integrate with your enterprise. React to business events. Act on your streaming data in realtime.

    与您的企业集成。对业务事件做出反应。实时处理您的流数据。

  • Batch

    Automated tasks. Offline processing of data at a time to suit you.

    自动化任务。一次适合您的离线数据处理。

不正经的彩蛋

Why Spring ???

在 why spring 官方页面的右上角注意到了这么一张图片,可以看到 Spring 周围链接了各种线,寓意着 Spring 的勃勃野心,当然人家也做到了,确实在服务(侵入)到了各个领域。

不,这不是我要的彩蛋!

注意到没?图片里又是飞机,又是汽车的,这不就是我们业界经常吐槽的写照嘛:

面试造飞机,工作拧螺丝 ???

Spring 你够了!!!:triumph:

完结,撒花。

祝你学习 Spring 的过程,愉快而有趣(骗谁呢又)!

下回再见!

原文  https://segmentfault.com/a/1190000023023447
正文到此结束
Loading...