文档库 最新最全的文档下载
当前位置:文档库 › 计算机科学与技术专业深入浅出JavaScript大学毕业论文外文文献翻译及原文

计算机科学与技术专业深入浅出JavaScript大学毕业论文外文文献翻译及原文

计算机科学与技术专业深入浅出JavaScript大学毕业论文外文文献翻译及原文
计算机科学与技术专业深入浅出JavaScript大学毕业论文外文文献翻译及原文

毕业设计(论文)

外文文献翻译

文献、资料中文题目:深入浅出JavaScript

文献、资料英文题目:

文献、资料来源:

文献、资料发表(出版)日期:

院(部):

专业:计算机科学与技术

班级:

姓名:

学号:

指导教师:

翻译日期: 2017.02.14

毕业设计(论文)外文资料翻译

题目:Beginning JavaScript with DOM Scripting and Ajax

深入浅出JavaScript

学院:信息工程学院系计算机

专业:计算机科学与技术

班级:

学号:

姓名:

指导教师:

起讫日期:

外文资料翻译译文

深入浅出JavaScript

1.1 JavaScript产生的原因

在Web发展的初期,主要有HTML和公共管理接口(GUI)。HTML定义了大部分的文本文档并且只是用户代理(通常为网页浏览器)如何显示。比如,标签

之间的文字就会成为一个段落,在这个段落中可以使用标签

来定义最主要的页面标题。注意大多数开始标签,都会有相应的以

HTML有一个缺点,即他的状态是固定不变的。如果想改变一些东西或者使用用户输入的数据,就需要向服务器提出一个往返的请求。使用动态技术(如ColdFusion、ASP、https://www.wendangku.net/doc/467949975.html,、PHP或JSP)就可以从表单或者参数中将信息发送到服务器然后通过服务器完成计算、测试、数据库查找等。与这些技术相关联的应用程序服务器则会产生一个HTML文档来显示结果,然后把处理的结果一HTML文档的形式返回到浏览器以供用户查看。

这样做的问题在于无论何时网页只要有变化,以上整个过程都需要再重复执行一遍(并且重新加载网页)。这样会显得比较笨重缓慢,没有网络这个新媒介对我们承诺的那么美好。现在,人们已经普遍拥有了快速的因特网连接。但是显示一个页面仍然意味着重新加载,这是一个时常失败的缓慢过程(遇到过Error 404没有?)。

我们需要更加灵活的东西——要允许Web开发人员快速地对用户给予反馈并且不用从服务器重新加载页面就能改变HTML。可以想象有这么一个表单,只要有一个字段中产生了错误,它都需要重新加载,如果能够不用重新从服务器加载页面,就能快速地获取错误提示,那岂不是更方便实用?这正是JavaScript的用武之地。

一些信息(比如表单上的一些计算和验证信息)并不需要依靠服务器。JavaScript可以由访问者电脑上的用户代理(通常是一个浏览器)来执行。我们把这叫做客户端代码(client-side code)。这样可以减少与服务器的交互成本并且使网站运行得更快。

1.2 JavaScript是什么

JavaScript的前身是LiveScript,但是网景公司后来把名字改成了JavaScript,很可能是由于Java的火爆。这个名字经常会令人感到迷惑,因为尽管Java与JavaScript 有些语法比较相近,但它们之间并没有必然的联系。

Java之于JavaScript就好比Car(汽车)之于Carpet(地毯)。

——来自Usenet上的JavaScript讨论组网景公司在1996年创造了JavaScript语言,它包含在Netscape Navigator(NN)2.0浏览器中,用解释器来读取和执行添加到.html页面的JavaScript代码。从此,这种语言稳步发展壮大并越来越普及,现在大多数浏览器都支持它。

这意味着JavaScript可以用于网页中,被所有现代的浏览器所解释。但是,不同的浏览器在实现JavaScript的方式上是不同的,尽管核心的JavaScript语言是一样的。不过,JavaScript可以被用户关闭掉,并且一些公司和机构从安全的角度考虑要求他们的用户这样做。这个我们稍后(贯穿本书)会进一步讨论。

关于JavaScript最大的特点就是,一旦学会了如何在浏览器编程中使用它,你就可以把它应用到其他的领域中。微软的服务器使用JavaScript去做服务器端网页编程(ASP),PDF文件现在也在使用JavaScript,甚至Windows的任务管理也可以使用JavaScript来自动运行。许多应用程序,如Dreamweaver和Photoshop,都可以使用JavaScript来编写脚本。操作系统上的许多插件,比如苹果公司的Dashboard

或者Linux和Windows平台上的Konfabulator,甚至允许使用JavaScript编写小的帮助程序。

最近许多大公司也提供了可用在网页中的JavaScript对象和方法组成的API(应用编程接口),Google Maps就是其中的一种。只需要使用几行代码就可以在你的网站中提供可缩放和可滚动的地图。

另一个更好地特点就是,JavaScript比高级编程语言和服务器端编程更容易开发。它不需要像Java和C++那样编译,也不需要像Perl、PHP或Ruby语言那样运行在服务器上或需要在命令行执行。编写、执行、调试和应用JavaScript脚本所需要的只是文本编辑器和浏览器,而这两者在所有的操作系统上都提供。当然,也有工具可以使你更加方便,如Mozilla Venkman、Microsoft Script Debugger和kjscmd 这样的JavaScript调试器。

1.3 JavaScript的问题和价值

正如我在本章的开始提到的,JavaScript在过去的几年里就已经成为Web开发的一个完整的部分,但是它也经常被错误地使用。结果,它就落了一个不好的名声。导致这个结果的原因是某些严重影响用户的JavaScript特效,如移动的页面元素和弹出窗口。这种情况你第一次看到印象会很深刻,但很快就变成了“有了也不错”,在有些情况下,甚至变成“没有更好”。许多类似的效果都来自DHTML时代(相见第3章)。

术语用户代理(user agent)和对其含义的缺乏理解同样也是一个问题。通常,用户代理是指一个浏览器,比如微软的IE,Netscape、Mozilla(Moz),Firefox(Fx)、Opera或Safari。但是浏览器不是web上唯一的用户代理,其他用户代理还包括:? 辅助技术,用来帮助用户克服它们的缺陷——比如语音合成软件或者盲文显示器。

? 纯文本代理,例如Lynx。

? 支持Web的应用程序。

? 游戏控制台。

? 手机。

? 个人数字助理(PDA)。

? 交互式的电视机顶盒。

? 搜索引擎和其他索引程序

? 其他

这么多类的用户代理(以及一些没有更新的旧用户代理),它们使用了不同的技术手段,对于JavaScript也是一个非常大的危险。

并不是所有的访问者都能体验到你所应用的JavaScript增强,许多人都会出于安全的考虑关闭JavaScript。JavaScript既可以用来做好事,也可以用来做坏事。如果操作系统(比如没有打补丁的windows)语序,可以通过JavaScript来在某台计算机上安装病毒或木马,或者读取用户信息并把它发送到另外一个服务器上。

■注解没有办法知道访问者在使用什么工具,他的计算机功能如何。再者,你永远不知道访问者的经验和能力如何。这也是网络很好的一个方面——每个人都可以参与。然而,这样会给JavaScript程序员带来意外的后果。

在大多数情况下,你可能想要一种服务器端的替代方案。它可以测试用户代理是否支持所需要的功能,如果不支持,服务器会使用其替代方案。

脚本语言的独立性对于网站是法律方面的要求,在英国的数字歧视法、美国法律的508条款和世界上其他地区的法律中都有定义。这意味着如果你开发的站点没有JavaScript就不能使用,或者你的JavaScript增强需要用户或用户代理在不低效运行得情况下具有一定的能力,那么你的客户就可以控告你歧视。

然而,JavaScript既不是邪恶的也不是没用的,它是一个优秀的工具,可以帮助在你平滑流畅的网站上冲浪的用户花费更少的时间。

外文资料原文

出自《Beginning JavaScript with DOM Scripting and Ajax,2006:3-6》

作者:Christian Heilmann

Beginning JavaScript with DOM Scripting and Ajax

The Why of JavaScript

In the beginning of the Web, there was HTML and the Common Gateway Interface (CGI). HTML defines the parts of a text document and instructs the user agent (usually the web browser) how to show it—for example, text surrounded by the tags

becomes a paragraph. Within that paragraph you may have

tags that define the main page heading. Notice that for most opening tags, there is a corresponding clos-ing tag that begins with

HTML has one disadvantage—it has a fixed state. If you want to change something, or use data the visitor entered, you need to make a round-trip to a server. Using a dy-namic technology (such as ColdFusion, ASP, https://www.wendangku.net/doc/467949975.html,, PHP, or JSP) you send the in-formation from forms, or from parameters, to a server, which then performs calculat-ing/testing/database lookups, etc. The application server associated with these technolo-gies then writes an HTML document to show the results, and the resulting HTML docu-ment is returned to the browser for viewing. The problem with that is it means every time there is a change, the entire process must be repeated (and the page reloaded). This is cumbersome, slow, and not as impressive as the new media “Internet” promised us to be. It is true that at least the Western world has the benefit of fast Internet connections these days, but displaying a page still means a reload, which could be a slow process that fre-quently fails (ever get an Error 404?).

We need something slicker—something that allows web developers to give imme-diate feedback to the user and change HTML without reloading the page from the server. Just imagine a form that needs to be reloaded every time there’s an error in one of its fields—isn’t it handier when something flags the errors immediately, without needing to reload the page from the web server? This is one example of what JavaScript can do for you.

Some information, such as calculations and verifying the information on a form, may not need to come from the server. JavaScript is executed by the user agent (normally a browser) on the visitor’s computer. We call this client-side code. This could result in

fewer trips to the server and faster-running web sites.

What Is JavaScript?

JavaScript started life as LiveScript, but Netscape changed the name—possibly be-cause of the excitement being generated by Java—to JavaScript. The name is confusing though, as there is no real connection between Java and JavaScript—although some of the syntax looks similar.

Java is to JavaScript what Car is to Carpet

——From a JavaScript discussion group on Usenet

Netscape created the JavaScript language in 1996 and included it in their Netscape Navigator (NN) 2.0 browser via an interpreter that read and executed the JavaScript added to .html pages. The language has steadily grown in popularity since then, and is now supported by the most popular browsers.

The good news is that this means JavaScript can be used in web pages for all major modern browsers. The not-quite-so-good news is that there are differences in the way the different browsers implement JavaScript, although the core JavaScript language is much the same. However, JavaScript can be turned off by the user—and many companies and other institutions require their users to do so for security reasons. We will discuss this further

shortly, as well as throughout this book.

The great thing about JavaScript is that once you’ve learned how to use it for browser programming, you can move on to use it in other ar eas. Microsoft’s ser v-er—IIS—uses JavaScript to program server-side web pages (ASP), PDF files now use JavaScript, and even Windows administration tasks can be automated with JavaScript code. A lot of applications such as Dreamweaver and Photoshop are scriptable with Ja-vaScript. Operating system add-ons like

the Apple Dashboard or Konfabulator on Linux and Windows even allow you to write small

helper applications in JavaScript.

Lately a lot of large companies also offer application programming interfaces (APIs) that feature JavaScript objects and methods you can use in your own pages—Google Maps being one of them. You can offer a zoomable and scrollable map in your web site with just a few lines of code.

Even better is the fact that JavaScript is a lot easier to develop than higher pro-gramming languages or server-side scripting languages. It does not need any compilation like Java or C++, or to be run on a server or command line like Perl, PHP, or Ruby: all you need to write, execute, debug, and apply JavaScript is a text editor and a brows-er—both of which are supplied with any operating system. There are, of course, tools that make it a lot easier for you, examples being JavaScript debuggers like Mozilla Venkman, Microsoft Script Debugger, or kjscmd.

Problems and Merits of JavaScript

As I mentioned at the outset of this chapter, JavaScript has been an integral part of web development over the last few years, but it has also been used wrongly. As a result, it has gotten a bad reputation. The reason for this is gratuitous JavaScript effects, like moving page elements and pop-up windows, which might have been impressive the first time you saw them but soon turned out to be just a “nice to have” and in some case s even a “nice to not have any longer.” A lot of this comes from the days of DHTML (more on this in Chapter 3).

The term user agent and the lack of understanding what a user agent is can also be a problem. Normally, the user agent is a browser like Microsoft Internet Explorer (MSIE), Netscape, Mozilla (Moz), Firefox (Fx), Opera, or Safari. However, browsers are not the only user agents on the Web. Others include

? Assistive technology that helps users to overcome the limitations of a disabil i-ty—like text-to-speech software or Braille displays

? Text-only agents like Lynx

? Web-enabled applications

? Game consoles

? Mobile/cell phones

? PDAs

? Interactive TV set-top boxes

? Search engines and other indexing programs

? And many more

This large variety of user agents, of different technical finesse (and old user agents that don’t get updated), is also a great danger for JavaScript.

Not all visitors to your web site will experience the JavaScript enhancements you

applied to it. A lot of them will also have JavaScript turned off—for security reasons. JavaScript can be used for good and for evil. If the operating system—like unpatched Windows—allows you to, you can install viruses or Trojan Horses on a computer via Ja-vaScript or read out user information and send it to another server.

■Note There is no way of knowing what the visitor uses or what his computer is capa-ble of. Furthermore, you never know what the visitor’s experience and ability is like. This is one of the beautiful aspects of the Web—everyone can participate. However, this can introduce a lot of unexpected consequences for the JavaScript programmer.

In many cases, you might want to have a server-side backup plan. It would test to see whether the user agent supports the functionality desired and, if it doesn’t, the server takes over.

Independence of scripting languages is a legal requirement for web sites, defined in the Digital Discrimination Act for the UK, section 508 in the US law, and many more localized legal requirements throughout the world. This means that if the site you devel-oped cannot be used without JavaScript, or your JavaScript enhancements are expecting a certain ability of the users or their user agent without a fallback, your client could be sued for discrimination.

However, JavaScript is not evil or useless, and it is a great tool to help your visitor to surf web sites that are a lot slicker and less time-consuming.

毕业论文英文参考文献与译文

Inventory management Inventory Control On the so-called "inventory control", many people will interpret it as a "storage management", which is actually a big distortion. The traditional narrow view, mainly for warehouse inventory control of materials for inventory, data processing, storage, distribution, etc., through the implementation of anti-corrosion, temperature and humidity control means, to make the custody of the physical inventory to maintain optimum purposes. This is just a form of inventory control, or can be defined as the physical inventory control. How, then, from a broad perspective to understand inventory control? Inventory control should be related to the company's financial and operational objectives, in particular operating cash flow by optimizing the entire demand and supply chain management processes (DSCM), a reasonable set of ERP control strategy, and supported by appropriate information processing tools, tools to achieved in ensuring the timely delivery of the premise, as far as possible to reduce inventory levels, reducing inventory and obsolescence, the risk of devaluation. In this sense, the physical inventory control to achieve financial goals is just a means to control the entire inventory or just a necessary part; from the perspective of organizational functions, physical inventory control, warehouse management is mainly the responsibility of The broad inventory control is the demand and supply chain management, and the whole company's responsibility. Why until now many people's understanding of inventory control, limited physical inventory control? The following two reasons can not be ignored: First, our enterprises do not attach importance to inventory control. Especially those who benefit relatively good business, as long as there is money on the few people to consider the problem of inventory turnover. Inventory control is simply interpreted as warehouse management, unless the time to spend money, it may have been to see the inventory problem, and see the results are often very simple procurement to buy more, or did not do warehouse departments . Second, ERP misleading. Invoicing software is simple audacity to call it ERP, companies on their so-called ERP can reduce the number of inventory, inventory control, seems to rely on their small software can get. Even as SAP, BAAN ERP world, the field of

概率论毕业论文外文翻译

Statistical hypothesis testing Adriana Albu,Loredana Ungureanu Politehnica University Timisoara,adrianaa@aut.utt.ro Politehnica University Timisoara,loredanau@aut.utt.ro Abstract In this article,we present a Bayesian statistical hypothesis testing inspection, testing theory and the process Mentioned hypothesis testing in the real world and the importance of, and successful test of the Notes. Key words Bayesian hypothesis testing; Bayesian inference;Test of significance Introduction A statistical hypothesis test is a method of making decisions using data, whether from a controlled experiment or an observational study (not controlled). In statistics, a result is called statistically significant if it is unlikely to have occurred by chance alone, according to a pre-determined threshold probability, the significance level. The phrase "test of significance" was coined by Ronald Fisher: "Critical tests of this kind may be called tests of significance, and when such tests are available we may discover whether a second sample is or is not significantly different from the first."[1] Hypothesis testing is sometimes called confirmatory data analysis, in contrast to exploratory data analysis. In frequency probability,these decisions are almost always made using null-hypothesis tests. These are tests that answer the question Assuming that the null hypothesis is true, what is the probability of observing a value for the test statistic that is at [] least as extreme as the value that was actually observed?) 2 More formally, they represent answers to the question, posed before undertaking an experiment,of what outcomes of the experiment would lead to rejection of the null hypothesis for a pre-specified probability of an incorrect rejection. One use of hypothesis testing is deciding whether experimental results contain enough information to cast doubt on conventional wisdom. Statistical hypothesis testing is a key technique of frequentist statistical inference. The Bayesian approach to hypothesis testing is to base rejection of the hypothesis on the posterior probability.[3][4]Other approaches to reaching a decision based on data are available via decision theory and optimal decisions. The critical region of a hypothesis test is the set of all outcomes which cause the null hypothesis to be rejected in favor of the alternative hypothesis. The critical region is usually denoted by the letter C. One-sample tests are appropriate when a sample is being compared to the population from a hypothesis. The population characteristics are known from theory or are calculated from the population.

毕业论文外文翻译模版

吉林化工学院理学院 毕业论文外文翻译English Title(Times New Roman ,三号) 学生学号:08810219 学生姓名:袁庚文 专业班级:信息与计算科学0802 指导教师:赵瑛 职称副教授 起止日期:2012.2.27~2012.3.14 吉林化工学院 Jilin Institute of Chemical Technology

1 外文翻译的基本内容 应选择与本课题密切相关的外文文献(学术期刊网上的),译成中文,与原文装订在一起并独立成册。在毕业答辩前,同论文一起上交。译文字数不应少于3000个汉字。 2 书写规范 2.1 外文翻译的正文格式 正文版心设置为:上边距:3.5厘米,下边距:2.5厘米,左边距:3.5厘米,右边距:2厘米,页眉:2.5厘米,页脚:2厘米。 中文部分正文选用模板中的样式所定义的“正文”,每段落首行缩进2字;或者手动设置成每段落首行缩进2字,字体:宋体,字号:小四,行距:多倍行距1.3,间距:前段、后段均为0行。 这部分工作模板中已经自动设置为缺省值。 2.2标题格式 特别注意:各级标题的具体形式可参照外文原文确定。 1.第一级标题(如:第1章绪论)选用模板中的样式所定义的“标题1”,居左;或者手动设置成字体:黑体,居左,字号:三号,1.5倍行距,段后11磅,段前为11磅。 2.第二级标题(如:1.2 摘要与关键词)选用模板中的样式所定义的“标题2”,居左;或者手动设置成字体:黑体,居左,字号:四号,1.5倍行距,段后为0,段前0.5行。 3.第三级标题(如:1.2.1 摘要)选用模板中的样式所定义的“标题3”,居左;或者手动设置成字体:黑体,居左,字号:小四,1.5倍行距,段后为0,段前0.5行。 标题和后面文字之间空一格(半角)。 3 图表及公式等的格式说明 图表、公式、参考文献等的格式详见《吉林化工学院本科学生毕业设计说明书(论文)撰写规范及标准模版》中相关的说明。

毕业论文中参考文献的格式规范

毕业论文中参考文献的格式规范 一 .参考文献(即引文出处)的类型以单字母方式标识: 参考文献类型文献类型标示 专著M 论文集C 报纸文章N 期刊文章J 学位论文D 汇报R 规范S 专利P 电子参考文献类型标识 数据库DB 计算机程序CP 电子公告EB 二.① 主要责任者(专著作者、论文集主编、学位申报人、专利申请人、汇报撰写人、期刊文章作者、析出文章作者)。多个责任者之间以“,”分隔,注意在本项数据中不得出现缩写点“.”(英文作者请将作者名写全)。主要责任者只列姓名,其后不加“著”、“ 编”、“主编”、“合编”等责任说明。②. 文献习题名及版本1 / 3

(初版省略)。③ 文献类型 及载体类型标识。④ 出版项(出版地、出版者、出版年)。⑤ 文 献出处或电子文献的可 获得地址。⑥ 文献起止页码。⑦ 文献规范编号(规范号、专利号……)。 三.电子文献的载体类型及其标识 对于非纸张型载体的电子文献,当被引用为参考文献时需在参考 文献类型标识中同时标 明其载体类型。本标准建议采用双字母表示电子文献载体类型:磁带(magnetic tape)— —MT,磁盘(disk)——DK,光盘(CD-ROM)——CD, 联机网络(online)——OL,并以下列 格式表示包括了文献载体类型的参考文献类型标识: [文献类型标识/载体类型标识] 如:[DB/OL]——联机网上数据库(database online) [DB/MT]——磁带数据库(database on magnetic tape) [M/CD]——光盘图书(monograph on CD-ROM) [CP/DK]——磁盘软件(computer program on disk) [J/OL]——网上期刊(serial online) [EB/OL]——网上电子公告(electronic bulletin board online) 2 / 3

外文文献毕业论文

毕业论文(设计)外文翻译 题目:昌九一体化背景下的金融一体化研究 一、外文原文 DOES LOCAL FINANCIAL DEVELOPMENT MATTER? We study the effects of differences in local financial development within an integrated financial market. We construct a new indicator of financial development by estimating a regional effect on the probability that, ceteris paribus, a household is shut off from the credit market. By using this indicator we find that financial development enhances the probability an individual starts his own business, favors entry, increases competition, and promotes growth of firms. As predicted by theory, these effects are weaker for larger firms, which can more easily raise funds outside of the local area. These effects are present even when we instrument our indicator with the structure of the local banking markets in 1936, which, because of regulatory reasons, affected the supply of credit in the following 50 years. Overall, the results suggest local financial development is an important determinant of the economic success of an area even in an environment where there are no frictions to capital movements. Since the seminal work of King and Levine (1993), a large body of empirical evidence has shown that a country’s level of financial development impacts its ability to grow.1 Much ofthis evidence, however, comes from a period when cross-border capital movements were very limited. In the last decade, international capital mobility has exploded. Private capital flow to emerging market economies have grown from close to nothing in the 1970s, to 170 billion in the 1980s, to 1.3 trillions in the 1990s.2 During the same period the amount of U.S. private equity money invested abroad and the number of foreign firms listed in the United States has experienced a similar growth rate. The phenomenon is so dramatic that many countries have started wondering whether they need a national stock market once their firms can list on NASDAQ. In light of these changes, the question of whether national financial institutions and markets still matter for growth once domestic agents have access to foreign markets has become very important from a policy perspective. Unfortunately, it is a difficult question to answer empirically. The integration of national financial markets is so recent that we lack a sufficiently long time series to estimate its impact in the data. At the same time, the pace of integration is so fast that if we were to establish that national financial development mattered for national growth during the last decade, we could not confidently extrapolate this result to the current decade. To try and assess the relevance for growth of national financial institutions and markets

毕业设计(论文)外文文献译文

毕业设计(论文) 外文文献译文及原文 学生:李树森 学号:201006090217 院(系):电气与信息工程学院 专业:网络工程 指导教师:王立梅 2014年06月10日

JSP的技术发展历史 作者:Kathy Sierra and Bert Bates 来源:Servlet&JSP Java Server Pages(JSP)是一种基于web的脚本编程技术,类似于网景公司的服务器端Java脚本语言—— server-side JavaScript(SSJS)和微软的Active Server Pages(ASP)。与SSJS和ASP相比,JSP具有更好的可扩展性,并且它不专属于任何一家厂商或某一特定的Web服务器。尽管JSP规范是由Sun 公司制定的,但任何厂商都可以在自己的系统上实现JSP。 在Sun正式发布JSP之后,这种新的Web应用开发技术很快引起了人们的关注。JSP为创建高度动态的Web应用提供了一个独特的开发环境。按照Sun的说法,JSP能够适应市场上包括Apache WebServer、IIS4.0在内的85%的服务器产品。 本文将介绍JSP相关的知识,以及JavaBean的相关内容,当然都是比较粗略的介绍其中的基本内容,仅仅起到抛砖引玉的作用,如果读者需要更详细的信息,请参考相应的JSP的书籍。 1.1 概述 JSP(Java Server Pages)是由Sun Microsystems公司倡导、许多公司参与一起建立的一种动态网页技术标准,其在动态网页的建设中有其强大而特别的功能。JSP与Microsoft的ASP技术非常相似。两者都提供在HTML代码中混合某种程序代码、由语言引擎解释执行程序代码的能力。下面我们简单的对它进行介绍。 JSP页面最终会转换成servlet。因而,从根本上,JSP页面能够执行的任何任务都可以用servlet 来完成。然而,这种底层的等同性并不意味着servlet和JSP页面对于所有的情况都等同适用。问题不在于技术的能力,而是二者在便利性、生产率和可维护性上的不同。毕竟,在特定平台上能够用Java 编程语言完成的事情,同样可以用汇编语言来完成,但是选择哪种语言依旧十分重要。 和单独使用servlet相比,JSP提供下述好处: JSP中HTML的编写与维护更为简单。JSP中可以使用常规的HTML:没有额外的反斜杠,没有额外的双引号,也没有暗含的Java语法。 能够使用标准的网站开发工具。即使是那些对JSP一无所知的HTML工具,我们也可以使用,因为它们会忽略JSP标签。 可以对开发团队进行划分。Java程序员可以致力于动态代码。Web开发人员可以将经理集中在表示层上。对于大型的项目,这种划分极为重要。依据开发团队的大小,及项目的复杂程度,可以对静态HTML和动态内容进行弱分离和强分离。 此处的讨论并不是说人们应该放弃使用servlet而仅仅使用JSP。事实上,几乎所有的项目都会同时用到这两种技术。在某些项目中,更适宜选用servlet,而针对项目中的某些请求,我们可能会在MVC构架下组合使用这两项技术。我们总是希望用适当的工具完成相对应的工作,仅仅是servlet并不一定能够胜任所有工作。 1.2 JSP的由来 Sun公司的JSP技术,使Web页面开发人员可以使用HTML或者XML标识来设计和格式化最终

大学毕业论文---软件专业外文文献中英文翻译

软件专业毕业论文外文文献中英文翻译 Object landscapes and lifetimes Tech nically, OOP is just about abstract data typing, in herita nee, and polymorphism, but other issues can be at least as importa nt. The rema in der of this sect ion will cover these issues. One of the most importa nt factors is the way objects are created and destroyed. Where is the data for an object and how is the lifetime of the object con trolled? There are differe nt philosophies at work here. C++ takes the approach that con trol of efficie ncy is the most importa nt issue, so it gives the programmer a choice. For maximum run-time speed, the storage and lifetime can be determined while the program is being written, by placing the objects on the stack (these are sometimes called automatic or scoped variables) or in the static storage area. This places a priority on the speed of storage allocatio n and release, and con trol of these can be very valuable in some situati ons. However, you sacrifice flexibility because you must know the exact qua ntity, lifetime, and type of objects while you're writing the program. If you are trying to solve a more general problem such as computer-aided desig n, warehouse man ageme nt, or air-traffic con trol, this is too restrictive. The sec ond approach is to create objects dyn amically in a pool of memory called the heap. In this approach, you don't know un til run-time how many objects you n eed, what their lifetime is, or what their exact type is. Those are determined at the spur of the moment while the program is runnin g. If you n eed a new object, you simply make it on the heap at the point that you n eed it. Because the storage is man aged dyn amically, at run-time, the amount of time required to allocate storage on the heap is sig ni fica ntly Ion ger tha n the time to create storage on the stack. (Creat ing storage on the stack is ofte n a si ngle assembly in structio n to move the stack poin ter dow n, and ano ther to move it back up.) The dyn amic approach makes the gen erally logical assumpti on that objects tend to be complicated, so the extra overhead of finding storage and releas ing that storage will not have an importa nt impact on the creati on of an object .In additi on, the greater flexibility is esse ntial to solve the gen eral program ming problem. Java uses the sec ond approach, exclusive". Every time you want to create an object, you use the new keyword to build a dyn amic in sta nee of that object. There's ano ther issue, however, and that's the lifetime of an object. With Ian guages that allow objects to be created on the stack, the compiler determines how long the object lasts and can automatically destroy it. However, if you create it on the heap the compiler has no kno wledge of its lifetime. In a Ianguage like C++, you must determine programmatically when to destroy the

毕业论文参考文献自动生成

今天刚知道原来参考文献可以自动生成……真丢脸!分享给为论文奋斗的同学来源: 周亮的日志 毕业论文不同于一般的小论文,特别是硕士毕业论文或者博士毕业论文。一般的小论文就四五页,而硕士论文动辄五六十页,有的甚至七八十页。所以有些东西如果要人工的去修改,将是一件非常痛苦的事情。痛苦的事情至少有两个:目录自动生成和编号、参考文献引用的上标。本文将从这两个方面说说小技巧,自动生成,非常方便。 先说两种痛苦情况。 设定好文章的目录结构后,突然发现中间要添加或者删除一个章节,添加删除容易,可是其后遗症就是后面的编号都要跟着变动。比如要删除第二章,那么原理的第三章就要改为第二章,后面的要跟着动,添加也一样,很麻烦。 第二个情况就是参考文献的上标问题。硕士论文参考文献都有好几十个,一般论文会要求按照论文的引用顺序列出参考文献。如果需要添加新的参考文献,那么这些参考文献的上标号又会跟着变动。 目录自动生成简单说下,将文档切换到大纲视图,然后设置你要设定成目录的文字的大纲级别。如果将大纲级别设定为1级,那么就是1级目录,一般我们会设置到3级,这样会生成1、2、3级目录。设定好后,在要插入目录的地方,点击“插入”-->“引用”-->“索引和目录”就可以了。格式在另外设置下就行了。 现在来说说这两个的简单解决办法。 首先都要设置成段落编号。将你要设定的一级目录设定成一级编号,二级目录设定成二级编号等等。参考文献一样,设置成段落编号。设定成段落编号有一个非常大的好处,就是插入或者删除其中的某个项目时,其后面的变好会跟着变动,所以这就解决了因添加删除中间的项目,而要同时修改后面的编号问题了。 目录的更新,只需要在“大纲视图”下点击更新目录,或者在页面视图的目录上,点击右键,选择“更新域”即可。

毕业论文外文文献

毕业论文外文文献 Photography Pen Film director and critic Alexander Astruc's comments in today, wrote a famous: "Following a variety of other arts, especially painting, novel, film is rapidly becoming a tool to express ideas. It swept the market, a mall next to the theater's entertainment products. It is a well preserved image of the times methods. Now is gradually becoming a language, that is, the artist can use it to express themselves through a means of thinking, no matter how abstract this idea, or that it is also used as a kind of artists like prose or fiction a form to express their themes. So, I put this new era for film today called "photo pen" era, that era of writing, the use of the camera …… "Silent film attempts to use symbolic links to all the concept and meaning of the expression. We know, Lenovo exist in the image itself, naturally present in the film development process, there is the role of performance in each posture and expression, present in every word of in; also present in the camera movement, this movement linked to a piece of things, to link people and things …… "Obviously, that is, screenwriter making his own films. Or even say that there is no longer what the movie writer. Because, in such films, the playwright and director, there is nothing between significant

毕业论文 外文翻译#(精选.)

毕业论文(设计)外文翻译 题目:中国上市公司偏好股权融资:非制度性因素 系部名称:经济管理系专业班级:会计082班 学生姓名:任民学号: 200880444228 指导教师:冯银波教师职称:讲师 年月日

译文: 中国上市公司偏好股权融资:非制度性因素 国际商业管理杂志 2009.10 摘要:本文把重点集中于中国上市公司的融资活动,运用西方融资理论,从非制度性因素方面,如融资成本、企业资产类型和质量、盈利能力、行业因素、股权结构因素、财务管理水平和社会文化,分析了中国上市公司倾向于股权融资的原因,并得出结论,股权融资偏好是上市公司根据中国融资环境的一种合理的选择。最后,针对公司的股权融资偏好提出了一些简明的建议。 关键词:股权融资,非制度性因素,融资成本 一、前言 中国上市公司偏好于股权融资,根据中国证券报的数据显示,1997年上市公司在资本市场的融资金额为95.87亿美元,其中股票融资的比例是72.5%,,在1998年和1999年比例分别为72.6%和72.3%,另一方面,债券融资的比例分别是17.8%,24.9%和25.1%。在这三年,股票融资的比例,在比中国发达的资本市场中却在下跌。以美国为例,当美国企业需要的资金在资本市场上,于股权融资相比他们宁愿选择债券融资。统计数据显示,从1970年到1985年,美日企业债券融资占了境外融资的91.7%,比股权融资高很多。阎达五等发现,大约中国3/4的上市公司偏好于股权融资。许多研究的学者认为,上市公司按以下顺序进行外部融资:第一个是股票基金,第二个是可转换债券,三是短期债务,最后一个是长期负债。许多研究人员通常分析我国上市公司偏好股权是由于我们国家的经济改革所带来的制度性因素。他们认为,上市公司的融资活动违背了西方古典融资理论只是因为那些制度性原因。例如,优序融资理论认为,当企业需要资金时,他们首先应该转向内部资金(折旧和留存收益),然后再进行债权融资,最后的选择是股票融资。在这篇文章中,笔者认为,这是因为具体的金融环境激活了企业的这种偏好,并结合了非制度性因素和西方金融理论,尝试解释股权融资偏好的原因。

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.

相关文档