We will look at a sample application, including screen shots of the development environment and portal resources, as well as code samples for the page navigation methodology.
我们将会看到一个样本应用程序,包括开发环境和门户资源的屏幕快照,以及页面导航方法的代码样本。
The following screen allows you to select an appropriate code generation wizard.
下面的屏幕允许您选择适当的代码生成向导。
To add a button to point back to the main screen of the application, add the code shown in listing 3.
要添加一个按钮来指向应用程序的主屏幕,可以添加清单3中所示的代码。
The search screen provides a form to enter a zip code.
搜索屏幕提供了一个表单用以输入邮政编码。
When they'd show the working code to Jobs, he'd lean forward, his nose to the screen, and examine them closely, moving from the demo to the prototype and back again.
当他们将运行的代码展示给乔布斯看时,他人向前倾斜,鼻尖几乎碰到屏幕,他仔细的检查着,在测试机和原型机之间反复来回查看。
Both programmers work closely together, chatting the whole time, jotting down reminders of things to do, and pointing out pieces of code on the screen.
两个程序员会很紧密地在一起工作,总是在交谈,快速记下对要做的事儿的提醒,并且在屏幕上指出代码的片段。
All information stored in the contact will be stored in the QR code and displayed on the screen to be scanned.
所有在联系簿中储存的信息都会被储存在二维码中,它会出现在屏幕上待君扫描。
Instead of gracefully returning an error code to the parent application, I print the error to the screen and bail out of the code.
我没有按通常作法将错误代码返回给父代应用程序,而是将错误打印到屏幕,然后退出程序。
When you first run this code, you'll see a screen similar to Figure 1.
第一次运行这段代码时,您会看到类似于图1的屏幕。
If you made the code changes described earlier, you see a blank screen.
如果做出前述代码更改,则会看到空白屏幕。
Your code can set a five-second timer and continue, say, redrawing the screen.
您的代码可以设置一个五秒钟的定时器,接下来继续进行重绘屏幕等操作。
The window JSP template has links to commonly used templates, code to render the screen, and then ends with the WML tag.
窗口JSP模板有常用模板(即处理屏幕的代码)的链接,然后以WML标记为结尾。
Software developers often include QR codes on their website, so users can install their app easily by scanning the QR code on the computer screen.
软件开发者常常将二维码放在他们的网站上,这样用户就可以扫描电脑屏幕上的二维码轻松安装他们的应用程序了。
The menu links on the left side of the screen call database code with transactions in various ways.
屏幕左侧的菜单链接以多种方式调用数据库事务代码。
What this means is that I start with a blank screen, start coding, and, a few tens of thousands of lines of code later, I have something to sell.
这就是说,我常常要从空白的屏幕开始从头编码,当代码达到数万行之后才能拿去销售。
The feedback loop is the amount of time between making a change in code and seeing the results in the execution of your application on the screen.
反馈周期是从改变代码到在屏幕上看到执行应用程序的结果所用的时间。
A few paragraphs and maybe a screen shot or some code may be just enough to help someone else get their own code flowing.
比较少的段落和一个截图或一些代码都可能对帮助其他人更有帮助。
Figure 3 shows our screen with the new code added.
图3显示了我们增加了新代码的屏幕。
Alternatively, if you prefer to build from source, visit the GNU Screen project page (see Resources for a link), and download the latest code bundle.
另外,如果您喜欢从源代码构建软件,可以访问GNUScreen项目页面(见参考资料中的链接)并下载最新的代码包。
To specify a style sheet to be used depending on the current screen size, you can add this code to the template.
如果要根据当前的屏幕大小指定要使用的样式表,您可以将下列代码添加到模板。
Figure 1 shows a screen capture of the code from Listing 2 running on an iPhone.
图1显示的是清单2中代码的屏幕截图,这是在iPhone上运行的。
Now consider the snippet of code I would call very frequently to move all the aliens around the screen. I would almost undoubtedly write it like this.
现在来看看在本文中我经常要调用的那个用来将外星人在屏幕上到处移动的代码片段,我会毫不犹豫地这样编码。
There is an HTML TAB on the left side of the Firebug console that shows the HTML code being displayed on the screen, including the class attributes.
在Firebug控制台的左侧有一个HTML选项卡,其中显示了屏幕上正在显示的HTML代码,包括类属性。
Finally, at the top of the body section, add the code to actually put the button on your user's screen.
最后,在body部分的顶部,添加代码使按钮实际显示在用户的屏幕上。
The main benefit to this approach is that you don't have to write the markup code for every screen in the HTML file.
这种方式的主要好处是不需要在HTML文件中为每个屏幕编写markup代码。
My workaround is to coerce the code into believing it's running on a 720x400-pixel screen, which seems to work nicely.
我的解决方案是强制代码相信自己是在一个720x400像素的屏幕上运行的,这看起来似乎可以很好地工作。
The parameter is set by our custom code to False when the report is viewed on screen and True when it is printed or exported.
我们的自定义代码会在报表是在被显示在屏幕上时将该参数设置为False,而当报表是在被打印或输出时,将其设置为True。
Run this code and you'll see a bunch of text fly across the screen as Hadoop begins doing its work.
运行这些代码,Hadoop开始运行时您将可以看到一堆文本在屏幕上一闪而过。
Run this code and you'll see a bunch of text fly across the screen as Hadoop begins doing its work.
运行这些代码,Hadoop开始运行时您将可以看到一堆文本在屏幕上一闪而过。
应用推荐