简体   繁体   English

春季或春季靴子

[英]Spring or Spring boot

As part of a new web application project, I'm planning to learn Spring. 作为新的Web应用程序项目的一部分,我打算学习Spring。 I started to read through the Spring framework reference. 我开始阅读Spring框架参考。 While I was googling, I came across Spring boot. 当我在Google上搜索时,我遇到了Spring启动。 What I understood is that spring boot helps to build application much faster than spring by reducing configuration. 我所理解的是,弹簧启动通过减少配置有助于比弹簧更快地构建应用程序。 Now I'm little confused whether should I continue learning spring or jump to spring boot. 现在我有点困惑,我是否应该继续学习弹簧或跳到弹簧靴。 My intention is to understand how spring works as a framework rather than a few features. 我的目的是了解spring如何作为框架而不是一些功能。 So please let me know, as a beginner what should I do? 所以请让我知道,作为初学者,我该怎么办? First, learn Spring and then spring boot or vice-versa. 首先,学习Spring然后学习Spring,反之亦然。

Update 更新

Ok, I know it's a while since I asked this question. 好的,我知道自从我提出这个问题以来已经有一段时间了。 I kind of have an answer (personal one) 我有一个答案(个人)

I started with Spring Boot and so far built one Spring Boot REST application. 我从Spring Boot开始,到目前为止构建了一个Spring Boot REST应用程序。 Yes, as others said, Spring Boot, helps you to get started quickly and being new to some language/technology, I would love to see a working module ASAP. 是的,正如其他人所说,Spring Boot,帮助您快速入门并成为某种语言/技术的新手,我很乐意尽快看到工作模块。 So Spring boot helps you with that. 所以Spring引导可以帮助你。 Later depending on your interest, you can start exploring in-depth how Spring boot does that magic. 之后根据您的兴趣,您可以开始深入探索Spring启动如何实现这种魔力。

So, in summary, go with Spring Boot and then deep dive to understand the underlying concept. 因此,总而言之,请使用Spring Boot,然后深入了解基础概念。 Again this is my opinion. 这是我的意见。

Thanks, everyone for your inputs/suggestions. 谢谢大家的意见和建议。

If you want to develop web applications especially micro-services, I will recommend that you should learn Spring Boot first. 如果您想开发Web应用程序,尤其是微服务,我建议您首先学习Spring Boot。

  • The first reason is that there are many resources and examples on web, so you can easily find what you need. 第一个原因是网上有很多资源和示例,因此您可以轻松找到所需内容。
  • The second reason is that Spring Framework (including Spring Boot) is suitable for PaaS environment especially Pivotal. 第二个原因是Spring Framework(包括Spring Boot)适用于PaaS环境,尤其是Pivotal。 Therefore you can rapidly deploy your applications without too much effort. 因此,您可以快速部署应用程序而无需太多精力。

First of all, learn how Spring applications work. 首先,了解Spring应用程序的工作原理。

Spring applications are based on the Object Relation Model. Spring应用程序基于对象关系模型。 You need to understand the annotations and why we use them. 您需要了解注释以及我们使用它们的原因。 Then you have to learn how Spring MVC works. 然后你必须学习Spring MVC的工作原理。 Up to here, both Spring and Spring Boot are similar. 到目前为止,Spring和Spring Boot都很相似。 Basically, Spring Boot is made so that a Spring-based application can be made very easily. 基本上,Spring Boot的制作使得基于Spring的应用程序非常容易。 Spring Boot is very good framework for the Web and other. Spring Boot是Web和其他的非常好的框架。

After learning the above things, then you can jump easily onto Spring Boot. 在了解了上述内容之后,您可以轻松跳转到Spring Boot。 However, if you jump directly to Spring Boot you will see there are many such things which are not described in the Spring Boot tutorials, since many of them expect that you have some prior knowledge of Spring. 但是,如果你直接跳转到Spring Boot,你会发现有很多这样的东西没有在Spring Boot教程中描述,因为他们中的许多人都希望你对Spring有一些先验知识。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM