迁移模型代码。
Writing tests is easier than writing model code.
编写测试要比编写模型代码简单得多。
Unit tests exercise Rails model code and sometimes helpers.
单元测试针对的是Rails模型代码,有时还包括帮助器。
The servlet, portlet, and the model code are tightly coupled.
Portlet和模型代码是紧密耦合的。
How to: Compile and Run the Automation Object Model Code Examples.
如何:编译和运行自动化对象模型代码示例。
The persistence piece of the current model code is very much just a stake in the ground.
目前模型代码中的持久化部分是非常重要的。
All code must be tested, and ideally the tests should be written before the model code is.
所有代码都必须测试,而且理想情况下应该在编写代码之前编写测试。
Hence, the entire graphics engine could be swapped out without touching any of the core model code.
因此,整个图形引擎可以替换掉不碰任何核心模型的代码。
The model code needs to be able to load data from a known location and offer a public method to provide that data.
模型代码需要能够从一个已知的位置装载数据,并提供一个公共方法用于提供那些数据。
Unlike classic test-first programming, I'm writing a lot of tests here without necessarily writing any model code.
与典型的test - first编程不同,我在此处编写了很多测试代码却没有必要编写任何模型代码。
Having a secondary Ajax controller (such as a servlet or Web service) forces a stronger separation of your model code.
使用二级ajax控制器(如servlet或Web服务)可以进行更强大的模型代码分离。
I'm not saying that the TDD doctrine is wrong, but it's not really an option when two million lines of legacy model code already exist.
我并不是说TDD原则是错误的,但当两百万行的遗留模型代码已经存在时,它的确不能成为一个有用的选择。
Convention over configuration also leads to "aha!" moments for new Rails developers because the controller and model code is so concise.
约定优于配置也会使新的Rails开发人员能够立即上手,因为控制器和模型代码特别简洁。
The model code does not; Monkeybars makes no assumptions about how you manage your application logic and data; that is entirely up to you.
模型代码则不是这样;Monkeybars并不假定您如何管理应用程序逻辑和数据;那完全由您决定。
The means, for example, that your model code - the representation of the world internally, doesn't specifically know how it'll be displayed by the view.
意味着,例如,您的模型代码——世界内部的表示,具体不知道它如何会显示在视图中。
The controller code is also pretty thoroughly separated from the model code, and could be swapped out for different control devices without needing to change the model.
控制器代码也是相当彻底分开的模型代码,并可以用不同的控制设备,而不需要改变模型。
In the genmodel editor, right click on the top node labeled "Mysql" and generate the model Code (see Figure 9), the edit Code (see Figure 10), and finally the Topology edit Code (see Figure 11).
在genmodel编辑器中,右击标为的顶部节点,并生成model代码(见于图9),Edit代码(见于图10),以及最终的Topology Edit代码(见于图11)。
The English Approval Unit crime, implements two punishes the system; US "Model Penal code" also approves the unit crime.
英国认可单位犯罪,实行两罚制;美国《模范刑法典》亦认可单位犯罪。
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
没有人喜欢编写或维护样本gui至域模型同步代码。
In this context, artifacts can be anything, such as a requirement, a design model, implementation code, or a test case.
在此上下文中,构件可以为任意内容,如需求、设计模型、实现代码或测试用例等。
This makes the whole picture comes into focus: Traceability, from requirement through model to code (Figure 31).
这使整个图片集中到一点:跟踪性,从请求到模型,到代码(参见图31)。
If you work primarily in code but want to modify the model, use code update mode.
如果您主要处理的是代码,但是又想修改模型,那么就使用代码更新模式。
They can be mapped to a specific domain and used for model transformation, code generation, and so on.
可以将其映射到特定的域,并能用于进行模型转换、代码生成等工作。
Early versions of the binding compiler did not go through this step of constructing a code generation model, instead generating code directly from the binding.
绑定编译器的早期版本不经历构造代码生成模型这一步,而是直接从绑定生成代码。
The latest refinements improve synchronizing model and code information when roundtripping capabilities, too.
最近的改进还提高了同步化的模型以及代码信息。
But if the business model changes, the code has to be re-generated.
但是如果业务模型改变,这些代码需要重新生成。
Now that you know how to traverse the model, you can write code to modify the model.
现在,您知道了如何遍历模型。接下来,可以编写代码来修改模型。
In some cases, particular organizations have their own custom promotion model for code deployment.
在一些情况下,特定的组织有他们自己的代码部署客户实践模型。
Also during this phase the design model was synchronized with code so that changes in the model could be forward engineered to code.
同样是在这个阶段,设计模型同代码同步,以便模型中发生的变化能够被传送到代码中。
Driven by MDA, MDD focuses more on model transformation and code generation.
mdd由mda驱动,并更着重于模型转换和代码生成。
应用推荐