PHP毕业设计英文文献翻译

PHP毕业设计英文文献翻译
PHP毕业设计英文文献翻译

本科毕业设计(论文)

外文参考文献译文及原文

学院信息工程学院

专业信息工程(电子信息工程方向) 年级班别2004级(4)班

学号3104002975

学生姓名陈英权

指导教师刘喜英

2008年 6 月5 日

目录

外文参考文献译文

1为什么选择PHP ......................................... 错误!未定义书签。2如果你是编程新手 ...................................... 错误!未定义书签。3写一个基本的PHP程序 .................................. 错误!未定义书签。4编程语法 .............................................. 错误!未定义书签。5嵌入式语言如何工作 .................................... 错误!未定义书签。6服务端和客户端脚本 .................................... 错误!未定义书签。7运行你的程序 .......................................... 错误!未定义书签。

外文参考文献原文

1Why PHP? ............................................... 错误!未定义书签。2If You Are New to Programming .......................... 错误!未定义书签。3Writing a Basic PHP Program ............................ 错误!未定义书签。4Programming Syntax ..................................... 错误!未定义书签。5How Embedded Programming Works ......................... 错误!未定义书签。6Server-side Versus Client-side Scripting ............... 错误!未定义书签。

7 Running Your New Program .............................. 错误!未定义书签。

1

1 为什么选择PHP

对于Web编程来说,PHP是一个很好的选择。它较其它语言(包括其它面向Web 的语言)有许多优点。为了得到一个清晰的理解(和常见的面向Web的语言相比),让我们将它们比较一下。

ASP是微软的网络开发环境(它本身不是一门开发语言,因为它允许程序员在ASP 中选择其它语言进行开发,如VBScript或JScript。)ASP虽然简单,但它太过于简单了,以至于不能使用更复杂的逻辑和算法。

除了ASP的过分简单,很多公司发现很难在微软的ASP许可证上节约成本。即使不考虑硬件成本,微软的Web服务器就要数千美元,而基于UNIX操作系统的、可运行PHP的Web服务器则是免费的。

另一种Web使用的知名语言是Sun Microsystems公司的Java。Java是平台独立的语言(在一个系统上用Java开发的程序可以不经过任何修改,就可以运行在其它系统上)。

尽管Java的确有它的优点,但它在开发时间、开发成本和执行速度上却有明显的劣势。Java开发是耗时的,因为Java工程要遵循严格的规则(Java强制的),这需要进行大量的规划。另外,Java开发周期长,费用成本高,Java程序员的待遇也较高。因此Java程序开发的成本远远高于其它语言开发的成本。通过我们的比较可以看出,即使项目开发结束后,以Java语言写的程序在运行时所花费的时间比其它语言的时间还要长。

总的来说,和Java相比,PHP的表现很出色。一个相似的工程以PHP语言开发,要比用Java开发节省两三倍的时间。最重要的是,虽然最终的程序都可以运行多种平台上(如Java),而PHP的程序则运行的更快。

另一种开发Web程序的常用语言是Perl。Perl与PHP一样,是一个可运行在多个平台上的开源项目。事实上,Perl的历史远远要比PHP长。在PHP之前,Perl被认为是最好的Web开发语言。然而,在过去的几年中,在Web开发领域,PHP赢得了比Perl 更好的口碑。因为PHP语言本身集成了大量的功能模块,而要在Perl中使用这些功能,你就不得不单独下载许多额外的功能模块。这样,当程序从一个系统转移到另一个系统时,就会容易产生问题,因为Perl不得不从自己的CPAN上下载相应的功能模块。

最后要比较的语言是C。C语言已经存在很长的时间了;它已被用在各种各样的计算机中,从大型主机到个人PC都可见到它的身影。如果你了解C语言的话,你就会知

道用C语言开发Web程序会存在一些问题。为了用C语言开发一个Web程序,在你着手构思你的实际任务时,你将不得不着手实现所有Web程序本身就应该具备的功能(如采集HTML表单提交的数据)。而PHP语言提供了所有的Web常用或者并不是很常用的功能,可以允许程序员将更多的精力放在实际的任务中。

就其它的Web开发语言与PHP语言之间的比较而言,它们之间还存在很多不同。在Internet上将PHP与Java,Perl,ASP等语言进行比较的文章也很多。但是一旦你拥有了PHP的编程经验,你可能就会发现,在选择开发语言时,你会努力的说服你的客户或老板,允许你使用PHP来进行开发,而不是选择其它的语言。如果出现问题,你可以通过搜索Internet找到大量基于这些问题的有用信息。

PHP的使用是没有限制的。早期的版本使用的是单独的跟踪程序。而随着时间的推移,这个简单的跟踪程序已经被包含在语言的内部了。

PHP的主要用途,当然不只是用来跟踪的了;它还可以做许多其它的事情。为了让你理解PHP可以做什么,下面介绍了一些PHP的常见用途:

?反馈表单

?购物车和其它类型的电子商务系统

?用户注册,访问控制,以及在线订阅服务

?客户登记

?讨论和留言板

2如果你是编程新手

如果你是一个从来没有写过程序的新手,这个想法可能有点吓人。大多数程序员可能会告诉你(如果他们愿意承认),他们刚开始学习编程的时候,也有点无从下手。然而,编程的过程根本不是那么难,相反却很享受,因为你不需要有多高的智商来适应它。

当你写程序的时候,你的主要目的就是把你的想法翻译成计算机能够识别的语言。例如,如果你是教人如何做汉堡包,你会首先描述将牛肉做成牛肉饼的过程。然后,你会告诉他如何把汉堡包放在烤架上,烤多长时间,最后,如何把它们拿下来。

当然,仅仅因为你能描述制作汉堡包的过程,并不意味着PHP能够在任何时间、任何地点为你做任何事情。重点是,如果你能像我刚才描述制作汉堡包的过程那样,描

述你的想法及思路,你就可以写程序。

写程序的过程就是告诉PHP如何做事情的过程。当你读完本文的时候,你就会明白围绕在PHP程序背后的所有概念,这些概念就像描述制作汉堡包的过程一样。对于本文,你读的越透,你明白的概念就越多,你向PHP描述的任务就越准确。因此,如果你很快学会用PHP程序来实现你的需求和想法,你就不会再感觉到烦恼了。

整体说来,有些编程问题可能是非常复杂的。例如,创建一个购物车,那并不是一个简单的事任务。然而,你可以将这个大任务分成几个小任务。这些小任务可能仅仅包括添加和删除的操作,而添加和删除的操作还可以被分解成更小的任务。你可以看到,不管任何任务,无论它有多复杂,只要可以分解,分解后的任务简单到不需要再对它进行分解了,你就可以实现这个任务。当你创建更复杂的程序时,你就会对这个过程有更加细致的体会了。

3写一个基本的PHP程序

在我们开始写一个实际程序的时候,要看看创建程序的步骤。这些步骤并不复杂;实际上,这个过程和你创建一个HTML页面,并将它同步到你的服务器上的过程基本一致。

和创建一个HTML页面不同,创建一个PHP程序,你要面对的是文件中的代码,而不是那些所见即所得(WYSIWYG)的内容。如果你要利用这些所见即所得的编辑器开发程序(如微软的FrontPage,Macromedia Dream-Weaver,微软Word等),你可能还要花费一些时间来研究代码。

但令人兴奋的是,没有人也没有任何理由要求你,不能使用所见即所得的编辑器来编辑程序。然而,你可能会失望的发现,许多所见即所得的编辑器会修改或删除PHP 文件中的代码。积于这个原因,分析你的编辑器是如何处理PHP代码的,这很重要。如果你想用你的编辑器来进行这种测试,要先创建一个新文件,保存,后缀名为.php。然后,切换到编辑器的源码视图,或在一个独立的其它编辑器中打开这个文件(如记事本等),输入接下来本文要引用的代码,并确保没有任何错误。

当你输入完成后,保存文件并切换回WYSIWYG编辑器视图。如果你看到你的PHP 代码,不用管它,继续键入几行文字。如果你想添加一些Web页面中常用的元素,如

表格和图片等,就请继续插入这些内容,保存,并关闭WYSIWYG编辑器。

现在,在记事本中打开该文件,看看你的PHP代码是否发生了变化,包括代码格式上的改变,特殊字符的转换(如< <;)以及完全被删除的代码。

你可能会发现PHP代码被以某种方式改变了。因为PHP代码对一些WYSIWYG编辑器导致的变化是敏感的,如果你在写PHP代码的时候,使用WYSIWYG编辑器,这就很难让人理解了。PHP社区不会因为这个原因,而建议你不要使用WYSIWYG编辑器,因为使用这样的编辑器有时还是可以加快程序的开发速度的。

现在,当你读代码或者测试本文中的程序时,请试着习惯使用这些纯文本编辑器吧。当你习惯使用纯文本编辑器的时候,再使用其它的编辑器,那就容易上手的多了。到那时,你就可以识别出编辑器自身生成的代码,也就能更容易的找出提高你工作效率的方法了。

不管你现在处理PHP代码的编辑器是什么,如果你正在用的是WYSIWYG编辑器,我建议你使用如记事本这样的纯文本编辑器,或者一些带有语法加亮功能的纯文本编辑器。这些编辑器可以保证你的代码就像刚输入时的一样(WYSIWYG编辑器倾向于以它自己的规则来格式化你的代码,而这种功能对于编辑PHP代码来说并不需要)。即使你的编辑器没有改变你的PHP代码,但如果它不是一个严格基于文本的编辑器,仍然会在随后的运行中可能会出现问题。

这是创建和浏览HTML文件的一般过程:

1.创建HTML文件(添加文本,表格,图像,或声音等)。

2.保存HTML文件,命名为filename.html。

3.用FTP程序把你的文件上传到Web服务器。

4.用你的浏览器访问Web服务器上的文件(如,http:/ / https://www.360docs.net/doc/cd15680714.html,

/filename.html)。

创建PHP程序的过程大致与创建HTML文件的过程相同:

1.创建HTML文件(包含文字,表格,图像,或声音),并在适当的位置插入PHP 代码。

2.保存PHP文件,命名为filename.php。

3.使用FTP程序上传你的文件到Web服务器。

4.用你的浏览器访问Web服务器上的文件(如http:/ / https://www.360docs.net/doc/cd15680714.html,

/filename.php)。

可见,创建PHP程序和创建常规HTML程序的过程没有多大不同。

在了解了创建PHP程序的大致过程后,请看一下你的第一个PHP程序。看过代码你将了解,如何将PHP文件与普通的HTML文件相区分,如何把它上传到你的Web服务器上,以及在浏览器中页面看起来应该是什么样的。

PHP

PHP

/* Display a text message */

echo “Hello, world! This is my first PHP program.”;

?>

这个文件看起来和一个普通的HTML文件很像。注意,文件中包含了典型的HTML 标签。事实上,如果你忽略标签间的内容,你也可以把该文件重新命名为.html的后缀名。

然而,这个文件的确包含了PHP代码,所以它必须被命名为.php后缀名。PHP代码在两个PHP标签之间(()),如图1.1所示。PHP标签之间的命令是“echo”(PHP的关键字,意思是“显示文本”)随后跟的是要显示的文本。结果很快被显示出来,“echo”后面的文本看起来就像是包含在HTML文件本身一样,似乎就没有PHP代码存在过。

图1.1:这幅图显示了一个基本的PHP程序的不同部分。

在看输出的结果之前,我们先把这个文件上传到Web服务器上并且运行。按照上面写PHP程序的过程,将它保存为PHP文件(.php后缀名),并上传到你的Web服务器。

一旦你的程序被上传到您的Web服务器,在你的浏览器中输入该文件地址。你应该得到一个返回的页面,它看起来应该非常类似如下的截图。

图1.2:当你访问你的程序时应该看到这样的页面。

4编程语法

当你访问刚刚上传的PHP程序时,该PHP程序在返回浏览器之前是经历了一个复杂的过程的。PHP文件中的相关命令就是在这个过程中被执行的;在这个例子中,是一个单独的echo语句。图1.3显示当PHP文件发送请求时历经的过程。

图1.3:不像HTML文件,PHP文件在被返回浏览器时执行了文件中包含的PHP命令。

PHP解释器(或解析器)程序,正如上图中看到的那样。它读取PHP程序并执行它所能理解的命令。(如果PHP碰巧遇到一个它不能理解的命令,它会停止继续解析该文件,并返回一个错误消息给浏览器。)

每当PHP在给Web服务器发送请求时,该PHP解释器在给浏览器反馈信息前,必须先处理PHP文件中的命令。因为PHP的每次运行,都必须调用相关的例程,以便执行这些命令。

这和编译型语言有所不同,如C或C + +,它们只被解释一次;C语言程序,直接被翻译成机器码(机器码直接由CPU处理)。PHP不得不解释程序中包含的命令,这些命令还在必须以PHP能够识别的形式给出。例如,如果有人走向你,用德语询问时间,你可能不知道他在说什么(除非你懂得德语或者这个人指着他的手腕)。同样地,如果我走到你面前说,用英文语美味问你,“现在几点了?“你可能也不知道我在说什么。

PHP也有类似的限制。语句(命令的集合,由特定字符组成,PHP能够识别的句子)必须以正确的命令格式给出。例如,你要在PHP中显示一条文本,你必须使用PHP能够识别的命令,如“echo”。同时,你必须把你的单词,以正确的顺序,用英语讲给别人。还要格式化要传递给PHP执行的语句,以便PHP解释器能够识别并执行。

语法,就是将PHP能够理解并执行的句子组织到一起的过程中要遵循的规则,这

就是PHP的开始和结束标签。PHP只解析在PHP标签之间的代码。而不在这其中的代码只是作为HTML页面的一部分返回,正如先前看到例子一样。

如下这个例子,该语句不能执行,即使该命令是PHP语言的命令:

echo “This won’t work.”

该语句不会执行,因为它没有遵循所有的语句必须以分号结尾的基本语法规则。一些特殊的语句不需要有分号,但不是很多(如do语句。)注意,PHP语句必须以分号结束。下面的语句能够正确执行并输出:

echo “This works!”;

你可能注意到了,即使两个语句在同一行,但语句间并没有分号分隔,PHP并不会报错。这是PHP的一个特性,它使得插入一个单独的echo语句变得更加容易。如果你想在第一个echo语句运行后看到返回的错误提示,那么将这两个语句输出到不同的行,看起来就像这个样子:

echo “This won’t work.”

echo “This won’t work.”

代码不会运行,PHP将返回一个错误信息,因为没有分号来分隔这两个语句。

5嵌入式语言如何工作

通过前面的讲解,我们知道PHP代码必须封装在这两个PHP标签之间。在同一文件中,使用标签来分隔PHP代码和HTML代码,这就允许将PHP代码要处理的信息和HTML要显示的信息直接混合在一起。这使得PHP成为一种嵌入式编程语言,因为PHP代码被直接嵌入在HTML代码中了。

这个概念是相对较新的:在PHP语言出现之间,并没有程序要像HTML这样复杂的格式化显示的需求。显示在屏幕上的信息通常只是字母,数字,和空格,没有颜色,大小或其它的格式标记。

自从PHP作为Web编程语言出现以来,它便趋向于在HTML中使用,这大大增加了要返回给浏览器的信息量。PHP不仅要返回信息给用户,而且也需要正确的格式化这些信息。

为了使信息和标签能够简单混合,PHP代码被直接嵌入在HTML页面中。开篇的

例子比较清楚的演示了这一概念;程序里大部分是常规的HTML代码,但PHP也会插入一些适当的信息到页面中。

嵌入式编程,将使程序员的工作更为便捷;你可以在任何你想要插入代码的地方插入PHP代码,剩下的地方就写常规的HTML代码了。然而,别忘了用PHP标签封装你的PHP代码,否则你的代码将不能被解析,而是会被直接显示在HTML页面上。

下面的程序演示了一个嵌入式编程的例子:

/* File: hello_world.php –displays “Hello, World!”*/

?>

Hello, World!

Hello,

// Send “World!”to the visitor?s browser

echo “World!”;

?>

当Web服务器访问这个文件的时候,PHP解释器将会从头到尾的逐行执行文件中的命令。因此,PHP标签间处理的信息就随着echo语句一起返回给浏览器了。Web浏览器接收到的内容和如下代码所示效果相同:

Hello, World!

Hello, World!

然后浏览器就可以像显示其它HTML文件一样显示“Hello World!”信息了。

6服务端和客户端脚本

就像先前解释的一样,在信息返回浏览器之前,PHP代码要在Web服务器端执行,这被称为服务器端处理。大多数的Web编程都是以这种形式存在的:像ASP、PHP、Perl、C等。

然而,还有一些语言是在浏览器接收到返回的页面时进行处理的。这就是所谓的客户端处理。最常见的例子就是JavaScript。

这可能会导致逻辑上的一个有趣的问题。下面的示例演示了这种情况:

多数情况下,这么写代码的程序员通常希望只有一个echo语句被执行。然而,这两句都将执行,页面将停留在生成错误的JavaScript页面(因为echo语句中的信息不是有效的JavaScript代码)。如果你还不是很清楚,继续看下面的例子;如下的代码会让你更加明确。这段代码是从以前的代码片段中摘录下来的,注意JavaScript是原封不动的,但PHP代码已经被调用了。PHP完全忽略了JavaScript代码:

正如你所看到的,这会导致JavaScript执行时的错误。将PHP和JavaScript代码混合使用要小心:可以这样做,但是要注意,PHP将永远无视JavaScript的存在。为了成功地将二者结合起来,用PHP输出JavaScript代码是非常必要的。

下面的例子就是这么做的:

7运行你的程序

按照本文开始介绍的过程,尝试运行这个程序。

你将在你的浏览器里看到“Hello World!“。

1Why PHP?

PHP is an excellent choice for Web programming. It has many advantages over other languages, including other Web-oriented languages. To get a very general understanding of how the common Web programming languages compare, let?s compare them.

ASP is Microsoft?s Web programming environment. (It?s not a language itself because it allows the programmer to choose from a few actual languages, such as VBScript or JScript.) ASP is simple, but too simple for programs that use complex logic or algorithms.

Besides ASP?s over-simplicity, many companies find it hard to budget for the expense of Microsoft licenses. Without even considering hardware costs, a Microsoft server could cost thousands of dollars in licensing, whereas a comparable Unix-based operating system running PHP could be free.

Another language well known for its use on the Web is Sun Microsystems?Java. Java is praised for being platform-independent (a program written in Java can be run on virtually any computer without having to make any modifications to the program).

Although Java does have its advantages, it has serious downsides in development time, development cost, and execution speed. Java development is time-consuming because projects in Java must follow strict rules (imposed by Java) that require extensive planning. In addition to high development time, the cost is also high because Java developers are expensive to hire. The cost is therefore potentially much higher than it would be if the project were done in another language. Even after the project is built, a program written in Java takes longer to run than one written in one of the other languages to which we?re comparing.

Overall, when compared to Java, PHP comes out with flying colors. It is not

unheard of for a Java project to take two or three times the time to develop compared to a similar project in PHP. On top of that, the final program runs on a wide array of platforms (like Java), except the PHP program runs faster.

Another language commonly used for writing Web programs is Perl. Perl, like PHP, is an open-source project developed to run on many platforms. In fact, Perl has been around longer than PHP. Before PHP, Perl was generally accepted as the best Web programming language. However, during the past few years, PHP has earned a reputation for being better than Perl for Web programming because PHP provides a vast number of features as part of PHP itself, whereas you would have to download separate modules to get the same functionality in Perl. This leads to problems when programs are transferred from one system to another because the modules have to be downloaded from Perl?s exhaustive (and confusing) module archive known as CPAN.

The last language to compare PHP to is C. C has been around for a long time; it has been used in a variety of computers, from mainframes to consumer PCs. The problems creating a Web program in C are obvious if you know C. To develop a Web program in C, you have to develop all of the basic functionality of Web programming (such as collecting the data from HTML forms) before you can even begin to think about the actual task at hand. Since PHP provides for all the common (and many uncommon) Web programming tasks, writing such a program in PHP allows the programmer to get straight to the point.

You could write volumes on PHP?s advantages over other programming languages when it comes to Web programming. There are many, many articles on the Internet comparing PHP to Java, Perl, ASP, and others. Once you?ve earned some experience programming in PHP, you might find yourself trying to convince your client or employer to allow you to use it instead of another language. If that problem arises, you should find plenty of helpful information by doing a Web search.

PHP has an unlimited number of uses. The original version was used solely to track who was viewing the creator?s resume. Over time, however, that simple

tracking program evolved into a language of its own.

PHP?s primary use certainly isn?t to track resumes anymore; it has grown to be able to do that and just about anything else. To give you a better idea of what PHP can do, here are some of its common uses:

?Feedback forms

?Shopping carts and other types of e-commerce systems

?User registration, access control, and management for online subscription services

?Guest books

?Discussion and message boards

2If You Are New to Programming

If you?ve never written a computer program before, the whole idea may be quite intimidating. Most programmers will probably tell you (if they aren?t embarrassed to admit it) that they were intimidated when they began. However, the programming process isn?t all that difficult and, contrary to popular belief, you don?t have to have an extremely high IQ to be good at it.

When you write a program, your main goal is to translate your idea into a language that the computer can understand. For example, if you were teaching a person how to cook hamburgers, you would first describe the process of forming the ground beef into patties. Then, you would tell the person how to put the burgers on the grill, how long to leave them there, and finally how to remove them.

Of course, just because you can describe the process of making hamburgers doesn?t mean PHP is going to be cooking anything for you anytime soon. The point is, if you can describe a process like I just described making hamburgers, you can write a program.

Writing a PHP program is simply the process of describing to PHP how to do something. By the time you?ve finished reading this article, you will understand

all the concepts behind writing a PHP program. Those concepts are like the words and sentences used to describe hamburgers. The more you read this article, the more “words”you will understand, and the better you will be able to “describe”your task to PHP. Thus, you will learn to write PHP programs to suit whatever need or idea you have, and soon it won?t be any more intimidating than telling someone how to cook hamburgers.

Some programming problems might be very complex when examined as a whole. For example, creating a shopping cart is definitely not a simple task. However, a shopping cart can be broken into a few smaller tasks. Those tasks might include adding and removing items, which are both tasks that can break into even smaller tasks. You will find that any task, no matter how complex, can be broken into smaller ones until each task is simple enough that breaking it down further is unnecessary. This process is explained in more detail when you begin creating programs with more complexity

3Writing a Basic PHP Program

Before we get into an actual program, let?s take a look at the steps we?ll take to create one. The steps aren?t complicated; in fact, they?re basically the same as the steps you use when creating an HTML page and publishing it to your server.

Unlike creating an HTML page, creating a PHP program requires that you actually work with the source code of the file as opposed to a “what you see is what you get”(WYSIWYG) approach. If you?re used to using a WYSIWYG program (such as Microsoft FrontPage, Macromedia Dream-Weaver, or Microsoft Word), it may take you some time to get used to looking at the source code.

The good news is there?s no reason that you can?t continue to use a WYSIWYG editor to create an HTML design for your program. However, you may be disappointed to find that many WYSIWYG editors mangle or even delete vital PHP code from your files. For this reason, it is important to find out how your particular editor handles PHP code. If you want to test your WYSIWYG to

see how it handles PHP code, create a new file, naming it with a .php extension. Then, switch to your editor?s source view or open the file in a separate program, such as Notepad and enter the program shown in the first example later in the chapter, making sure not to make any mistakes.

When you?re finished, save the file and switch back to the WYSIWYG editor. If you see your PHP code, work around it and type a few lines of text. If you want, add some common elements that you include in your Web pages, such as tables and images. Save the file again and close all the open editors.

Now, open the file in Notepad and look at the PHP code. Look for any changes, including changes in the way the code is formatted, special characters that have been converted into codes (such as < to <), and code that has been completely removed.

You will probably find that the PHP code has been changed in some way. Because PHP is sensitive to some of the changes a WYSIWYG editor might make, it?s almost impossible to use a WYSIWYG editor once you?ve started adding PHP code. The PHP community won?t tell you that using a WYSIWYG editor is a sign of weakness; doing so can speed things up a lot sometimes.

For now, try using a plain-text editor when you?re reading and experimenting with the examples in this article. When you?re comfortable with that, feel free to try it with whatever editor you want. By that time, you?ll be able to recognize code that the editor has mangled, and you?ll have an easier time finding what works best for you.

Regardless of how your current editor handles PHP code, if you are using a WYSIWYG editor, I suggest that you use an editor such as Notepad or one of the many free syntax-highlighting editors out there. Using one of these programs will ensure that your code stays just as you typed it (WYSIWYG editors tend to reformat things as they see fit, which isn?t desirable when coding PHP). Even if your editor passed the test, if it?s not a strictly text based (not WYSIWYG) editor, you might find yourself running into problems later.

Here is the process you might use in creating and viewing an HTML file:

1. Create your HTML file (add text, tables, images, or sounds).

2. Save your HTML file as filename.html.

3. Use an FTP program to upload your file to the Web server.

4. Point your browser to the address of the file on your Web server (for

example, https://www.360docs.net/doc/cd15680714.html,/filename.html).

The process you would use to create a PHP program is much the same:

1. Create your HTML file (containing text, tables, images, or sounds) and

insert PHP code where desired.

2. Save your PHP file as filename.php.

3. Use an FTP program to upload your file to the Web server.

4. Point your browser to the address of the file on your Web server (such as

https://www.360docs.net/doc/cd15680714.html,/filename.php).

The process of creating a PHP program isn?t much different from the process you follow to create a regular HTML page.

Now that you?ve seen the overall process, let?s take a look at our first PHP program. After reading the following example, you?ll learn what separates it from a normal HTML file, how to upload it to your Web server, and what the page should look like viewed in your browser.

PHP

PHP

/* Display a text message */

echo “Hello, world! This is my first PHP program.”;

?>

This file looks a lot like a regular HTML file. Notice that the file has HTML

tags typical of those you would find in any HTML file. In fact, if you disregard everything between the tags, you might as well rename this file with an .html extension.

However, this file does contain PHP code, so it must be named with a .php extension. The PHP code lies between the PHP tags () as shown in Figure 1.1. The command between the PHP tags is echo (PHP?s word for “add the following text to the page”) followed by the text to display. The output, which will be shown soon, looks just as if the text after echo had been in an HTML file itself and no PHP code ever existed.

Figure 1.1: This diagram shows the different parts of a basic PHP program.

Before we look at the output, let?s upload this file to a Web server and run it. Follow the process outlined previously to write the program, save it as a PHP file (with a .php extension), and upload it to your Web server.

Once your program is uploaded to your Web server, type its address into your browser. You should get a page back that looks very similar to the screenshot in Figure 1.2.

本科毕业设计文献综述范例(1)

###大学 本科毕业设计(论文)文献综述 课题名称: 学院(系): 年级专业: 学生姓名: 指导教师: 完成日期:

燕山大学本科生毕业设计(论文) 一、课题国内外现状 中厚板轧机是用于轧制中厚度钢板的轧钢设备。在国民经济的各个部门中广泛的采用中板。它主要用于制造交通运输工具(如汽车、拖拉机、传播、铁路车辆及航空机械等)、钢机构件(如各种贮存容器、锅炉、桥梁及其他工业结构件)、焊管及一般机械制品等[1~3]。 1 世界中厚板轧机的发展概况 19世纪五十年代,美国用采用二辊可逆式轧机生产中板。轧机前后设置传动滚道,用机械化操作实现来回轧制,而且辊身长度已增加到2m以上,轧机是靠蒸汽机传动的。1864年美国创建了世界上第一套三辊劳特式中板轧机,当时盛行一时,推广于世界。1918年卢肯斯钢铁公司科茨维尔厂为了满足军舰用板的需求,建成了一套5230mm四辊式轧机,这是世界上第一套5m以上的轧机。1907年美国钢铁公司南厂为了轧边,首次创建了万能式厚板轧机,于1931年又建成了世界上第一套连续式中厚板轧机。欧洲国家中厚板生产也是较早的。1910年,捷克斯洛伐克投产了一套4500mm二辊式厚板轧机。1940年,德国建成了一套5000mm四辊式厚板轧机。1937年,英国投产了一套3810mm中厚板轧机。1939年,法国建成了一套4700mm 四辊式厚板轧机。这些轧机都是用于生产机器和兵器用的钢板,多数是为了二次世界大战备战的需要。1941年日本投产了一套5280mm四辊式厚板轧机,主要用于满足海军用板的需要。20世纪50年代,掌握了中厚板生产的计算机控制。20世纪80年代,由于中厚板的使用部门萧条,许多主要产钢国家的中厚板产量都有所下降,西欧国家、日本和美国关闭了一批中厚板轧机(宽度一般在3、4米以下)。国外除了大的厚板轧机以外,其他大型的轧机已很少再建。1984年底,法国东北方钢铁联营敦刻尔克厂在4300mm轧机后面增加一架5000mm宽厚板轧机,增加了产量,且扩大了品种。1984年底,苏联伊尔诺斯克厂新建了一套5000mm宽厚板轧机,年产量达100万t。1985年初,德国迪林冶金公司迪林根厂将4320mm轧机换成4800mm 轧机,并在前面增加一架特宽得5500mm轧机。1985年12月日本钢管公司福山厂新型制造了一套4700mmHCW型轧机,替换下原有得轧机,更有效地控制板形,以提高钢板的质量。 - 2 -

英文文献翻译

中等分辨率制备分离的 快速色谱技术 W. Clark Still,* Michael K a h n , and Abhijit Mitra Departm(7nt o/ Chemistry, Columbia Uniuersity,1Veu York, Neu; York 10027 ReceiLied January 26, 1978 我们希望找到一种简单的吸附色谱技术用于有机化合物的常规净化。这种技术是适于传统的有机物大规模制备分离,该技术需使用长柱色谱法。尽管这种技术得到的效果非常好,但是其需要消耗大量的时间,并且由于频带拖尾经常出现低复原率。当分离的样本剂量大于1或者2g时,这些问题显得更加突出。近年来,几种制备系统已经进行了改进,能将分离时间减少到1-3h,并允许各成分的分辨率ΔR f≥(使用薄层色谱分析进行分析)。在这些方法中,在我们的实验室中,媒介压力色谱法1和短柱色谱法2是最成功的。最近,我们发现一种可以将分离速度大幅度提升的技术,可用于反应产物的常规提纯,我们将这种技术称为急骤色谱法。虽然这种技术的分辨率只是中等(ΔR f≥),而且构建这个系统花费非常低,并且能在10-15min内分离重量在的样本。4 急骤色谱法是以空气压力驱动的混合介质压力以及短柱色谱法为基础,专门针对快速分离,介质压力以及短柱色谱已经进行了优化。优化实验是在一组标准条件5下进行的,优化实验使用苯甲醇作为样本,放在一个20mm*5in.的硅胶柱60内,使用Tracor 970紫外检测器监测圆柱的输出。分辨率通过持续时间(r)和峰宽(w,w/2)的比率进行测定的(Figure 1),结果如图2-4所示,图2-4分别放映分辨率随着硅胶颗粒大小、洗脱液流速和样本大小的变化。

使用PHP设计与实现旅游信息网站文献综述

新疆农业大学 专业文献综述 题目: 使用PHP设计与实现旅游信息网站文献综 述 姓名: 学院: 计算机与信息工程学院 专业: 信息管理与信息系统 班级: 051 学号: 指导教师: 李萍职称:讲师 2009年12月04日 新疆农业大学教务处制

使用PHP设计与实现旅游信息网站 Xxxx,李萍 摘要:随着近年来旅游业的蓬勃发展 ,旅游信息网站的建立与完善也越来越重要。本文阐述了旅游信息网站的概念以及功能 ,并分析旅游信息网站的现状 ,针对现状提出建立旅游信息网站的原则和对策。希望本文的研究能引起有关方面对旅游信息网站的重视 ,并为今后旅游信息网站的建立提供一些可行性建议。 关键词:旅游信息;Web;PHP 前言: 随着网络时代的发展,特别是近几年,个人生活几乎离不开网络。国内网络系统大多采用ASP开发,能满足个人应用,但是在网站建设之间缺少一种完美的选择,导致许多网站建设并没有达到理想的目标。本文章为此考虑,通过基于PHP开发网站,能给开源界带来新的气息,能为我们提供更优秀的网络交流方式,PHP开发网站的应用能提高资源和知识共享的使用效率,给个人生活和企业办公带来更舒适,智能的服务。 现代信息技术革命的迅猛发展,正冲击并进而改变着经济和社会结构。信息化的程度已经成为一个国家,一个企业,一个组织仍至一个个人发展的基础和竞争成败的关键。在信息社会中,网站作为信息转播速度快,覆盖面广的信息发布载体,已经被普遍视为“第四媒体”,成为一个社会组织展示整体形象的平台,实现远程信息交互的平台,采集,整合信息资源的平台。在互联网上有位置,有形象,有信息,既是国际科技界公认的交流方式,也是科技社团向公众展示自我和开展社会服务的主要途径。[1] 1 旅游信息网的发展现状分析 1.1 旅游信息网站概况 旅游信息网站是城市中为游客(特别是散客),市民提供信息咨询,投诉,救援等服务的一种旅游设施,具有较强的公益性。[5]旅游信息网站为公众提供旅游信息服务。旅游信息网站就是利用电子技术,信息技术,数据库技术和网络技术手段,充分发挥各类旅游信息资源的效用,使之成为旅游业发展的生产力,成为推动旅游产业发展和管理上水平的重要手段。具体地说旅游信息网站就是把景点,景区,饭店,旅行社,交通,气候等与地理位置和空间分布有关的旅游信息,通过技术手段采集,编辑,处理转换成用文字,数字图形,图像,声音,动画等来表示它们的内容或特征。 旅游信息是指充分利用信息技术,数据库技术和网络技术,对旅游有关的实体资源,信息资源,生产要素资源进行深层次的分配,组合,加工,传播,销售,以便促进传统旅游业向现代旅游业的转化,加快旅游业的发展速度,提高旅游业的生产效率[9]。 1.2旅游信息网站分类 在介绍旅游信息网站的时候很自然要涉及旅游信息网站的概念,基于目前旅游信息网站应用的主要范围,可以将其理解为通常所说的旅游服务网站,它是为

毕业设计外文翻译附原文

外文翻译 专业机械设计制造及其自动化学生姓名刘链柱 班级机制111 学号1110101102 指导教师葛友华

外文资料名称: Design and performance evaluation of vacuum cleaners using cyclone technology 外文资料出处:Korean J. Chem. Eng., 23(6), (用外文写) 925-930 (2006) 附件: 1.外文资料翻译译文 2.外文原文

应用旋风技术真空吸尘器的设计和性能介绍 吉尔泰金,洪城铱昌,宰瑾李, 刘链柱译 摘要:旋风型分离器技术用于真空吸尘器 - 轴向进流旋风和切向进气道流旋风有效地收集粉尘和降低压力降已被实验研究。优化设计等因素作为集尘效率,压降,并切成尺寸被粒度对应于分级收集的50%的效率进行了研究。颗粒切成大小降低入口面积,体直径,减小涡取景器直径的旋风。切向入口的双流量气旋具有良好的性能考虑的350毫米汞柱的低压降和为1.5μm的质量中位直径在1米3的流量的截止尺寸。一使用切向入口的双流量旋风吸尘器示出了势是一种有效的方法,用于收集在家庭中产生的粉尘。 摘要及关键词:吸尘器; 粉尘; 旋风分离器 引言 我们这个时代的很大一部分都花在了房子,工作场所,或其他建筑,因此,室内空间应该是既舒适情绪和卫生。但室内空气中含有超过室外空气因气密性的二次污染物,毒物,食品气味。这是通过使用产生在建筑中的新材料和设备。真空吸尘器为代表的家电去除有害物质从地板到地毯所用的商用真空吸尘器房子由纸过滤,预过滤器和排气过滤器通过洁净的空气排放到大气中。虽然真空吸尘器是方便在使用中,吸入压力下降说唱空转成比例地清洗的时间,以及纸过滤器也应定期更换,由于压力下降,气味和细菌通过纸过滤器内的残留粉尘。 图1示出了大气气溶胶的粒度分布通常是双峰形,在粗颗粒(>2.0微米)模式为主要的外部来源,如风吹尘,海盐喷雾,火山,从工厂直接排放和车辆废气排放,以及那些在细颗粒模式包括燃烧或光化学反应。表1显示模式,典型的大气航空的直径和质量浓度溶胶被许多研究者测量。精细模式在0.18?0.36 在5.7到25微米尺寸范围微米尺寸范围。质量浓度为2?205微克,可直接在大气气溶胶和 3.85至36.3μg/m3柴油气溶胶。

毕业设计文献综述范文

四川理工学院毕业设计(文献综述)红外遥控电动玩具车的设计 学生:程非 学号:10021020402 专业:电子信息工程 班级:2010.4 指导教师:王秀碧 四川理工学院自动化与电子信息学院 二○一四年三月

1前言 1.1 研究方向 随着科技的发展,越来越多的现代化电器走进了普通老百姓的家庭,而这些家用电器大都由红外遥控器操控,过多不同遥控器的混合使用带来了诸多不便。因此,设计一种智能化的学习型遥控器,学习各种家用电器的遥控编码,实现用一个遥控器控制所有家电,已成为迫切需求。首先对红外遥控接收及发射原理进行分析,通过对红外编码理论的学习,设计以MSP430单片机为核心的智能遥控器。其各个模块设计如下:红外遥控信号接收,红外接收器把接收到的红外信号经光电二极管转化成电信号,再对电信号进行解调,恢复为带有一定功能指令码的脉冲编码;接着是红外编码学习,利用单片机的输入捕捉功能捕捉载波的跳变沿,并通过定时器计时记下载波的周期和红外信号的波形特征,进行实时编码;存储电路设计,采用I2C总线的串行E2PROM(24C256)作为片外存储器,其存储容量为8192个字节,能够满足所需要的存取需求;最后是红外发射电路的设计,当从存储模块中获取某红外编码指令后,提取红外信号的波形特征信息并进行波形还原;将其调制到38KHZ的载波信号上,通过三极管放大电路驱动红外发光二极管发射红外信号,达到红外控制的目的。目前,国外进口的万能遥控器价格比较昂贵,还不能真正走进普通老百姓的家中。本文在总结和分析国外设计的基础上,设计一款以MSP430单片机为核心的智能型遥控器,通过对电视机和空调的遥控编码进行学习,能够达到预期的目的,具有一定的现实意义。 1.2 发展历史 红外遥控由来已久,但是进入90年代,这一技术又有新的发张,应用范围更加广泛。红外遥控是一种无线、非接触控制技术,具有抗干扰能力强,信息传输可靠,功耗低,成本低,易实现等显著优点,被诸多电子设备特别是家用电器广泛采用,并越来越多的应用到计算机系统中。 60年代初,一些发达国家开始研究民用产品的遥控技术,单由于受当时技术条件限制,遥控技术发展很缓慢,70年代末,随着大规模集成电路和计算机技术的发展,遥控技术得到快速发展。在遥控方式上大体经理了从有线到无限的超声波,从振动子到红外线,再到使用总线的微机红外遥控这样几个阶段。无论采用何种方式,准确无误传输新信号,最终达到满意的控制效果是非常重要的。最初的无线遥控装置采用的是电磁波传输信号,由于电磁波容易产生干扰,也易受干扰,因此逐渐采用超声波和红外线媒介来传输信号。与红外线相比,超声传感器频带窄,所能携带的信息量少扰而引起误动作。较为理想的是光控方式,逐渐采用红外线的遥控方式取代了超声波遥控方式,出现了红外线多功能遥控器,成为当今时代的主流。 1.3 当前现状 红外线在频谱上居于可见光之外,所以抗干扰性强,具有光波的直线传播特性,不易产生相互间的干扰,是很好的信息传输媒体。信息可以直接对红外光进行调制传输,例如,信息直接调制红外光的强弱进行传输,也可以用红外线产生一定频率的载波,再用信息对载波进调制,接收端再去掉载波,取到信息。从信

计算机网络-外文文献-外文翻译-英文文献-新技术的计算机网络

New technique of the computer network Abstract The 21 century is an ages of the information economy, being the computer network technique of representative techniques this ages, will be at very fast speed develop soon in continuously creatively, and will go deep into the people's work, life and study. Therefore, control this technique and then seem to be more to deliver the importance. Now I mainly introduce the new technique of a few networks in actuality live of application. keywords Internet Network System Digital Certificates Grid Storage 1. Foreword Internet turns 36, still a work in progress Thirty-six years after computer scientists at UCLA linked two bulky computers using a 15-foot gray cable, testing a new way for exchanging data over networks, what would ultimately become the Internet remains a work in progress. University researchers are experimenting with ways to increase its capacity and speed. Programmers are trying to imbue Web pages with intelligence. And work is underway to re-engineer the network to reduce Spam (junk mail) and security troubles. All the while threats loom: Critics warn that commercial, legal and political pressures could hinder the types of innovations that made the Internet what it is today. Stephen Crocker and Vinton Cerf were among the graduate students who joined UCLA professor Len Klein rock in an engineering lab on Sept. 2, 1969, as bits of meaningless test data flowed silently between the two computers. By January, three other "nodes" joined the fledgling network.

php毕业设计外文翻译--通过PHP访问MySQL

原文: Getting PHP to Talk to MySQl Now that you’re comfortable using the MySQL client tools to manipulate data in the database, you can begin using PHP to display and modify data from the database. PHP has standard functions for working with the databas e.First, we’re going to discuss PHP’s built-in database functions. We’ll also show you how to use the The PHP Extension and Application Repository (PEAR) database functions that provide the ability to use the same functions to access any supported database. This type of flexibility comes from a process called abstraction. In programming interfaces, abstraction simplifies a complex interaction. It works by removing any nonessential parts of the interaction, allowing you to concentrate on the important pa rts. PEAR’s DB classes are one such database interface abstraction. The information you need to log into a database is reduced to the bare minimum. This standard format allows you to interact with MySQL, as well as other databases using the same functions. Similarly, other MySQL-specific functions are replaced with generic ones that know how to talk to many databases. For example, the MySQL-specific connect function is: mysql_connect($db_host, $db_username, $db_password); versus PEAR’s DB connect function: $connection = DB::connect("mysql://$db_username:$db_password@$db_host/$db_database"); The same basic information is present in both commands, but the PEAR function also specifies the type of databases to which to connect. You can connect to MySQL or o ther supported databases. We’ll discuss both connection methods in detail. In this chapter, you’ll learn how to connect to a MySQL server fromPHP, how to use PHP to access and retrieve stored data, and how to correctly display information to the user.

毕业设计英文翻译

使用高级分析法的钢框架创新设计 1.导言 在美国,钢结构设计方法包括允许应力设计法(ASD),塑性设计法(PD)和荷载阻力系数设计法(LRFD)。在允许应力设计中,应力计算基于一阶弹性分析,而几何非线性影响则隐含在细部设计方程中。在塑性设计中,结构分析中使用的是一阶塑性铰分析。塑性设计使整个结构体系的弹性力重新分配。尽管几何非线性和逐步高产效应并不在塑性设计之中,但它们近似细部设计方程。在荷载和阻力系数设计中,含放大系数的一阶弹性分析或单纯的二阶弹性分析被用于几何非线性分析,而梁柱的极限强度隐藏在互动设计方程。所有三个设计方法需要独立进行检查,包括系数K计算。在下面,对荷载抗力系数设计法的特点进行了简要介绍。 结构系统内的内力及稳定性和它的构件是相关的,但目前美国钢结构协会(AISC)的荷载抗力系数规范把这种分开来处理的。在目前的实际应用中,结构体系和它构件的相互影响反映在有效长度这一因素上。这一点在社会科学研究技术备忘录第五录摘录中有描述。 尽管结构最大内力和构件最大内力是相互依存的(但不一定共存),应当承认,严格考虑这种相互依存关系,很多结构是不实际的。与此同时,众所周知当遇到复杂框架设计中试图在柱设计时自动弥补整个结构的不稳定(例如通过调整柱的有效长度)是很困难的。因此,社会科学研究委员会建议在实际设计中,这两方面应单独考虑单独构件的稳定性和结构的基础及结构整体稳定性。图28.1就是这种方法的间接分析和设计方法。

在目前的美国钢结构协会荷载抗力系数规范中,分析结构体系的方法是一阶弹性分析或二阶弹性分析。在使用一阶弹性分析时,考虑到二阶效果,一阶力矩都是由B1,B2系数放大。在规范中,所有细部都是从结构体系中独立出来,他们通过细部内力曲线和规范给出的那些隐含二阶效应,非弹性,残余应力和挠度的相互作用设计的。理论解答和实验性数据的拟合曲线得到了柱曲线和梁曲线,同时Kanchanalai发现的所谓“精确”塑性区解决方案的拟合曲线确定了梁柱相互作用方程。 为了证明单个细部内力对整个结构体系的影响,使用了有效长度系数,如图28.2所示。有效长度方法为框架结构提供了一个良好的设计。然而,有效长度方法的

变电站_外文翻译_外文文献_英文文献_变电站的综合概述

英文翻译 A comprehensive overview of substations Along with the economic development and the modern industry developments of quick rising, the design of the power supply system become more and more completely and system. Because the quickly increase electricity of factories, it also increases seriously to the dependable index of the economic condition, power supply in quantity. Therefore they need the higher and more perfect request to the power supply. Whether Design reasonable, not only affect directly the base investment and circulate the expenses with have the metal depletion in colour metal, but also will reflect the dependable in power supply and the safe in many facts. In a word, it is close with the economic performance and the safety of the people. The substation is an importance part of the electric power system, it is consisted of the electric appliances equipments and the Transmission and the Distribution. It obtains the electric power from the electric power system, through its function of transformation and assign, transport and safety. Then transport the power to every place with safe, dependable, and economical. As an important part of power’s transport and control, the transformer substation must change the mode of the traditional design and control, then can adapt to the modern electric power system, the development of modern industry and the of trend of the society life. Electric power industry is one of the foundations of national industry and national economic development to industry, it is a coal, oil, natural gas, hydropower, nuclear power, wind power and other energy conversion into electrical energy of the secondary energy industry, it for the other departments of the national economy fast and stable development of the provision of adequate power, and its level of development is a reflection of the country's economic development an important indicator of the level. As the power in the industry and the importance of the national economy, electricity transmission and distribution of electric energy used in these areas is an indispensable component.。Therefore, power transmission and distribution is critical. Substation is to enable superior power plant power plants or power after adjustments to the lower load of books is an important part of power transmission. Operation of its functions, the capacity of a direct impact on the size of the lower load power, thereby affecting the industrial production and power consumption.Substation system if a link failure, the system will protect the part of action. May result in power outages and so on, to the production and living a great disadvantage. Therefore, the substation in the electric power system for the protection of electricity reliability,

毕业设计_英语专业论文外文翻译

1. Introduction America is one of the countries that speak English. Because of the special North American culture, developing history and the social environment, American English has formed its certain unique forms and the meaning. Then it turned into American English that has the special features of the United States. American English which sometimes also called United English or U.S English is the form of the English language that used widely in the United States .As the rapid development of American economy, and its steady position and strong power in the world, American English has become more and more widely used. As in 2005, more than two-thirds of English native speakers use various forms of American English. The philologists of the United States had divided the English of the United States into four major types: “America n creating”; “Old words given the new meaning”; “Words that eliminated by English”;“The phonetic foreign phrases and the languages that are not from the English immigrates”[1]. Compared to the other languages, American English is much simple on word spelling, usage and grammar, and it is one of the reasons that American English is so popular in the world. The thesis analyzes the differences between American English and British English. With the main part, it deals with the development of American English, its peculiarities compared to that of British English, its causes and tendency. 2. Analyses the Differences As we English learners, when we learning English in our junior or senior school, we already came across some words that have different spellings, different pronunciations or different expressions, which can be represented by following contrasted words: spellings in "color" vs. "colour"; pronunciations in "sec-re-ta-ry" vs. "sec-re-try";

本科毕业设计方案外文翻译范本

I / 11 本科毕业设计外文翻译 <2018届) 论文题目基于WEB 的J2EE 的信息系统的方法研究 作者姓名[单击此处输入姓名] 指导教师[单击此处输入姓名] 学科(专业 > 所在学院计算机科学与技术学院 提交日期[时间 ]

基于WEB的J2EE的信息系统的方法研究 摘要:本文介绍基于工程的Java开发框架背后的概念,并介绍它如何用于IT 工程开发。因为有许多相同设计和开发工作在不同的方式下重复,而且并不总是符合最佳实践,所以许多开发框架建立了。我们已经定义了共同关注的问题和应用模式,代表有效解决办法的工具。开发框架提供:<1)从用户界面到数据集成的应用程序开发堆栈;<2)一个架构,基本环境及他们的相关技术,这些技术用来使用其他一些框架。架构定义了一个开发方法,其目的是协助客户开发工程。 关键词:J2EE 框架WEB开发 一、引言 软件工具包用来进行复杂的空间动态系统的非线性分析越来越多地使用基于Web的网络平台,以实现他们的用户界面,科学分析,分布仿真结果和科学家之间的信息交流。对于许多应用系统基于Web访问的非线性分析模拟软件成为一个重要组成部分。网络硬件和软件方面的密集技术变革[1]提供了比过去更多的自由选择机会[2]。因此,WEB平台的合理选择和发展对整个地区的非线性分析及其众多的应用程序具有越来越重要的意义。现阶段的WEB发展的特点是出现了大量的开源框架。框架将Web开发提到一个更高的水平,使基本功能的重复使用成为可能和从而提高了开发的生产力。 在某些情况下,开源框架没有提供常见问题的一个解决方案。出于这个原因,开发在开源框架的基础上建立自己的工程发展框架。本文旨在描述是一个基于Java的框架,该框架利用了开源框架并有助于开发基于Web的应用。通过分析现有的开源框架,本文提出了新的架构,基本环境及他们用来提高和利用其他一些框架的相关技术。架构定义了自己开发方法,其目的是协助客户开发和事例工程。 应用程序设计应该关注在工程中的重复利用。即使有独特的功能要求,也

博物馆 外文翻译 外文文献 英文文献

第一篇: 航空博物馆与航空展示公园 巴特罗米耶杰·基谢列夫斯基 飞翔的概念、场所的精神、老机场的建筑---克拉科夫新航空博物馆理性地吸取了这些元素,并将它们整合到一座建筑当中。Rakowice-Czyzyny机场之前的旧飞机修理库为新建筑的平面和高度设定了模数比例。在此基本形态上进一步发展,如同裁切和折叠一架纸飞机,生成了一座巨大的建筑。其三角形机翼是由混凝土制成,却如同风动螺旋桨一样轻盈。这个机翼宽大通透,向各个方向开敞。它们的形态与组织都是依据内部功能来设计的。机翼部分为3个不平衡的平面,使内外景观在不断变化中形成空间的延续性,并且联系了建筑内的视觉焦点和室外的展览区。 新航空展示公园的设计连接了博物馆的8栋建筑和户外展览区,并与历史体验建立联系。从前的视觉轴线与通道得到尊重,旧的道路得到了完善,朝向飞机场和跑道的空间被限定出来。每栋建筑展示了一个主题或是一段飞行史。建筑周围伸展出巨大的平台,为特殊主题的室外展览提供了空间。博物馆容纳了超过150架飞机、引擎、飞行复制品、成套的技术档案和历史图片。这里的特色收藏是飞机起源开始的各种飞行器,如Jatho1903、Grade1909、莱特兄弟1909年的飞机模型和1911年的鸽式单翼机。 The first passage: Museum for aviation and aviation exhibition park Bartiomiej Kislelewski The idea of flying, the spirit of place, the structure of the historic airfield – the new Museum of Aviation in Krakow takes up these references intellectually and synthesizes them into a building. The old hangars of the former airport Rakowice Czyzyny set the modular scale for the footprint and the height of the new building. Developed from this basic shape, as if cut out and folded like a paper airplane, a large structure has been generated, with triangular wings made of concrete and yet as light as a wind-vane propeller. The wings are generously glazed and open in all directions. Their form and arrangement depend on the interior uses. In the floor plans of the wings, the three offset

java毕业论文外文文献翻译

Advantages of Managed Code Microsoft intermediate language shares with Java byte code the idea that it is a low-level language witha simple syntax , which can be very quickly translated intonative machine code. Having this well-defined universal syntax for code has significant advantages. Platform independence First, it means that the same file containing byte code instructions can be placed on any platform; atruntime the final stage of compilation can then be easily accomplished so that the code will run on thatparticular platform. In other words, by compiling to IL we obtain platform independence for .NET, inmuch the same way as compiling to Java byte code gives Java platform independence. Performance improvement IL is actually a bit more ambitious than Java bytecode. IL is always Just-In-Time compiled (known as JIT), whereas Java byte code was ofteninterpreted. One of the disadvantages of Java was that, on execution, the process of translating from Javabyte code to native executable resulted in a loss of performance. Instead of compiling the entire application in one go (which could lead to a slow start-up time), the JITcompiler simply compiles each portion of code as it is called (just-in-time). When code has been compiled.once, the resultant native executable is stored until the application exits, so that it does not need to berecompiled the next time that portion of code is run. Microsoft argues that this process is more efficientthan compiling the entire application code at the start, because of the likelihood that large portions of anyapplication code will not actually be executed in any given run. Using the JIT compiler, such code willnever be compiled.

毕业设计外文翻译格式实例.

理工学院毕业设计(论文)外文资料翻译 专业:热能与动力工程 姓名:赵海潮 学号:09L0504133 外文出处:Applied Acoustics, 2010(71):701~707 附件: 1.外文资料翻译译文;2.外文原文。

附件1:外文资料翻译译文 基于一维CFD模型下汽车排气消声器的实验研究与预测Takeshi Yasuda, Chaoqun Wua, Noritoshi Nakagawa, Kazuteru Nagamura 摘要目前,利用实验和数值分析法对商用汽车消声器在宽开口喉部加速状态下的排气噪声进行了研究。在加热工况下发动机转速从1000转/分钟加速到6000转/分钟需要30秒。假定其排气消声器的瞬时声学特性符合一维计算流体力学模型。为了验证模拟仿真的结果,我们在符合日本工业标准(JIS D 1616)的消声室内测量了排气消声器的瞬态声学特性,结果发现在二阶发动机转速频率下仿真结果和实验结果非常吻合。但在发动机高阶转速下(从5000到6000转每分钟的四阶转速,从4200到6000转每分钟的六阶转速这样的高转速范围内),计算结果和实验结果出现了较大差异。根据结果分析,差异的产生是由于在模拟仿真中忽略了流动噪声的影响。为了满足市场需求,研究者在一维计算流体力学模型的基础上提出了一个具有可靠准确度的简化模型,相对标准化模型而言该模型能节省超过90%的执行时间。 关键字消声器排气噪声优化设计瞬态声学性能 1 引言 汽车排气消声器广泛用于减小汽车发动机及汽车其他主要部位产生的噪声。一般而言,消声器的设计应该满足以下两个条件:(1)能够衰减高频噪声,这是消声器的最基本要求。排气消声器应该有特定的消声频率范围,尤其是低频率范围,因为我们都知道大部分的噪声被限制在发动机的转动频率和它的前几阶范围内。(2)最小背压,背压代表施加在发动机排气消声器上额外的静压力。最小背压应该保持在最低限度内,因为大的背压会降低容积效率和提高耗油量。对消声器而言,这两个重要的设计要求往往是互相冲突的。对于给定的消声器,利用实验的方法,根据距离尾管500毫米且与尾管轴向成45°处声压等级相近的排气噪声来评估其噪声衰减性能,利用压力传感器可以很容易地检测背压。 近几十年来,在预测排气噪声方面广泛应用的方法有:传递矩阵法、有限元法、边界元法和计算流体力学法。其中最常用的方法是传递矩阵法(也叫四端网络法)。该方

相关文档
最新文档