It doesn't introduce any reusable validation code.
它没有引入可重用的验证代码。
Parameter validation code has been removed from the code sample shown here.
此处显示的代码示例中已删除参数验证代码。
Provides step by step information for adding validation code to a dataset.
提供加入验证程序码至资料集的逐步资讯。
Your validation code sticks out because it doesn't look like the other code around it.
您的验证代码很醒目,是因为它看起来不像周围的其他代码。
This means you can encode the rules a lot faster than writing the validation code by hand.
这就意味着您可以给验证规则编码,速度比自己编写验证代码快得多。
You may even agree with the argument that validation code doesn't belong in the view layer.
您甚至可能同意验证代码不属于视图层的说法。
The validation code is scattered across multiple source files and is often under-documented.
与验证有关的代码通常散布在多个源文件中,文档也不甚详尽。
This guideline does not require that the validation code be in the publicly visible member.
此准则不要求验证代码在公共可见成员中。
Continue adding to the PHP code in Listing 3 by inserting some simple validation code, as in Listing 4.
通过添加一些简单的验证代码来继续增强清单3内的php代码,如清单4所示。
Although not ideal, tightly coupled validation code is quite common, particularly in older applications.
虽然不理想,但是紧密耦合的验证代码相当普遍,特别是在比较老的应用程序里。
An alternative to the report framework would be to add validation code to the AccessibleUtils.output methods.
报告框架的另一种方案是将验证代码添加到AccessibleUtils .out put方法。
We could add validation code to the register method to determine whether the first-name field is blank or null.
我们可以在register方法中添加验证代码,以确定名字字段是否为null。
You must have at least two controls on the form in order to TAB between them and thereby invoke the validation code.
该窗体上必须至少有两个控件,以便在它们之间切换并由此调用验证代码。
Unlike a tightly coupled approach, using dynamic proxies leaves you with validation code that is reusable and configurable.
与紧密耦合方法不同,使用动态代理给您带来了可以重用、可以配置的验证代码。
Along with each implementation class, Castor also generates a descriptor class that contains the binding and validation code.
除了每个实现类,Castor还生成描述符(descriptor)类,该类包含绑定和验证代码。
Adding validation code could assist you in catching accessibility errors more quickly, without having to examine an entire report.
添加验证代码可以帮助您更迅速地捕获可访问性错误,而不必检查整个报告。
Handling these events puts all of your validation code in a single location, rather than scattering it throughout your project.
处理这些事件时会将所有验证程序码置于单一位置,而不是将它四散于专案各处。
As long as you place all of your client side validation code in one external.js file, the user only needs to download this file once.
只要将所有的客户端验证代码放在有个外部的.js文件中,用户就只需要下载这个文件一次。
Or do you move all the validation code into the services tier, removing it from the domain class that should be the owner of that knowledge?
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
Basic tests should include the testing of validation code and assertions, and database operations such as Create, Read, Update and Delete (CRUD).
基本测试应该包括对检验代码和断言以及数据库操作(比如创建、读取、更新和删除,CRUD)的测试。
If our validation logic were tied to the business delegates, as it was in the last tip, we would end up with ISBN validation code in both of these methods.
如果将验证逻辑与这两个业务委派(象上一篇技巧文章中的那样)联系在一起,那么最终这两个方法中都会有ISBN验证代码。
In this book, you will never see statements like those as we will write tests, error handling, validation code, and be sure we develop a secure application.
在这本书中,您将永远看不到这些语句,我们将编写测试,错误处理,验证码,并确保我们开发安全的应用程序。
Specifically, we decided the best way to deal with data-format validation code was to keep it close to the client, thus keeping the processing overhead to a minimum.
特别是对于数据格式验证代码,我们认为处理它的最佳方法是使它接近客户机,这样可以使处理开销保持最少。
Notice how the validation code in the invoke method below is nearly identical to the code from Listing 3; in fact, I could use the same validator service here as I did earlier.
请注意,在下面的invoke方法中的验证代码,几乎与清单3中的代码完全一样。实际上,在这里可以使用与前面完全一样的验证器服务。
For an alternative solution, I could have created an invocation handler that looks more like the one from Listing 2, where the validation code is run directly in the invocation handler.
作为替代解决方案,我建立一个看起来很像清单2的调用处理程序,而验证代码直接在调用处理程序里运行。
What if your database has some validation code that requires various fields to be filled before the document can be saved, and will produce all sorts of errors if you try to save before that?
如果数据库具有验证代码,这些代码要求在保存文档之前,各个字段都必须填写完整,并且如果还未填写完整就试图保存文档会产生各种错误,该怎么办?
Depending upon the number and nature of the validations required, the validation code can be complex and lengthy and its maintenance can become a significant burden as more partners are added.
根据所需验证的数量和性质,验证代码可能复杂冗长,而且在越来越多人参与其中后,维护将成为沉重负担。
This article shows you how SQLObject interacts with a database, how to use SQLObject to write database access and data-validation code, and how to use it with legacy or pre-existing databases.
本文展示了SQLObject如何与数据库交互,如何使用SQLObject编写数据库访问和数据验证代码,以及如何将它用于遗留或现有数据库。
The identity validation is performed by custom code.
标识验证由自定义的代码来执行。
The identity validation is performed by custom code.
标识验证由自定义的代码来执行。
应用推荐