类别布局并不随时间改变,因此您可以放心地将类别路径永久地存储在您的代码中。
Category layouts do not change over time, so you can safely store category paths permanently in your code.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
尽管对FXG和CSS进行比较似乎有点奇怪,但FXG完成的任务在概念上与CSS完全相同:它将布局代码和样式信息分离开来。
Although it may seem strange to compare FXG to CSS, FXG conceptually accomplishes the same exact thing as CSS: it separates the layout code from the style information.
布局代码剩下的部分非常简单。
您会注意到,代码示例被设置为适合用作不同用户界面小控件和布局想法的测试温床。
You'll notice that the code sample is set up to be useful as a test bed for different UI widgets and layouts ideas.
代码是和表及小的间隔图片一起装入的,目的是得到所需布局。
The code was loaded with tables and small spacer images to achieve the desired layout.
布局代码中的窗口一侧的便捷工具不是必需的。
Marginal convenience in your layout code is not a necessity.
这使得我们可以用一个简洁的字符串来描述布局规格,而不比长篇累牍编写很多行代码来指明约束或者创建面板层次结构。
This makes the layout specification a compact string, instead of many lines of code specifying constraints or setting up hierarchies of panels.
一个布局是包含HTML标记和CakePHP代码的文件。
除此之外,GuiBuilder有助于ui的布局设计并生成actionscript源代码。
Besides, the GuiBuilder helps the UI layout design and later generates ActionScript source code.
设计师可以处理布局和格式,甚至不用接触实际的XHTML和XForms代码。
The designer can work on the layout and formatting without even touching the actual XHTML and XForms code.
有了它,你能够在屏幕上设计全页面的布局,而不用去写ERb(嵌入的Ruby)模板代码了。
So you will be able to design full-page layouts on screen as an alternative to writing ERb (embedded Ruby) templates in code.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
这些方法都假设面板、窗体和布局是用手工代码创建的。
Both of these approaches presume the creation of panels, forms, and layouts using hand-crafted code.
设计师通过写代码来了解真实的数据如何在页面布局中工作。
Designing in code allows you to see how real data works inside a layout.
这种方法还会使整个用户界面是可配置的,而且在XML文件中描述的GUI布局与应用程序代码分开。
This approach also makes the whole user interface configurable, with the GUI layout being described in an XML file separate from the code of the application.
清单6给出了一小段用来设置数据布局面板成为不可见的代码。
Listing 6 gives a piece of code, which sets the data layout panel invisible.
清单2显示了设置基本布局所需的代码;它应当是自解释的。
Listing 2 shows the code needed to set up the basic layout; it should be self-explanatory.
这在实践上是很容易的;只要不编写对堆栈桢执行低级操作或对堆栈的布局作假设的代码就行了。
In practice this is easy; just don't write code that does low-level manipulations of the stack frame or makes assumptions about the stack layout.
对于软件来说,包括代码模型、实现、DLL等的结构,而对于硬件来说,可能包括电路布线、电路板布局等。
For software, this would include the structure of code modules, executables, DLLs, etc., while for hardware it might include circuit pathways, board layouts, and the like.
要重新编写在汇编程序中实现的源代码的各个部分时,您必须对数据布局有深刻的理解。
You must have an in-depth understanding of the data layout when rewriting those parts of the source code that are implemented in assembler.
最后,注意上述代码获得一个在布局XML中创建的按钮的句柄,并添加一个单击事件处理程序。
Finally, notice that we get a handle on the button we created in the layout XML and add a click event handler.
如果您有更好的想法帮助达到“液态布局”的话,设计团队欢迎提交代码补丁。
The team is also accepting patches if you have better ideas about how to approach the "liquid layout" they're going for.
内存中数据分配的布局非常复杂并且难以再现,所以任何症状都不可能追溯到源代码级别的具体错误。
The layout of data allocations in memory is complex and subtle to reproduce, so any symptoms might be hard to connect back to the specific error at the level of source code.
这些内容可以帮助开发布局良好的代码,但在JSP文件应用到生产环境前,将使用工具对其进行处理,除去其格式设置。
It can be helpful to have code in development that is nicely laid out, but it is processed and stripped off its formatting with a tool before the JSP files are applied to your production environment.
这个布局产生的问题是它会在您的代码中引入许多冗余。
The problem with this placement is that it could introduce a lot of redundancy into your code.
当修改源代码并重新构建二进制文件时,二进制文件的内部布局也将发生相应变化,以适应新的变化。
When a source code is modified and the binaries rebuilt, the internal layout of the binary changes accordingly to accommodate the recent changes.
没有循环依赖,二进制文件,库,文档,构建,第三方的代码都组织进合适的文件夹内。源码树的物理布局与逻辑层次、组织方式相匹配。
No circular dependencies, binaries, libs, docs, builds, third-party code all organized into appropriate folders Physical layout of source tree matches logical hierarchy and organization.
能被任何设备调用的JSP代码实际上生成同样的标记,当这些标记应用于设备的布局中时数据才被删减。
The JSP code that is invoked for any of the devices can actually emit the exact same markup, the data pruning will take place when the markup is applied to the layout of each device.
有很多次我试图使用传统方法将多个字段布局到同一行,但徒劳无功,或者是产生的代码很难维护。
There have been many times where I have struggled to lay out several fields on the same row using traditional means but come up short, or the process created code that was difficult to maintain.
应用推荐