为Web项目学习Spring MVC [英] Learning Spring MVC For web-projects

查看:98
本文介绍了为Web项目学习Spring MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经简短地看了几遍Spring MVC,并获得了基本思想.但是,每当我仔细观察时,似乎都要求您已经了解核心Spring"的全部内容.例如,我拥有的这本书在进入Spring MVC之前有几百页的内容了……这似乎需要花很多时间.我习惯了跳入,但是有很多与bean相关的东西和XML,看起来就像是要消耗大量数据.

I have looked at Spring MVC a few times briefly, and got the basic ideas. However whenever I look closely it seems to require you already know a whole load of 'core Spring'. The book I have for instance has a few hundred pages before it gets onto Spring MVC... which seems a lot to wade through. I'm used to being able to jump in, but there's so much bean-related stuff and XML, it just looks like a mass of data to consume.

是否花了很多时间简化了它,还是Spring只是一个比我想象的要大得多的框架?是否有可能单独学习它的这一面?

Does it simplify if you put the time in, or is Spring just a much bigger framework than I thought? is it possible to learn this side of it in isolation?

推荐答案

@John Spring just a much bigger framework than I thought?-可能是这样,至少我是这样认为的.

@John Spring just a much bigger framework than I thought? - probably so, at least I thought so.

is it possible to learn this side of it in isolation?-是的,这是一种学习方法的好方法

is it possible to learn this side of it in isolation? - Yes , here is a good way to learn your way http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/spring-web.html

我也建议您读一本书manning spring in action 2nd edition,我也从零开始学习,现在阅读本书后我对它感到满意,当然您必须时不时地参考一下参考书

And also I'd recommend you read a book manning spring in action 2nd edition, I also was learning spring from zero, and now I'm comfortable with it after reading this book, of course you have to refer to reference every now and then.

如果您还不熟悉,则可以在这里获得有关MVC概念的基本信息(它在php中,但重要的是要点而不是语法)

Here is where you can get basic info about MVC concept if you are not already familiar with(its in php, but important thing is point not syntax)

http://net.tutsplus.com/tutorials/other/mvc-for-noobs/

编辑

如果您想查看MVC的实际应用,示例或其他春季使用,请使用此存储库 https ://src.springframework.org/svn/spring-samples 签出一些项目,您会看到mvc-basic,mvc-ajax..etc这是非常好的资源,您可以使用Tortoise SVN签出项目在Windows或eclipse的子蚀中

If you want to see MVC in action, with examples or other spring uses use this repository https://src.springframework.org/svn/spring-samples to checkout some projects , you'll see mvc-basic, mvc-ajax ..etc this is really good resource , you can checkout projects with Tortoise SVN on windows or subeclipse from eclipse

这篇关于为Web项目学习Spring MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆