Wicket与GWT - 需要建议 [英] Wicket vs GWT - Advice needed

查看:73
本文介绍了Wicket与GWT - 需要建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个基于Java EE的web应用程序。我们有一个非常有限的时间来提出一个alpha版本,并试图决定使用一个web框架。它必须是容易学习但功能强大的东西。由于开发所需的时间,标准JSP / Servlet不是一个选项。欣赏有人能提供建议。目前的选项是Wicket和GWT。 (JSF也是一个选项)

I am developing a Java EE based web application. We have a very limited time to come up with a alpha version and trying to decide on a web framework to use. It has to be something easy to learn but powerful. Standard JSP/Servlet is not an option here due to the time it takes for the development. Appreciate if anyone could advice. Current options are Wicket and GWT. (JSF is also an option)

推荐答案

Wicket是基于组件的,并附带一大堆标准组件(如分页,自动 - 完整的数据网格,表单处理等)。如果你想创建一个标准面板(有可能容易重用),只需创建你的HTML片段来使用一个模板(使用 wicket:id 属性,无论你想要什么绑定动态内容或子组件)和相应的Java文件。此外,您可以附加特定的CSS和JS文件。

Wicket is component-based and comes with a bunch of standard components (like pagination, auto-complete, data grids, form handling etc.). If you want to create a standard panel (with the possibility for easy re-use) just create your HTML fragment to use a template (with wicket:id attributes wherever you want to bind dynamic content or sub-components) and a corresponding Java file. Furthermore, you can attach specific CSS and JS files.

在我看来,Wicket开发对于金钱来说是很好的价值(功能)。而且你甚至不用写任何JS就可以获得很多内置的AJAX功能。例如,更改组件的模型,将组件附加到 AjaxRequestTarget ,并且面板通过DOM操作自动重新绘制。

In my opinion, Wicket development is good value (functionality) for money. And you get a lot of built-in AJAX functionality without even writing (not reading) any JS. E.g., change the model for a component, attach the component to an AjaxRequestTarget and the panel is automagically repainted via DOM manipulation.

有关快速浏览和简介,我建议您使用Dashorst& amp; amp; lt; href =https://weather.wiket.com/> Wicket in Action Hillenius。 (并且不要错过其他 great 资源。)

For a quick overview and intro I recommend Wicket in Action by Dashorst & Hillenius. (And don't miss out on other great resources.)

这篇关于Wicket与GWT - 需要建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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