In this section, we will write logic which needs to be executed as per page extensions.
在这个部分我们将为每个页面扩展名写需要的逻辑。
You'd write logic that appends to a list of strings or writes to a file-like object. For instance, the following code generates the E-mail described above.
还要编写附加到字符串列表的逻辑或为类文件对象编写的逻辑。
It can be used to systematically construct state array and sequence diagram, write logic expressions, and draw control circuit diagram based on technical requirements.
介绍了根据工艺要求系统地构成状态表和程序图,写逻辑表达式。画控制线路的具体方法。
It would be very advantageous for you to be able to write and test new order handling logic without risking breaking one of the existing business rules.
对你而言,如果能够书写并且测试一些新的订单处理逻辑而不用冒着破坏现有业务规则的风险将会是一件非常有利的事情。
Using SQL stored procedures is the best way to encapsulate the business logic of administrative applications because it minimizes the amount of code that developers need to write.
使用SQL存储过程是封装管理应用程序的业务逻辑的最佳方式,这会把开发人员需要编写的代码量减少到最低限度。
In this case, you would either have to write a custom validator, as well, or simply include any special validation logic in the custom converter.
在这种情况下,要么编写自定义验证器,要么在自定义转换器中添加一个特别的验证逻辑。
But if you write rules using an RDR framework, you know exactly where a rule is to be added, and it becomes easier to debug which rule is breaking the logic.
但是如果您使用rdr框架编写规则,就会准确知道在何处添加规则,从而可以更轻松地对破坏逻辑的规则进行调试。
Or to say that another way, we're all making the middleware invisible, so application developers just write business logic and let the container deal with the nitty gritty of middleware.
甚至可能将中间件完全隐藏起来,这样应用程序开发人员只需编写业务逻辑,而让容器来处理中间件的琐碎工作。
When authoring a Data Binding the message headers were passed into the read or write method, allowing transformation logic to be determined by a field in the protocol header.
当创作数据绑定时,会将消息标头传入读或写方法,并允许协议标头中的字段确定转换逻辑。
Andreessen and Horowitz's position was so counter to the prevailing wisdom that they felt the need to write a blog post in 2010 explaining their logic again.
安德森和霍洛·维茨的立场与主流观点大相径庭,就连他们自己也觉得有必要重新解释一遍他们的逻辑,于是2010年他们就此问题写了一篇博文。
There's nothing special about this code — it's the same logic that you'd write to connect to any DB2 database.
关于该代码没有什么特殊的——与编写到任何DB 2数据库的连接的逻辑相同。
I rely on my own intuition and my logic to make ideas clear and in terms of my own feelings of what's important I don't usually write papers articles in public policy the way this one is.
我靠我自己的直觉和我的逻辑,形成清晰思想,就我自己的感受,关于什么重要,我通常不会写论文或,公开的文章,像这篇一样。
First, it is so much easier in many developers' minds to develop procedural logic than it is to write SQL.
首先,在许多开发人员的意识中,开发过程逻辑比编写SQL要容易得多。
There are times in your business processes, state machines, or other services where you might find yourself needing to write some nitty-gritty logic.
有时在业务流程、状态机或者其他的服务中,可能需要编写一些细节逻辑。
Because the XSLT processing model is "write-once, read-many," the synchronization logic can be much simpler, leading to faster navigation of the tree.
由于XSLT处理模型是“写一次读多次”的,同步逻辑可以变得更简单,使浏览树变得更快。
The next step is to write some business logic that will read/write data between our visual class and some data source, which in this case is an XML file.
利用这些业务逻辑,我们可以在可视类和数据源之间进行数据的读取或写入。
Write your business logic with session beans, Spring, Guice, or Pojo services.
用会话Bean、Spring、Guice或Pojo服务写业务逻辑。
While the ASP.NET page object is created, many events are fired which can help us to write our custom logic inside those page events.
NETpage对象被创建,许多事件被触发,你可以在这些页面事件中写我们自定义的逻辑。
You can discover from a WSDL file that a given web service takes two strings as its parameters, but you still have to write the business logic that figures out what those two strings should be.
您可以从WSDL文件中发现给定的Web服务将两个字符串作为它的参数,但您仍必须编写业务逻辑来弄清楚这两个字符串应该是什么。
You cannot write business logic in XQuery because XQuery focuses exclusively on querying and transformation.
您不能用XQuery编写业务逻辑,因为 XQuery仅关注查询和转换。
We write our code in such a way that we invoke some abstract method, and some underlying, hidden logic is responsible for dispatching the request to an appropriate implementation, as follows.
我们以特定的方式编写代码,以调用抽象方法,使某个基础隐藏逻辑负责将请求调度到恰当的实现,如下所示。
Roo can't write business logic, but it can manage infrastructure or the configuration of an application.
Roo不能编写业务逻辑,但可以管理应用程序的基础结构或配置。
Therefore, you must write the inline custom validation logic as if it were dealing with validation in a custom Validator object.
因此,必须编写嵌入自定义验证逻辑,就像使用一个自定义Validator对象处理验证一样。
With BMP entity beans, developers must write the persistence logic but the container determines when to call the methods defined by the developer.
使用BMP实体bean时,开发人员必须编写持久性逻辑,而容器则确定何时调用由开发人员定义的方法。
Unlike BMP beans, it also requires the developer to write the persistence logic.
与BMPbean 不同的是,它还要求开发人员编写持久性逻辑。
The Spring framework provides an interface named BeanPostProcessor, which represents an extensibility mechanism to allow applications to write their own logic to create bean proxies.
Spring框架提供了BeanPostProcessor接口,它提供了一种可扩展机制,允许应用程序编写自己的逻辑来创建bean代理。
Knowing how to redirect data as stdin or stdout, how to use the pipe, and how to use operators in UNIX helps you write more powerful scripts with better error trapping and cleaner logic.
您了解了如何把数据重定向到stdin或stdout,如何使用管道,以及如何在UNIX中使用操作符;这些都有助于您编写出更强大的脚本,更好地捕捉错误,使逻辑更简洁清晰。
The last thing to do is write the custom business logic in the execute() operation of FirstCommand.
最后要做的是事情是:在FirstCommand的execute()操作中编写出业务逻辑。
Imagine if the logic in the first half was a bit more cerebral than a simple int comparison — how many test cases would you write before you were satisfied?
设想如果前半部分中的逻辑比简单的int比较更复杂,那么您需要写多少测试案例才能满意?
By factoring some logic out of your advice and into a helper class (or method), you can write tests that check your application's crosscutting behavior independent of its crosscutting specification.
通过将一些逻辑从建议中分离到helper类中(或者方法中),可以编写与横切规范无关的、检查应用程序横切行为的测试。
应用推荐