Leverage both client - and server-side error handling.
同时利用客户端和服务器端错误处理。
If your application USES server-side error validation alone, an extra server trip is required, with a time cost of three to six seconds.
如果您的应用程序只使用服务器端验证,那么就需要进行一次额外的服务器往返传递,要占用3到6秒的时间。
Either side can return an error, such as defined below.
任何一边都可能返回一个错误,如下面所定义。
应用推荐