简体   繁体   English

关于如何一起使用GWT和PlayFramework的策略

[英]The strategy about how to use the GWT and PlayFramework together

Does it make sense to use Play just for making the main layout, and use GWT-compoments (like # {some_gwt_component}) if it's needed (for example to implelemnt this component with jquery/javascript/html is quite complicated)? 使用Play来制作主要布局是否有意义,并且如果需要使用GWT组件(如#{some_gwt_component})(例如使用jquery / javascript / html实现此组件非常复杂)?

Why I'm asking, because, it seems, some thinks easy to implement just with html some with gwt. 为什么我要问,因为,似乎有些人认为很容易用html来实现一些gwt。

I can't think that it's a good idea to mix this techniques. 我不认为混合这些技术是个好主意。 Has you seen the post on google-groups ? 你看过google-groups的帖子了吗? It refers to information about play and gwt. 它指的是有关游戏和gwt的信息。

I wouldn't recomend it, GWT relies in the Servlet model (as far as I remember, I may be wrong) and that doesn't mix well with Play. 我不推荐它,GWT依赖于Servlet模型(据我记得,我可能是错的)并且与Play不能很好地融合。

Also, on a more personal level, I know GWT is not really recommended by Thoughtworks as a technology (they list several issues with it) and given the technological knowledge of those guys, I usually trust their recommendations. 此外,在更个人的层面上,我知道Thoughtworks并不真正推荐GWT作为一种技术(它列出了几个问题),并且鉴于这些人的技术知识,我通常相信他们的建议。 Stay away from GWT :) 远离GWT :)

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

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