写一个mvc框架学习struts
你好: 我正在学习struts,但是我经常对其配置感到困惑,有时我确实知道为什么。
所以我想知道是否有任何想法来编写一个简单的mvc框架,它不需要足够强大,只需让我更多地了解类似struts的框架所做的步骤即可。
有什么想法吗?
Hi:
I am learning struts,however I was often confused by its configuration,sometimes I do know clearly why.
SO I wonder if there is any idea to write a simple mvc framework which need not have to be prowerful enough,just make me know more about the steps the struts-like framework do.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
MVC确实是一个范例,如果你只是想使用mvc框架来运行,你可以看看groovy on grails(它是基于spring mvc构建的),并且应该很容易理解并快速配置,
如果你想成为如果您喜欢冒险,您可以使用 django,它是用于构建 Web 应用程序的 Python 框架,尽管它们规定了 mvp(模型视图呈现器)模式。
此外,http://www.springsource.org/roo 可能非常适合纯 Java 爱好者
MVC is really a paradigm, and if you simply want to get up an running with an mvc framework, you can look into groovy on grails (which is built on spring mvc) and should be easy to understand and quickly configure
If you want to be adventurous, you can play with django, which is the python framework for building web apps, though they prescribe to the mvp (model view presenter) pattern.
Additionally, http://www.springsource.org/roo may be a good fit for pure Java fans
另外,还有 Struts 2 教程可以提供帮助。
http://struts.apache.org/2.x/docs/getting -started.html
我喜欢“Bootstrap 教程”,它是上述页面底部的链接。
Also, there is the Struts 2 tutorials which help.
http://struts.apache.org/2.x/docs/getting-started.html
I enjoy the "Bootstrap tutorials" which is a link at the bottom of the aforementioned page.