- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://jvalidations.codehaus.org/
- 软件文档: http://jvalidations.codehaus.org/tutorial/TwoMinuteTutorial.html
软件介绍
JValidations 是一个 Java 对象的数据验证框架。
示例代码:
public class Customer implements Validatable<ValidationReport>{
private String name;
private String email;
public void buildValidation(ValidationSyntax validates, ValidationReport report) {
validates.that("name", not(isEmptyString()), _else(report,"isBlank", fieldName()));
validates.that("email", not(isEmptyString()), _else(report,"isBlank", fieldName()));
}
public interface ValidationReport {
void isBlank(String fieldName);
}
}
Single Page Web Applications
Michael Mikowski、Josh Powell / Manning Publications / 2013-9-30 / USD 44.99
Code for most web sites mostly runs on the server. When a user clicks on a link, the site reacts slowly because the browser sends information to the server and the server sends it back again before di......一起来看看 《Single Page Web Applications》 这本书的介绍吧!
