清单3包含其余的GUI界面代码。
在这个场景中,我们完全不用PHP代码输出任何客户机用户界面代码。
In this scenario, we will completely relieve the PHP code from outputting any client user interface code.
所有应用程序代码、标记和用户界面代码都将编译为程序集。
All application code, markup, and UI code is compiled into assemblies.
这一般意味着你必须写两次用户界面代码,不过还好有一些库可以减轻工作量。
This generally means that you need to write the user-interface code twice. There are libraries, though, that make the process a bit easier.
这样一来,将用户界面代码置于沙箱中,使之远离游戏本身的干扰,从而提高安全性和可靠性,这一点就变得容易得多。
This makes it much easier for the user interface code to be sandboxed nicely away from the guts of the game, improving security and reliability.
在基于c的api中,嵌入的代码几乎都会导致崩溃;当使用lua界面时,如果用户界面代码导致崩溃,则存在需要修复的bug。
In a C-based API, embedded code would almost certainly be able to cause a crash; using the Lua interface, if user interface code can cause a crash, there is a bug that ought to get fixed.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
虽然这种方法不是没有好处,但是要精确的复写出与用户界面异步交互的代码却很难。
While this approach is not without merit, it can be difficult to accurately reproduce the asynchronous processing of user interface code.
通过以上提供的工具和代码,您可以在现有的界面中创建旋转地图。
With the tools and code presented above, you can create a rotated map within the existing interface.
代码的剩余部分就是界面了。
可以在任何特定的状态扫描应用程序,不论他们拥有是拥有一个部署的用户界面,仅仅拥有代码还是仅仅拥有一个部署的可利用实例,等等。
Can scan applications in practically any state, whether they have a deployed user interface, whether only code or only a deployed instance is available, and so on.
您的服务器端代码完全从用户界面分离出来。
Your server-side code is completely decoupled from the user interface.
客户正向我们索取比我们现在可以提供的更多的有关用户界面、代码原型和工具选择的信息。
The customer was pushing us for more information about the user interface, code prototypes, and tool selection than we were ready to provide at this time.
在小型JSP应用程序中,经常会看到数据、业务逻辑和用户界面被组合在一个代码模块中。
In a small JSP application, it is common to see the data, business logic, and the user interface combined into one module of code.
在运行时,此呈现器将面板定义转变为实际的用户界面,生成所需的HTML代码。
At runtime, the renderer converts the panel definition into the actual user interface, producing the necessary HTML code.
通过继续这个过程,您就可以构建一个复杂的、完全由数据驱动的用户界面,无需编写任何代码和SQL。
By continuing this process, you can build a sophisticated, fully data-driven user interface without writing any code or SQL.
我们不会浪费您的时间,因为我们没有代码错误,用户界面很漂亮,文章不会太长。
We will not waste your time with buggy code, clumsy user interfaces or long-winded articles that promise more than they deliver.
图2显示一个相对简单的用户界面;创建它需要的所有代码在清单1中,此时您所用是一些HTML。
Figure 2 shows a relatively simple user interface; all the code needed to create it is in Listing 1. All you have used at this point is some HTML.
核心代码很干净而且容易扩展,用户界面也非常容易使用。
The core code is clean and easy to extend, and the user interface is very easy to use.
我们从用户界面的XUL代码开始(参见清单1)。
Start with the XUL code for the user interface (see Listing 1).
通常来说,外部的代码基底可以变得很大,在许多种情况下,它们在代码中只是在界面上相关。
Often, the external code bases could be very large and, in many cases, are relevant only in the interface to the code.
但在一般情况下,这些内容部分形式复杂,若您以这种方式编写代码,界面使用起来将非常困难。
But often, these sections of content are involved and the interface would be painful to use if you wrote it that way.
学习了如何安装工具,利用HTML创建基本的界面,甚至添加一些PHP代码和一些CSS样式。
You've learned how to install the tools, create basic interfaces with HTML, and even added a bit of PHP code and some CSS styling.
在设计和构建GWT应用程序时,您必须清楚不要依赖用户界面测试代码。
When designing and building GWT applications, you must think about testing the code without relying on user interactions.
做一个粗略的比喻的话,这就是和asp.net或WPF有点类似的模型,在这些模型中,你通过HTML或XAML来定义用户界面,在后置代码中处理事件。
In a rough analogy, this is a slightly similar model to ASP.NET or WPF, where you define your user interface in HTML or XAML, and have a code-behind page that handles events.
有创造力的架构、精心构思的用户界面、准确的代码—我们已经见过所有这些甚至更多。
Inventive architecture, thoughtful user interfaces, precise code — we've seen all of this and more.
你是否需要改变界面而不用重构逻辑代码的灵活性?
Would you like more flexibility to change your user interface without having to refactor other logic in the code base?
这将生成默认的用户界面,其中将自动创建一个表格格式,还生成了与用户界面交互所需的代码。
This causes a default user interface, which has a tabular format to be automatically created and also generates the necessary code to interact with the user interface.
这是通过编写与界面相匹配的代码来实现的。
That is by writing code that visually maps to how the user-interface will look like once rendered.
创建代码可以使用的界面,是让代码有意义的本质。
Creating an interface through which code can be used is essential for the code to have any meaning.
应用推荐