You can, if you like, use interfaces or standard framework classes, or you can code entirely to POJOs and your domain model, or, you can work with a mixture of both.
只要你愿意,你可以使用接口或标准框架类,你还可以完全为POJO和你的领域模型进行编码,或者,你可以将两者结合使用。
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?
或者您可以将所有验证代码移入到服务层,然后从应当是该知识所有者的域类中删除它吗?
Another purpose of my writing is to release programming code to the public domain.
我写作的另一个目的是将编程代码向公众域公布。
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
没有人喜欢编写或维护样本gui至域模型同步代码。
Many NMS products have similar conceptual level composition, regardless of the specific domain of their application, the code heritage, or the vendor.
如果不考虑其具体应用的领域、代码沿袭或厂商,许多NMS产品在层次组成上都有类似的概念。
They can be mapped to a specific domain and used for model transformation, code generation, and so on.
可以将其映射到特定的域,并能用于进行模型转换、代码生成等工作。
Business users write the domain code, developers write the program generators.
业务使用者书写领域代码,开发者书写程序产生器。
You can sometimes predict complexity based on speculative knowledge of the problem domain, but writing code creates new constraints and opportunities that are virtually impossible to predict.
有时候可以根据问题域的理论知识预测复杂性,但是在编写代码时,又会产生新的约束和机会,这些实际上是无法预测的。
This code tests one of the most critical parts of my problem domain: getting factors for a number.
这段代码测试我的问题领域中最关键的部分之一:获取数字的因子。
In some cases, you might also need to generate code that is specific to your project or domain.
在有些情况下,您可能还需要生成指定给项目或者域的代码。
The domain expert will edit domain requirements that are then transformed into code.
领域专家会编辑领域需求,这些领域需求接着会转化为代码。
The sample code provided with this article demonstrates the use of these unified domain classes.
本文提供的示例代码将演示这些统一域类的使用。
Code and other target domain artifacts are generated using transformations designed with input from both modeling experts and target domain experts.
代码和其他目标领域工件利用根据建模专家和目标领域专家而设计的转换来生成。
In order to achieve that there should be a mechanism to transparently inject services into domain objects, no matter where in the code they are instantiated.
为了达成这一目标,需要一种透明的机制将服务注入到领域对象中,不管对象在何处实例化都该如此。
The programmers job is to build the desired projections and also transformations that will generate code into a programming language domain.
程序员的工作则是建立理想的投影,以及生成编程语言领域代码的转化方法。
[Start developing] a DSL... when there is a good understanding of the application domain and there exists a considerable code base for systems in the domain.
如果对应用领域有深刻的理解,且在领域的系统已经具备相当程度的代码基础,即可开始开发dsl。
Timeouts can be configured at different levels, set dynamically through code, changed administratively, and set by clients outside of your domain.
超时可在不同的级别上进行配置,通过代码动态设置、从管理角度上更改、由您所在域意外的客户进行设置。
You can add a contribution to an SCA domain using the code in Listing 2.
可以使用清单2中的代码将贡献包添加到sca域。
It will show you all of the HTTP requests made, the response code and message received, the domain it was retrieved from, the file size, and the timeline of the page load.
将会显示所有生成的HTTP请求、响应代码和接收的消息、接收来源域、文件大小、发送时间点。
Invoke domain code with mock objects as parameters.
将模仿对象作为参数来调用域代码。
One ProtectionDomain is created by default and is treated "special," in that the code belonging to this domain is deemed trusted and can be granted special privileges.
默认情况下,会创建一个ProtectionDomain,并作为“特殊”情况处理,即属于这个域的代码被认为是受信任的并可以获得特殊的权限。
Instead of making code relate better to problem domain, you will probably make things worse and end up introducing bugs into your application.
代码若与问题域紧密相关,就有可能使得事情变得更加糟糕,最终还会为你的应用程序引入bugs。
Additionally DSLs are coming with high level debagging support, allowing for to analyzing and debugging code directly on the domain concepts level.
此外,DSL还有高级的数据处理(debagging)支持,允许直接在领域概念级别上分析和调试代码。
Domain workbench allows code completion and also multiple projections of the same domain code.
领域工作台允许代码完成,同样允许相同领域代码的多重投影。
Organizing code by domain responsibility is a best practice, and in Web Flow 2 we are trying really hard to make this the easy practice.
按领域职责组织代码是最佳实践,在WebFlow2中我们正尽力简化其使用。
Samba can act as a domain controller. The smb.conf should contain code as shown below.
Samba可以起到域控制器的作用。
We'll discuss domain-based mobile code security in more detail in a later section.
在后面的一节中,我们将更详细地讨论基于域的移动代码安全性。
Lightweight design patterns let you loosen coupling between objects and integrate services without forcing code into business logic or the domain model.
轻量级设计模式使您可以在对象和集成服务之间进行松散耦合,而无需艰苦地编写业务逻辑或领域模型。
I could support a law that would make GPL-covered software's source code available in the public domain after 5 years, provided it has the same effect on proprietary software's source code.
我可以赞同可以使带有通用公共许可证的软件的源代码在5年以后被公开的法律,假如这个法律对专有软件的源代码同样有效的话。
Capturing too much detail is like developing code using a model or domain-specific language.
捕获太多的细节就像是在使用某个模型或领域特定语言来开发代码。
应用推荐