从“业务”到“代码”。
但是如果业务模型改变,这些代码需要重新生成。
But if the business model changes, the code has to be re-generated.
分解业务逻辑和UI代码。
以下代码示例使用业务对象类。
为您的业务流程创建部署代码。
因此代码块与业务操作之间存在多对多的关系。
So there is a many-to-many relationship between code blocks and business operations.
通过将规则置于应用程序代码之外,业务专家能够定义和管理决策逻辑。
By externalizing rules from the application code, business experts can define and manage decision logic.
业务逻辑与技术代码缠绕在一起。
将执行业务逻辑所需的代码添加到execute方法中。
You add the code required to perform the business logic to the execute method.
当然,我们必须以适当的数据访问代码来表达这种业务请求。
Of course, we had to express this business request in appropriate data access code.
下一篇文章讨论一个完整的业务场景,包含完整的代码。
The next article discusses a complete business scenario that will be fully coded.
代码样本1 -启动业务流程实例。
业务用户可以在一个他们熟悉的工具中更新和管理代码清单数据。
Business users can update and manage code list data in a tool they know well.
不过,代码示例还适用于“Inline Task”(在业务流程内定义)。
However, the code sample applies to Inline Task (defined within a business process) as well.
BPEL业务流程的样本代码在下载部分。
The sample code for the BPEL business process is included in the Download section.
这意味着你不写你的业务对象的数据访问代码。
That means that you do not write data access code for your business objects.
第二点直接的收益就是我的代码可以更加关注于业务概念。
The second immediate benefit was that my code became more focused on business concerns.
这导致业务实现经常和数据存取以及转换的代码纠缠在一起。
As a result business implementations are often intertwined with data access and transformation code.
软代码(Soft code):在配置文件里保存业务逻辑而不是在代码中
Soft code: Storing business logic in configuration files rather than source code[4]
第二个内部函数再将股票代码和股价传递给业务规则函数!
The second inner function applies the ticker and price to the business rule function!
第二个内部函数再将股票代码和股价传递给业务规则函数!
The second inner function applies the ticker and price to the business rule function!
应用推荐