目前模型代码中的持久化部分是非常重要的。
The persistence piece of the current model code is very much just a stake in the ground.
Portlet和模型代码是紧密耦合的。
The servlet, portlet, and the model code are tightly coupled.
单元测试针对的是Rails模型代码,有时还包括帮助器。
其中并没有反向项目或模型代码同步,在这个方法中的源通常是模型。
There would be no reverse engineering or model-code synchronization, as the source in this approach is always the model.
模型代码需要能够从一个已知的位置装载数据,并提供一个公共方法用于提供那些数据。
The model code needs to be able to load data from a known location and offer a public method to provide that data.
使用二级ajax控制器(如servlet或Web服务)可以进行更强大的模型代码分离。
Having a secondary Ajax controller (such as a servlet or Web service) forces a stronger separation of your model code.
约定优于配置也会使新的Rails开发人员能够立即上手,因为控制器和模型代码特别简洁。
Convention over configuration also leads to "aha!" moments for new Rails developers because the controller and model code is so concise.
意味着,例如,您的模型代码——世界内部的表示,具体不知道它如何会显示在视图中。
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.
模型代码则不是这样;Monkeybars并不假定您如何管理应用程序逻辑和数据;那完全由您决定。
The model code does not; Monkeybars makes no assumptions about how you manage your application logic and data; that is entirely up to you.
我并不是说TDD原则是错误的,但当两百万行的遗留模型代码已经存在时,它的确不能成为一个有用的选择。
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.
与典型的test - first编程不同,我在此处编写了很多测试代码却没有必要编写任何模型代码。
Unlike classic test-first programming, I'm writing a lot of tests here without necessarily writing any model code.
这意味着,您将拥有从需求到实现了该需求的模型或代码(更好的是,两者)的追溯能力。
This means that going forward, you will have traceability from that requirement to the model or code (or better yet, both) that implements that requirement.
在那些“模型是代码”所在的实例中,所有实践者不得不做的是确保他们拥有精确给定的模型。
In instances in which "the model is the code," all practitioners have to do is make sure they have accurately specified models.
默认情况下,在为模型生成代码时,EMF不会使用动态模板。
By default, EMF does not use dynamic templates when generating code for models.
没有人喜欢编写或维护样本gui至域模型同步代码。
No one likes writing or maintaining boilerplate GUI to domain model synchronization code.
这使整个图片集中到一点:跟踪性,从请求到模型,到代码(参见图31)。
This makes the whole picture comes into focus: Traceability, from requirement through model to code (Figure 31).
这些特性提高了模型元素、代码引用,以及管理变更过程之间的稳定性。
These features improve the consistency between the model element, the code references, and the process to manage changes.
您的开发人员是否用到模型和代码?
可以将其映射到特定的域,并能用于进行模型转换、代码生成等工作。
They can be mapped to a specific domain and used for model transformation, code generation, and so on.
因此,许多组织只是部分地将由模型的代码生成自动化。
Therefore, many organizations are doing only partial automated code generation from models.
然而,除非维护一个非常严格的规程,否则不久将出现模型和代码之间的缺口,或断路。
However, unless a very strict discipline is maintained, there will very soon be a gap, or disconnect, between the models and the code.
最近的改进还提高了同步化的模型以及代码信息。
The latest refinements improve synchronizing model and code information when roundtripping capabilities, too.
它的声明性处理模型使代码很容易维护和重用。
Its declarative processing model allows for very maintainable and reusable code.
同样是在这个阶段,设计模型同代码同步,以便模型中发生的变化能够被传送到代码中。
Also during this phase the design model was synchronized with code so that changes in the model could be forward engineered to code.
模型能够和代码一样表现所有的挑战,特别是在模型开始表达被代码所表达的详细方法的时候。
Models can represent all of the same challenges as code, particularly as models begin to express a level of detail approaching that expressed by code.
代码中心的工作流通过同步化代码和模型,以提高代码的开发和记录,从而促进了灵活开发。
The code-centric workflow promotes agile development by synchronizing the code and model to improve the development and documentation of the code.
如果您主要处理的是代码,但是又想修改模型,那么就使用代码更新模式。
If you work primarily in code but want to modify the model, use code update mode.
有的甚至可以(试图)从结果模型中生成代码。
代码清单1显示了该模型生成的代码。
应用推荐