GWT 框架 GWTruts

码农软件 · 软件分类 · GUI开发框架 · 2019-08-10 22:41:31

软件介绍

GWTruts是一个易于使用的框架,使用GWT与MVC以及相关注入。它将 GWT 模块分成视图、控制器、数据验证三部分,跟传统的MVC Web框架的思路类似。它还提供了一个依赖注入机制,你可以使用自定义您的控制器和意见。它提供了网页设计师,您可以定义一个URL之间的映射和一组控 制器/意见和章节的HTML文件。

下面是使用了 GWTruts 的一个示例配置信息:

<?xml version="1.0" encoding="windows-1252"?>
<GWTruts xmlns="http://gwtruts.sourceforge.net/schema/GWTruts"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://gwtruts.sourceforge.net/schema/GWTruts
http://gwtruts.sourceforge.net/schema/GWTruts/GWTrutsSchema-0.6.xsd"
>

<controllers>
<controller name="mainController" class="com.yourcompany.app.client.controllers.MainController">
<property name="val1" value="122"/>
<property name="val2" text="bbbd"/>
<property name="val3" ref="mainView"/>
</controller>
<controller name="mainShowButtonController"
class="com.yourcompany.app.client.controllers.MainShowButtonController"
async="true"/>
</controllers>
<views>
<view name="mainView" class="com.yourcompany.app.client.views.MainView" singleton="true"/>
<view name="sayHelloView" class="com.yourcompany.app.client.views.SayHelloView"/>
</views>
</GWTruts>

本文地址:https://codercto.com/soft/d/12095.html

Hacker's Delight

Hacker's Delight

Henry S. Warren Jr. / Addison-Wesley / 2002-7-27 / USD 59.99

A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier. * At long last, proven short-cuts to mastering difficult aspec......一起来看看 《Hacker's Delight》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

URL 编码/解码
URL 编码/解码

URL 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具