这能简化代码,如清单8中所示。
使用服务定位器设计模式来简化代码。
Use of the service locator design pattern to simplify lookup code.
整体上来说,JET的用途不仅限于简化代码生成。
On the whole, JET can be used for more than just simple code generation.
这看起来不是什么大事,但确实能够简化代码。
This may not seem like a huge deal, but it certainly simplifies your code.
按照与代码相同的方式构造模型可以极大地简化代码模板。
Structuring the model the same way as the code can greatly simplify the code templates.
我们可以看到强大的jQuery选择器是如何简化代码的。
You can see how the power of jQuery selectors can simplify your code.
在最后一行,我们使用了一个object而不是一个class来简化代码。
On the last line, using an object rather than a class simplifies the code.
采用这样一个接口将简化以后的代码开发。
Adopting such an interface will simplify future code development.
代码清单9中的代码是出于演示目的的简化方案。
The code in Listing 9 is a simplified solution for demonstration purposes.
这样便简化了代码,并使得应用程序的代码更高效。
This simplifies the code and makes the application code more efficient.
对本文来说,我们简化了代码。
For the purpose of this article, we have simplified the code.
换个角度简化问题使底层代码更加简单。
This simple rethinking of the problem made the underlying code much simpler.
您可以重构代码以简化样式表。
You can refactor the code to make the stylesheet much simpler.
如果使用新的集合类方法,上面的代码就被简化为。
With the new collection class methods, this has been simplified to.
还简化并优化了为每个Monitor模型生成的代码。
The generated code for each Monitor model has also been reduced in size and optimized.
然而如果你采用的是简化论的观点,这一行代码引入了几个新的概念。
If you adopt a reductionistic perspective, however, this line of code introduces several new concepts.
可以在简化的逻辑视图中或以原始的源代码形式查看XML。
You can view XML in a simplified logical view or in original source form.
现在看看如何用xForms简化上面的代码。
现在看看如何用xForms简化上面的代码。
应用推荐