计算机专业英语,请高手翻译

Before we go any further, this is a good time to review how the average website works, if only to see the contrast between it and Ajax websites. With a traditional website, it isn't unusual for the same page to go through the unload/reload cycle several times before progressing to the next logical page. A number of valid reasons explain why these unload/reload cycles occur, ranging from HTML select objects whose contents are based on other select objects to simply bad input caught on the server side. In the end, the result looks quite a lot like Figure 8-1.
Figure 8-1. The traditional unload/reload cycle

Even in the early days, when the paint wasn't yet fully dry on the World Wide Web, the unload/reload cycle got old pretty quick, especially at dial-up speeds. Now with the improved bandwidth available, things are different; it is old right from the start. For example, several years ago, I worked as a consultant for a company that was trying to get a handle on the whole "web thing," as they referred to it. Their approach was to wave a magic wand, and, "Poof!"a CICS programmer was now a web developer. Although this approach worked, after a fashion, it led to some rather interesting web development standards.
Their standard went pretty much along the lines of trying to make web pages as much like the mainframe CICS pages as possible. These standards were a combination of the weird and the scary. An example of the weird was that initially all scrolling, regardless of the direction, was forbidden because it was thought to be unprofessional. This meant that it was necessary to break up tabular web pages into single pagesized chunks and provide the user with some means of navigation.
On the other hand, some of the scary things were really scary. For example, they believed that there was nothing wrong with giving scripts write permission to the web server. Let's say, for instance, that a shopping cart for the web application was needed. Following the local standards, it was perfectly acceptable for the "temporary" shopping cart to be written to the web server. The rationale was that it was easier to work with flat files than to store information either on the client side or in a database table. Time permitting, they also could write a "batch job" to clean up the web server of abandoned shopping carts.
The shopping cart was actually coded in the manner that I described, but, thankfully, it was an absolute pig. It was both slow and temperamental, with items both appearing and disappearing seemingly at random in the shopping cart. In fact, my wife would probably say that it was like shopping with me: "Where did those Parmesan Goldfish and Double-Stuff Oreos come from?"
I still shudder whenever I think that there was actually a chance of that page making it into a production environment and that management thought it was a perfectly acceptable design.
Fortunately, the individual who developed that application was needed to fix a mainframe production problem, so I was assigned the task of making it work. I spent maybe a total of 10 minutes attempting to determine what was going wrong before deciding to try a somewhat more modern approach.
The initial concept was to make the client work for a living and to pad my resumé with a whole bunch of things that I had only played with in the past, such as the XMLHttpRequest object. The result was a separation between the presentation layer and the web server; it was easily ten times faster than any of their existing web pages. It could have been faster yet, but, unfortunately, I was unable to bypass the draconian rules that were in place regarding stored procedures. Stored procedures were, in a word, forbidden, being considered as both too confusing to write and of no use. Argh! I was one step away from a three-tiered architecture.

之前,我们去的任何进一步,这是一个很好的时间去检讨如何平均网站工程,如果只看到之间的反差,它和Ajax的网站。与传统的网站,这是不平常的同一页上要经过卸载/重新加载周期多次进展到下一个合乎逻辑的一页。一些正当理由解释为什么这些卸载/重新加载周期的发生,包括从HTML中选择对象,其内容是根据其他选择对象简单地坏的投入,陷入对服务器端。在年底,结果看来,不少喜欢的数字, 8月1日。
8月1日的数字。传统的卸载/重新加载周期
来自GOOGLE.COM

即使是在早年,当油漆尚未完全干燥,对万维网,卸载/重新加载周期得到岁的漂亮的快速,特别是在拨号上网的速度。现在与改进的可用带宽,事情不同,它是旧的权利,从一开始。举例来说,几年前,我作为一个顾问公司,这是试图得到处理,对整个“网站的事, ”因为他们交给它。他们的做法是波魔术棒,并在“ poof ! ”情报系统程序员是现在的Web开发。虽然这种做法的工作,经过时装,它导致了一些有趣的网站,而不是发展的标准。
他们的标准去比较大致相同的努力使网页很像主机情报系统的页面尽可能。这些标准相结合的怪异和可怕的。一个例子,怪异的是,最初所有的滚动,不管方向,被禁止,因为它是被认为不专业。这意味着,有必要打破了表格的网页转换为单一pagesized块,并为用户提供一些手段,导航。
在另一方面,一些对可怕的东西,真的是可怕的。举例来说,他们认为有没有错,给脚本写权限到Web服务器。让我们说,例如,购物车为Web应用程序是必要的。之后,地方标准,它是完全可以接受为“临时”购物车须以书面向Web服务器。理由是,这是比较容易的工作,与单位的档案比存储信息,无论是在客户端或在一个数据库表。时间允许,他们还可以写一个“批处理作业”清洁Web伺服器被遗弃的购物车。
购物车,实际上是在编码的方式,我所描述的,但值得庆幸的是,这是一个绝对的猪。这是缓慢和气质,与项目都出现和消失,看似随意在购物车。其实,我的妻子可能会说,这是像购物与我说: “在哪里那些Parmesan干金鱼和双东西oreos从何而来? ”
我仍不寒而栗,每当我认为有,实际上是一个机会,该网页,使之成为生产环境和管理思想,这是一个完全可以接受的设计。

在我们其中任一进一步之前去,这是好时候回顾平均网站怎么运作,如果只看在它和Ajax网站之间的对比。一个传统网站,不是异常的对同一页审阅卸载或再装周期多次在进步对下逻辑页之前。一定数量的理由解释这些为什么卸载或再装周期发生,范围从内容根据对完全风行服务器端坏输入的其他精选的对象的HTML精选的对象。最后,结果相当多看起来图8-1。
Figure 8-1。 传统卸载或再装周期

Even在早期,当油漆不是充分地干燥的在万维网,卸载或者再装周期得到了老相当快,特别是以拨号速度。 现在与可利用被改进的带宽,事是不同的; 它从开始是老。例如,几年前,我工作了作为设法总体上得到把柄“网事的公司的一位顾问”,当他们提到了它。 他们的方法将挥动一支不可思议的鞭子,和, “女人气的男子! “CICS程序员现在是网络开发商。 虽然这种方法在时尚以后运作,它导致了一些相当有趣的网开发标准。
Their标准几乎去沿设法的线做网页很象计算机主机CICS页尽可能。 这些标准是组合的古怪和可怕。 例子的古怪是最初所有卷动,不管方向,禁止了,因为认为是业余的。 这意味着闯进表格网页唯一pagesized大块和提供用户以航海有些手段是必要的。在另一只手,某些可怕事是真正地可怕的。 例如,他们相信给剧本没有错给网络服务器写作许可。 例如,假设Web应用程序的购物车是需要的。从事地方标准,给网络服务器被写“临时”购物车是完全可接受的。 理论基础是与平面文件一起使用比存储信息在客户端或在数据库表里是更加容易的。计时允许,他们可能也写“成批作业”清扫被放弃的购物车网络服务器。
The购物车实际上被编码了以我描述的方式,但是,感激地,它是一头绝对猪。 它是慢和气质的,当项目表面上随机出现和消失在购物车。 实际上,我的妻子大概说它是象购物与我: “做了的地方那些巴马干酪金鱼和双重材料Oreos来自?”
I仍然发抖,每当我认为实际上有做它的那页的机会成生产环境,并且管理认为它是一个完全可接受的设计。

来自yahoo.com
温馨提示:答案为网友推荐,仅供参考
第1个回答  2008-05-20
太长了,才这点分.
第2个回答  2008-05-20
确实,而且没有段落,看着眼晕,不想翻译
相似回答