使用 [SPRING MVC] 或 [GWT + 创建 REST 架构的优点和缺点MVP](并使用 spring ROO)?
我问这个问题是因为,我看到 Roo 包含 SPRING MVC 和 GWT...但是
- GWT(在其网站上)展示了 MVP 模式的示例,但我认为它无法与 SPRING MVC 框架相比(事实上 Spring MVC 有更多功能。我从未使用过它......但我读到它有很大帮助做网站,轻松拥有 REST 架构(如何使用 GWT 和 MVP 平台轻松实现 REST 架构?)...
您能帮我在这些技术之间进行选择吗(注意我想开发我的应用程序)在 GAE 上,我也想要手机版本)?
I am asking this question because, I see that Roo include SPRING MVC and GWT...but
- GWT (on its website) shows an example of a MVP pattern but I think it is not comparable with the SPRING MVC framework (indeed Spring MVC has more features. I have never used it...but I read that it helps a lot to do website, and easily lets have a REST architecture (how to do as easily a REST architecture with GWT and a MVP plateform ?)...
Can you help me to choose between these technologies (taking care that I want to develop my app on GAE, and I will also want Mobile phone version) ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您不要将 GWT 与 Roo 一起使用,目前它的 GWT 支持非常有问题。 (这么说是 Roo 的忠实粉丝)
此外,REST 是一种架构风格,它拥抱 HTTP 作为应用程序协议,而不仅仅是作为传输协议,同时 GWT 是一个框架,或者更确切地说是一个用于创建丰富 Web 应用程序的工具集,它使用 JavaScript 作为一个前端,一个基本上与另一个无关。但是,您可以使用 Spring MVC 构建 RESTful 应用程序:
I suggest you not to use GWT with Roo, its GWT support extremely buggy at the moment. (Saying this as a big fan of Roo)
Also, REST is architectural style which embraces HTTP as an application protocol, not only as a transport protocol, meanwhile GWT is a framework, or rather a toolset for creating rich web application which use JavaScript as a frontend, one has basically nothing to do with the other. You can however use Spring MVC to build RESTful applications: