当前位置:文档之家› 外文翻译---ASPNET介绍以及内联代码和共享

外文翻译---ASPNET介绍以及内联代码和共享

外文翻译---ASPNET介绍以及内联代码和共享
外文翻译---ASPNET介绍以及内联代码和共享

附录 1 英文原文

Introduction to https://www.doczj.com/doc/a89822401.html, Pages and Inline Code and Share[10] The https://www.doczj.com/doc/a89822401.html, Web Forms page framework is a scalable common language runtime programming model that can be used on the server to dynamically generate Web pages. Intended as a logical evolution of ASP (https://www.doczj.com/doc/a89822401.html, provides syntax compatibility with existing pages), the https://www.doczj.com/doc/a89822401.html, page framework has been specifically designed to address a number of key deficiencies in the previous model. In particular, it provides the ability to create and use reusable UI controls that can encapsulate common functionality and thus reduce the amount of code that a page developer has to write, the ability for developers to cleanly structure their page logic in an orderly fashion (not "spaghetti code"), and the ability for development tools to provide strong WYSIWYG design support for pages (existing classic ASP code is opaque to tools). This section of the QuickStart provides a high-level code walkthrough of some basic https://www.doczj.com/doc/a89822401.html, page features. Subsequent sections of the QuickStart drill down into more specific details. https://www.doczj.com/doc/a89822401.html, pages are text files with an .htm file name extension. Pages consist of code and markup and are dynamically compiled and executed on the server to produce a rendering to the requesting client browser (or device). They can be deployed throughout an IIS virtual root directory tree. When a browser client requests .htm resources, the https://www.doczj.com/doc/a89822401.html, runtime parses and compiles the target file into a .NET Framework class. This class can then be used to dynamically process incoming requests. (Note that the .htm file is compiled only the first time it is accessed; the compiled type instance is then reused across multiple requests).

An https://www.doczj.com/doc/a89822401.html, page can be created simply by taking an existing HTML file and changing its file name extension to .htm (no modification of code is required). For example, the following sample demonstrates a simple HTML page that collects a user's name and category preference and then performs a form postback to the originating page when a button is clicked:

Important: Note that nothing happens yet when you click the Lookup button. This

is because the .htm file contains only static HTML (no dynamic content). Thus, the same HTML is sent back to the client on each trip to the page, which results in a loss of the contents of the form fields (the text box and drop-down list) between requests.

https://www.doczj.com/doc/a89822401.html, provides syntax compatibility with existing ASP pages. This includes support for <% %> code render blocks that can be intermixed with HTML content within an .htm file. These code blocks execute in a top-down manner at page render time.

The below example demonstrates how <% %> render blocks can be used to loop over an HTML block (increasing the font size each time):

Important: Unlike with ASP, the code used within the above <% %> blocks is actually compiled--not interpreted using a script engine. This results in improved runtime execution performance.

https://www.doczj.com/doc/a89822401.html, page developers can utilize <% %> code blocks to dynamically modify HTML output much as they can today with ASP. For example, the following sample demonstrates how <% %> code blocks can be used to interpret results posted back from a client.

Important: While <% %> code blocks provide a powerful way to custom manipulate the text output returned from an https://www.doczj.com/doc/a89822401.html, page, they do not provide a clean HTML programming model. As the sample above illustrates, developers using only <% %> code blocks must custom manage page state between round trips and custom interpret posted values.

In addition to code and markup, https://www.doczj.com/doc/a89822401.html, pages can contain server controls, which are programmable server-side objects that typically represent a UI element in the page, such as a textbox or image. Server controls participate in the execution of the page and produce their own markup rendering to the client. The principle advantage of server controls is that they enable developers to get complex rendering and behaviors from simple building-block components, dramatically reducing the amount of code it takes to produce a dynamic Web page. Another advantage of server controls is that it is easy to customize their

rendering or behavior. Server controls expose properties that can be set either declaratively (on the tag) or programmatically (in code). Server controls (and the page itself) also expose events that developers can handle to perform specific actions during the page execution or in response to a client-side action that posts the page back to the server (a "postback"). Server controls also simplify the problem of retaining state across round-trips to the server, automatically retaining their values across successive postbacks.

Server controls are declared within an .htm file using custom tags or intrinsic HTML tags that contain a runat="server" attribute value. Intrinsic HTML tags are handled by one of the controls in the System.Web.UI.HtmlControls namespace. Any tag that doesn't explicitly map to one of the controls is assigned the type of System.Web.UI.HtmlControls.HtmlGenericControl.

Important: Note that these server controls automatically maintain any

client-entered values between round trips to the server. This control state is not stored on the server (it is instead stored within an form field that is round-tripped between requests). Note also that no client-side script is required.

In addition to supporting standard HTML input controls, https://www.doczj.com/doc/a89822401.html, enables developers to utilize richer custom controls on their pages. For example, the following sample demonstrates how the control can be used to dynamically display rotating ads on a page.

Each https://www.doczj.com/doc/a89822401.html, server control is capable of exposing an object model containing properties, methods, and events. https://www.doczj.com/doc/a89822401.html, developers can use this object model to cleanly modify and interact with the page.

Note, however, how much cleaner and easier the code is in this new server-control-based version. As we will see later in the tutorial, the https://www.doczj.com/doc/a89822401.html, page Framework also exposes a variety of page-level events that you can handle to write code to execute a specific time during the processing of the page. Examples of these events are Page_Load and Page_Render.

The example below demonstrates a simple https://www.doczj.com/doc/a89822401.html, page with three server

controls, a TextBox, Button, and a Label. Initially these controls just render their HTML form equivalents. However, when a value is typed in the TextBox and the Button is clicked on the client, the page posts back to the server and the page handles this click event in the code of the page, dynamically updating the Text property of the Label control. The page then re-renders to reflect the updated text. This simple example demonstrates the basic mechanics behind the server control model that has made https://www.doczj.com/doc/a89822401.html, one of the easiest Web programming models to learn and master.

Note that in the preceding example the event handler for the Button was located between tags in the same page containing the server controls. https://www.doczj.com/doc/a89822401.html, calls this type of page programming code-inline, and it is very useful when you want to maintain your code and presentation logic in a single file. However, https://www.doczj.com/doc/a89822401.html, also supports another way to factor your code and presentation content, called the code-behind model. When using code-behind, the code for handling events is located in a physically separate file from the page that contains server controls and markup. This clear delineation between code and content is useful when you need to maintain these separately, such as when more than one person is involved in creating the application. It is often common in group projects to have designers working on the UI portions of an application while developers work on the behavior or code. The code-behind model is well-suited to that environment.

https://www.doczj.com/doc/a89822401.html, 2.0 introduces an improved runtime for code-behind pages that simplifies the connections between the page and code. In this new code-behind model, the page is declared as a partial class, which enables both the page and code files to be compiled into a single class at runtime. The page code refers to the code-behind file in the CodeFile attribute of the <%@ Page %>directive, specifying the class name in the Inherits attribute. Note that members of the code behind class must be either public or protected (they cannot be private).

The advantage of the simplified code-behind model over previous versions is that you do not need to maintain separate declarations of server control variables

in the code-behind class. Using partial classes (new in 2.0) allows the server control IDs of the ASPX page to be accessed directly in the code-behind file. This greatly simplifies the maintenance of code-behind pages.

Although you can place code inside each page within your site (using the inline or code-behind separation models described in the previous section), there are times when you will want to share code across several pages in your site. It would be inefficient and difficult to maintain this code by copying it to every page that needs it. Fortunately, https://www.doczj.com/doc/a89822401.html, provides several convenient ways to make code accessible to all pages in an application.

Just as pages can be compiled dynamically at runtime, so can arbitrary code files (for example .cs or .vb files). https://www.doczj.com/doc/a89822401.html, 2.0 introduces the App_Code directory, which can contain standalone files that contain code to be shared across several pages in your application. Unlike https://www.doczj.com/doc/a89822401.html, 1.x, which required these files to be precompiled to the Bin directory, any code files in the App_Code directory will be dynamically compiled at runtime and made available to the application. It is possible to place files of more than one language under the App_Code directory, provided they are partitioned in subdirectories (registered with a particular language in Web.config). The example below demonstrates using the App_Code directory to contain a single class file called from the page.

By default, the App_Code directory can only contain files of the same language. However, you may partition the App_Code directory into subdirectories (each containing files of the same language) in order to contain multiple languages under the App_Code directory. To do this, you need to register each subdirectory in the Web.config file for the application.

Supported in https://www.doczj.com/doc/a89822401.html, version 1, the Bin directory is like the Code directory, except it can contain precompiled assemblies. This is useful when you need to use code that is possibly written by someone other than yourself, where you don't have access to the source code (VB or C# file) but you have a compiled DLL instead. Simply place the assembly in the Bin directory to make it available to your site. By default, all assemblies in the Bin directory are automatically loaded in the app and made accessibe to pages. You may need to Import specific namespaces from assemblies in the Bin directory using the @Import directive at the top of the page.

The .NET Framework 2.0 includes a number of assemblies that represent the various parts of the Framework. These assemblies are stored in the global assembly cache, which is a versioned repository of assemblies made available to all applications on the machine (not just a specific application, as is the case with Bin and App_Code). Several assemblies in the Framework are automatically made available to https://www.doczj.com/doc/a89822401.html, applications. You can register additional assemblies by registration in a Web.config file in your application.

附录 2 中文译文

https://www.doczj.com/doc/a89822401.html,介绍以及内联代码和共享

https://www.doczj.com/doc/a89822401.html, Web 窗体页框架是一种可用于在服务器上动态生成网页的可伸

缩公共语言运行库编程模型。作为ASP的继承和发展,https://www.doczj.com/doc/a89822401.html, 页框架消除了以前ASP中存在的缺陷。尤其是,它提供了创建和使用可封装常用功能的可重用用户界面控件的能力,从而减少了页开发人员编写代码的数量,它还为开发人员提供了清晰、有序地构造页面的能力,以及可使开发工具真正做到所见即所得的功能。本部分的快速入门提供对某些基本https://www.doczj.com/doc/a89822401.html, 页功能的高级代码演练,后面部分的快速入门将深入介绍更具体的细节。

https://www.doczj.com/doc/a89822401.html, 页是采用.aspx 文件扩展名的文本文件。页由代码和HTML组成,并在服务器上动态编译和执行以呈现给发出请求的客户端浏览器。它们放在IIS 服务器上的虚拟目录中。当浏览器客户端请求.aspx 资源时,https://www.doczj.com/doc/a89822401.html, 运行库会对目标文件进行分析并将其编译为.NET Framework 类。然后,可以使用此类动态处理传入的请求。

只需获取现有HTML 文件并将该文件的文件扩展名更改为.aspx,就可以创建一个https://www.doczj.com/doc/a89822401.html, 页。例如,下面的示例演示了一个简单HTML 页,它收集用户名和类别首选项,然后在单击某一按钮时执行窗体回发,发送至发起请求的页。

重要事项:注意在单击“Lookup”(查找)按钮时,不会发生任何操作。这是因为.aspx 文件只包含静态HTML(不包含动态内容)。因此,相同的HTML 在每次发送到页时都会被发送回客户端,这会导致在请求之间窗体字段(文本框和下拉列表)的内容丢失。

https://www.doczj.com/doc/a89822401.html, 提供了与现有ASP 页的语法兼容性。这包括对<% %>代码呈现块的支持,这些块可以与.aspx 文件中的HTML 内容混用。在呈现页时,这些代码块以从上至下的方式执行。

重要事项:与ASP 不同,上述<% %>块中使用的代码实际上是使用脚本引擎编译的,而不是解释。这可以提高运行时执行性能。

https://www.doczj.com/doc/a89822401.html, 页开发人员可利用<% %>代码块动态修改HTML 输出,就好像目前可使用ASP 进行修改一样。例如,下面的示例演示如何使用<% %>代码块解

释从客户端发回的请求。

重要事项:尽管<% %>代码块提供了一种对从https://www.doczj.com/doc/a89822401.html, 页返回的文本输出进行自定义操作的强大方法,但这些代码块未提供一种清晰的HTML 编程模型。正如上述示例所阐述的那样,只使用<% %>代码块的开发人员必须自定义管理往返过程之间的页状态并自定义解释发送的值。

除了代码和标记之外,https://www.doczj.com/doc/a89822401.html, 页还可以包含服务器控件,这些控件是可编程的服务器端对象,通常表示页中的用户界面元素,如文本框或图像等。服务器控件参与页的执行,并生成它们自己的标记呈现给客户端。服务器控件的主要优点在于它们使开发人员可以从简单的构造块组件获取复杂的呈现和行为,从而大幅度减少了生成动态网页所需的代码量。服务器控件的另一个优点在于可以很容易地自定义其呈现或行为。服务器控件公开可以声明方式(通过标记)或编程方式(通过代码)设置的属性。服务器控件(和页本身)还公开了一些事件,开发人员可以处理这些事件以在页执行期间执行特定的操作或响应将页发回服务器

的客户端操作(“回发”)。此外,服务器控件还简化了在往返于服务器的过程中保留状态的问题,自动在连续回发之间保留其值。

服务器控件在.aspx 文件中是使用自定义标记或包含runat="server" 属性值

的内部HTML 标记声明的。内部HTML 标记由System.Web.UI.HtmlControls 命名空间中的某个控件处理。未显式映射到这些控件之一的任何标记都将被指定为System.Web.UI.HtmlControls.HtmlGenericControl 类型。

下面的示例使用以下四个服务器控件:

。在运行时,这些服务器控件将自动生成HTML 内容。

重要事项:注意,在到服务器的往返过程之间,这些服务器控件自动保留客户端输入的任何值。此控件状态不存储在服务器上(而是存储在往返于请求之间的窗体字段中)。另外,还须注意不需要客户端脚本。

除支持标准HTML 输入控件之外,https://www.doczj.com/doc/a89822401.html, 还使开发人员能够在他们的页上利用更丰富的自定义控件。例如,下面的示例演示如何使用控件在页上动态显示循环广告。

重要事项:所有内置服务器控件的详细列表可在本快速入门的“控件参考” 部

分中找到。

每个https://www.doczj.com/doc/a89822401.html, 服务器控件都可以公开包含属性、方法和事件的对象模型。https://www.doczj.com/doc/a89822401.html, 开发人员可以使用此对象模型清晰地修改页以及与页进行交互。

下面的示例演示https://www.doczj.com/doc/a89822401.html, 页开发人员可如何处理

控件中的OnClick 事件以操作控件的Text 属性。https://www.doczj.com/doc/a89822401.html, 提供了可以组织页中代码的两种方法。

下面的代码示例演示一个包含以下三个服务器控件的简单https://www.doczj.com/doc/a89822401.html, 页:TextBox、Button 和Label。最初,这些控件只呈现其HTML 窗体等效项。但是,当客户端在TextBox 中键入了一个值并单击了Button 后,该页会回发到服务器,然后该页使用页中的代码处理此单击事件,动态地更新Label 控件的Text 属性。然后,该页将重新呈现以反映更新后的文本。此简单示例演示了服务器控件模型内在的基本机制,该模型使https://www.doczj.com/doc/a89822401.html, 成为最容易学习和掌握的Web 编程模型之一。

https://www.doczj.com/doc/a89822401.html, 调用此类型的页编程“代码内联”,如果您要在一个文件中维护您的代码和表示逻辑,则该方法十分有用。但https://www.doczj.com/doc/a89822401.html, 还支持另一种分解代码和表示内容的方法,该方法称为“代码隐藏”模型。在使用代码隐藏时,处理事件的代码所在的文件与包含服务器控件和标记的页在物理上分开。在您需要分别维护代码和内容(如有多个人员参与创建应用程序工作)时,这种将代码和内容清楚区分的方法十分有用。在团队项目中,设计人员通常负责应用程序的用户界面部分的工作,而开发人员则负责行为或代码部分。代码隐藏模型非常适用于此类环境。

https://www.doczj.com/doc/a89822401.html, 2.0 为代码隐藏页引入了一个改进的运行库,该库可简化页和代码之间的连接。在这一新的代码隐藏模型中,页被声明为分部类,这使得页和代码文件可在运行时编译为一个类。通过在Inherits 属性中指定类名,页代码使用<%@ Page %>指令的CodeFile 属性来引用代码隐藏文件。请注意,代码隐藏类的成员必须是公共或受保护的成员(不能为私有成员)。

与以前版本相比,这种简化的代码隐藏模型的好处在于无需维护代码隐藏类中服务器控件变量的各个不同的声明。使用分部类(2.0 中的新增功能)可在代码隐藏文件中直接访问ASPX 页的服务器控件ID。这极大地简化了代码隐藏页的维护工作。

尽管可以将代码放在站点的每个页上(使用上一节中所述的内联或代码隐藏分离模型),但有时您将希望在站点中的多个页之间共享代码。将这些代码复制到需要它们的每个页上,这种做法既低效又使代码难以维护。幸运的是,https://www.doczj.com/doc/a89822401.html, 提供了几种简单的方法,使应用程序中的所有页都可以访问代码。

与页可在运行时动态编译一样,任意代码文件(例如,.cs 或.vb 文件)也可以在运行时动态编译。https://www.doczj.com/doc/a89822401.html, 2.0 引入了App_Code 目录,该目录可以包含一些独立文件,这些文件包含要在应用程序中的多个页之间共享的代码。与https://www.doczj.com/doc/a89822401.html, 1.x 不同(1.x 需要将这些文件预编译到Bin 目录),App_Code 目录中的所有代码文件都将在运行时动态编译,然后提供给应用程序。可以在

App_Code 目录下放置多种语言的文件,前提是将这些文件划分到各子目录中(在Web.config 中用特定语言注册这些子目录)。下面的示例演示如何使用App_Code 目录包含一个从页调用的类文件。

默认情况下,App_Code 目录只能包含同一种语言的文件。但可以将

App_Code 目录划分为若干子目录(每个子目录包含同一语言的文件)以便可以在App_Code 目录下包含多种语言。为此,需要在应用程序的Web.config 文件中注册每个子目录。

在https://www.doczj.com/doc/a89822401.html, 版本中支持Bin 目录,该目录类似于Code 目录,不同的是它可以包含预编译的程序集。如果需要使用其他人编写的代码,则此目录就很有用了,您不用访问源代码(VB 或C# 文件)就可以得到编译后的DLL。主要在你的程序中将该DLL作为引用添加到你的工程。默认情况下,Bin 目录中的所有

程序集都自动加载到应用程序中,然后可供各页访问。您可能需要使用页最上方的@Import 指令从Bin 目录的程序集中导入特定的命名空间。<@ Import Namespace="MyCustomNamespace" >

.NET Framework 2.0 提供了表示Framework 的各个部件的大量类库程序集。这些程序集存储在全局程序集缓存中,该缓存是程序集的版本化存储库,可供计算机上的所有应用程序使用。Framework 中的多个程序集都可自动提供给https://www.doczj.com/doc/a89822401.html, 应用程序。通过在应用程序的Web.config 文件中注册,并且可以注

册更多的程序集。

经济学文献综述写作

经济学文献综述写作 一、文献综述的含义 文献综述(以下简称综述),不同于学术论文或科研论文。学术论文或科研论文是作者亲自对某一具体课题进行研究后所做的文章。综述是一种综合性或专题性的情报资料,属于三次文献。具体地说,是指对某一专题的近期文献,经过阅读、摘选、融会贯通、分析、对比、归纳、加工、整理而成的综合评述。文献综述有两大特点,一是“综”,即收集“百家”之言,综合分析整理;二是“述”,即结合作者的观点和实践经验对文献的观点、结论进行叙述和评论。 文献综述虽不是科学论著,但在科学研究中的作用却不容低估。通过阅读近期原始文献而写成的综述,可以反映某一领域或某一专题的新动态、新进展、新水平、新发现、新趋向以及未来展望。因此,综述被看作是新知识突破和新技术推广应用的开始。毕业论文文献综述的写作是毕业论文写作过程中的重要一环,毕业生在进入毕业论文写作之前,应该先写一篇有关的综述,以便掌握该专题的最新信息,从而为选定研究论题和修订研究计划提供有益的信息和依据。 二、收集资料:文献综述写作的基础 收集文献资料是写作文献综述的基础。因此,收集的文献资料力求广泛与全面,且尽可能收集与研究论题有关的原始文献,同时也应收集相关的权威的综述性文章。 一般地,收集文献的方法有两种:一是通过各种检索工具,如文献索引、文摘杂志进行检索。选择文献时,应由近及远,主要应用近2~3年内的文献,这样才能体现出文献综述的新观点、新水平。二是从其它文章的参考文献追溯。即从一篇或数篇最新发表、有权威性的论著或综述,及这些文章所附的参考文献中寻找所需资料,这是一种较为快速而方便的方法。 收集到的文献如何阅读取舍?通常,阅读文献大致有三个步骤:

营运管理外文文献+中文

An Analysis of Working Capital Management Results Across Industries Greg Filbeck. Schweser Study Program Thomas M. Krueger. University of Wisconsin-La Crosse Abstract Firms are able to reduce financing costs and/or increase the funds available for expansion by minimizing the amount of funds tied up in current assets. We provide insights into the performance of surveyed firms across key components of working capital management by using the CFO magazine’s annual Working Capital Management Survey. We discover that significant differences exist between industries in working capital measures across time. In addition. we discover that these measures for working capital change significantly within industries across time. Introduction The importance of efficient working capital management is indisputable. Working capital is the difference between resources in cash or readily convertible into cash (Current Assets) and organizational commitments for which cash will soon be required (Current Liabilities). The objective of working capital management is to maintain the optimum balance of each of the working capital components. Business viability relies on the ability to effectively manage receivables. inventory. and payables. Firms are able to reduce financing costs and/or increase the funds available for expansion by minimizing the amount of funds tied up in current assets. Much managerial effort is expended in bringing non-optimal levels of current assets and liabilities back toward optimal levels. An optimal level would be one in which a balance is achieved between risk and efficiency. A recent example of business attempting to maximize working capital management is the recurrent attention being given to the application of Six Sigma? methodology. Six Sigma? methodologies help companies measure and ensure quality in all areas of the enterprise. When used to identify and rectify discrepancies. inefficiencies and erroneous transactions in the financial supply chain. Six Sigma? reduces Days Sales Outstanding (DSO). accelerates the payment cycle. improves customer satisfaction and reduces the necessary amount and cost of working capital needs. There appear to be many success stories. including Jennifer Towne’s (2002) report of a 15 percent decrease in days that sales are outstanding. resulting in an increased cash flow of approximately $2 million at Thibodaux Regional Medical Center. Furthermore. bad debts declined from $3.4 million to $600.000. However. Waxer’s (2003) study of multiple firms employing Six Sigma? finds that it is really a “get rich slow” technique with a rate of return hovering in the 1.2 – 4.5 percent range. Even in a business using Six Sigma? methodology. an “optimal” level of working capital management needs to be identified. Even in a business using Six Sigma? methodology. an “optimal” level of working capital management needs to be identified. Industry factors may impact firm

共享经济英语作文

①It is universally acknowledged that the sharing economy means that people sell or purchase the unoccupied resources via online transaction. Having been a new trend, the sharing economy is playing a more and more crucial part in our modern life. ②There is no doubt that a large number of people benefit a lot from the sharing economy. Above all, it contributes to making good use of the resources. People, who own available stuff and don’t use it for the moment, can sell or rent it to others who need it. Thus, it’s beneficial for both of them, for not only the seller or renter can make money but the purchaser can save money. Moreover, it can make sure that things can be used as many times as possible instead of being abandoned. In addition, it helps to build up trust between each other. ③However, the rise of the sharing economy leads to the difficult management. For instance, the sharing bikes bring convenience for people, but people place the bikes at random and even occupy the room of the sidewalk. Therefore, how to manage the sharing things is worth considering 众所周知,共享经济意味着人们通过在线交易出售或购买未被占用的资源。在现代生活中,分享经济是一种新的趋势,它正在发挥着越来越重要的作用。 毫无疑问,许多人从分享经济中获益良多。最重要的是,它有助于充

计算机专业ASPNET外文翻译

Extreme https://www.doczj.com/doc/a89822401.html, 1.1Web Deployment Projects When ASP was first released, Web programming was more difficult because you needed IIS to serve your ASP pages. Later, https://www.doczj.com/doc/a89822401.html, 2.0 and Visual Studio? 2005 made everything easier by introducing the Web site model of development. Instead of creating a new project inside Visual Studio, the Web site model lets you point to a directory and start writing pages and code. Furthermore, you can quickly test your site with the built-in https://www.doczj.com/doc/a89822401.html, Development Server, which hosts https://www.doczj.com/doc/a89822401.html, in a local process and obviates the need to install IIS to begin developing. The beauty of the Web site model is that you can develop your Web application without thinking about packaging and deployment. Need another class? Add a .cs file to the App_Code directory and start writing. Want to store localizable strings in a resource file? Add a .resx file to the App_GlobalResources directory and type in the strings. Everything just works; you don't have to think about the compilation and deployment aspect at all. When you are ready to deploy, you have several options. The simplest choice is to copy your files to a live server and let everything be compiled on-demand (as it was in your test environment). The second option is to use the aspnet_compiler.exe utility and precompile the application into a binary release, which leaves you nothing but a collection of assemblies, static content, and configuration files to push to the server. The third option is to again use aspnet_compiler.exe, but to create an updateable binary deployment where your .as*x files remain intact (and modifiable) and all of your code files are compiled into binary assemblies. This seems to cover every possible scenario, leaving the developer to focus simply on writing the Web application, with packaging and deployment decisions to be made later when the application is actually deployed. There was a fair amount of backlash against this model, however, especially from developers who were used to their Web projects being real projects, specified in real project files, that let you inject pre-and post-build functions, exclude files from the build process, move between debug and release builds with a command-line switch, and so on. In response, Microsoft quickly introduced the Web Application Project or WAP, initially released as an add-in to Visual Studio 2005, and now included in Visual Studio 2005 Service available for download from https://www.doczj.com/doc/a89822401.html,/vstudio/support/vs2005sp1. WAP provides an alternative to the Web site model that is much closer to the Visual Studio .NET 2005 Web Project model. The new WAP model compiles all of the source code files during the build process and generates a single assembly in the local /bin directory for deployment. WAP also makes it much easier to incrementally adopt the new partial class codebehind model

机械 外文翻译 外文文献 英文文献 液压机械及泵

Hydraulic machinery and pump Hydraulic machinery are machines and tools which use fluid power to do work. Heavy equipment is a common example. In this type of machine, high-pressure liquid - called hydraulic fluid - is transmitted throughout the machine to various hydraulic motors and hydraulic cylinders. The fluid is controlled directly or automatically by control valves and distributed through hoses and tubes. The popularity of hydraulic machinery is due to the very large amount of power that can be transferred through small tubes and flexible hoses, and the high power density and wide array of actuators that can make use of this power. Hydraulic machinery is operated by the use of hydraulics, where a liquid is the powering medium. Pneumatics, on the other side, is based on the use of a gas as the medium for power transmission, generation and control. Hydraulic circuits For the hydraulic fluid to do work, it must flow to the actuator and or motors, then return to a reservoir. The fluid is then filtered and re-pumped. The path taken by hydraulic fluid is called a hydraulic circuit of which there are several types. Open center circuits use pumps which supply a

国际经济学英文第七版克鲁格曼英文经济名词翻译

Key Terms of International Economics Chapter3 Labor Productivity and Comparative Advantage Comparative advantage 比较优势 Absolute advantage 绝对优势 Opportunity cost 机会成本 Production possibility frontier 生产可能性边界 Unit labor requirement 单位产品劳动投入 Relative price 相对价格 Relative demand curve相对需求曲线 Relative supply curve 相对供给曲线 Relative wage 相对工资 Relative quantity 相对产量 Ricardian model 李嘉图模型 Pauper labor argument 贫民劳动论 Nontraded goods 非贸易商品 Chapter 4 Resources and Trade: the Heckscher-Ohlin Model Abundant factor 丰裕要素 Biased expansion of production 偏向性生产扩张 Equalization of factor prices 要素价格均等化 Factor abundance 要素丰裕度 Factor intensity 要素密集度 Scarce factor 稀缺要素 Leontief paradox 里昂惕夫悖论 land-intensive 土地密集型 Labor-intensive劳动密集型 the ratio of 2 factor prices 要素价格比 Wage-rental ratio 工资-租金比 Land-labor ratio ,the ratio of land to labor 土地劳动比 Chapter 5 The standard Trade Model Biased growth 偏向性增长 Export-biased growth 出口偏向性增长

经济管理类专业英语翻译 (管理原则)

期末论文 院系 专业班级 学号 学生姓名 成绩评定

管理原则 也许在那些关于管理者这门学科的书中有许多关于管理的定义。许多定义是相对扼要和简单化的。一位早期的学者将它定义为“清楚地知道你想让人们去做什么,然后看着他们以最好最廉价的方式去完成它”。管理实际上是一个非常复杂的过程——远远比那些定义让我们知道的要复杂得多。因此,我们要建立一种管理的定义,从而能更好地了解这过程的实质。 管理是在一定的环境条件下通过对人员技术和资金等资源的利用和协调去设立和完成某一个组织目标的过程。这个过程有若干个核心包括计划和决策,组织,人员,领导,管理和控制。所有从事于这些工作的负责人在更大或更小的程度上都依赖于他们所承担的特殊的责任。当谈论管理的定义时,我们不应该忽略管理的原则。 管理的最基本原则在文明诞生时就存在了。当人们第一次开始群居生活和首次提高他们的生活质量时它就存在了。2500年前,巴比伦国王尼布甲尼撒二世决定把他的沙漠王国变成绿洲去取悦他的妻子。在公元前6世纪,尼布甲尼撒二世耗尽了国家财政部的金钱,雇佣劳动者和技术人员利用有限的资源建造一个宫殿,建造了完善的管网系统,把当地河流的水输送到皇宫里。当工程完成后,他在平台上种植漂亮稀有的花草树木。巴比伦的空中花园改变了这座城市。 尼布甲尼撒二世制定了一个目标。他要把沙漠中的主要城市变成绿洲。他利用和协调人员,技术和金钱去完成这一目标。他从王室金库中获得的资金去雇佣民工和技师并从附近地区购买材料。他在这种只能提供原始水管装置,建筑技术以及只能从茫茫沙漠中取得有限的材料的环境下完成了目标。最终,每个人在这个工程商所付出的努力创造了世界七大奇观之一。 2500年前,人们完成某项巨大的任务所运用的管理过程与如今运用的基本原理相似,管理者在执行这个过程是将它分成了5个部分。 这篇文章的主旨在于表达有关管理过程的一些观点和如何将它运用到我们所面临的不同的情况中去。你们所要学习的管理原则是指指导管理者的宗旨,原则或者是组织规范。他们会提供一个行动框架,为了有效的使用他们,一个人必须培养和使用技能的决策。理智决策是识别某个问题或机会,找到可行的方法去处理它并选择最好的方法的过程。因此,决策是最重要的管理活动。管理者必须决定去实施管理的每个功能以及每种情况所需要采取的相应的原则。 在这一点上,我们对于管理必须有两点最基本的理解。首先,在特定的环境下运用各种资源设立完成目标。第二,为了确保组织的成功,组织者必须满足他的技术要求,行政要求和责任制度。尽管这听起来很简单,但这两个原则却经过了几个世纪的发展才形成的。之后将要提到的所有原则都是随着时间的推移从各种来源中汲取的。一些原则来源于各人的直觉,然而其他的则反映了组织中那些成功企业家,著名商业巨子或者是富有创新精神的工作者的经验。直到十九世纪,直觉和经验仍是管理原则的基本来源 尽管本能和直觉曾经是商业管理的基础,但现在创业者创立新的企业经常以他们的直觉进行管理。在十九世纪70年代至80年代的电脑产业中,对技术很精通,但对管理知之甚少的企业家成立了数以百计的硬件和软件公司,一些存活下来,更多的则不是。许多公司开始发展得好是得益于创

共享经济外文翻译文献编辑

文献信息: 文献标题:Putting the sharing economy into perspective(透视共享经济) 国外作者:Koen Frenken,Juliet Schor 文献出处:《Environmental Innovation and Societal Transitions》, 2017, 23:3-10 字数统计:英文3345单词,18027字符;中文5823汉字 外文文献: Putting the sharing economy into perspective Abstract We develop a conceptual framework that allows us to define the sharing economy and its close cousins and we understand its sudden rise from an economic-historic perspective. We then assess the sharing economy platforms in terms of the economic, social and environmental impacts. We end with reflections on current regulations and future alternatives, and suggest a number of future research questions. Keywords:Sharing; Platform; Sustainability; Reverse technology assessment; Regulation 1.Introduction In the Spring of 2014, the sharing economy held an unusual gathering in San Francisco, a sort of “coming out” party. Entitled “SHARE,” the conference included not only founders, funders and fans of the sharing economy, but also harsh critics. Politically progressive insiders and outsiders raised questions about access, exclusion and the distribution of value in the sector. They discussed their vision of a fairer, lower-carbon, more transparent, participatory and socially-connected economy, and whether those goals are consistent with the actions of the large, moneyed players—the successful platforms and the venture capitalists who are backing them with vast sums

ASPNET毕业设计外文翻译3

毕业设计(论文)外文资料翻译 学院 专业 学生姓名 班级学号 外文出处 附件:1.外文资料翻译译文;2.外文原文 指导教师评价: 1.翻译内容与课题的结合度:□优□良□中□差2.翻译内容的准确、流畅:□优□良□中□差3.专业词汇翻译的准确性:□优□良□中□差4.翻译字符数是否符合规定要求:□符合□不符合 指导教师签名: 年月日

附件1:外文资料翻译译文 非常https://www.doczj.com/doc/a89822401.html, 1.1Web 部署项目 当ASP 第一次发布时,Web 编程还比较困难,因为需要 IIS 来处理 ASP 页。后来,https://www.doczj.com/doc/a89822401.html, 2.0 和 Visual Studio? 2005 通过引入网站开发模型使一切工作都变得容易了。借助该网站模型,您不必在 Visual Studio 中创建新项目,而是可以指向一个目录并开始编写网页和代码。此外,您还可以使用内置的 https://www.doczj.com/doc/a89822401.html, Development Server 快速测试站点,https://www.doczj.com/doc/a89822401.html, Development Server 将 https://www.doczj.com/doc/a89822401.html, 寄宿在一个本地进程中,并消除了必须安装 IIS 才能进行开发这一先决条件。该网站模型的魅力在于您在开发 Web 应用程序时无需考虑打包和部署。需要其他类时怎么办?向 App_Code 目录添加一个 .cs 文件即可开始编写。希望将可本地化的字符串存储在资源文件中时怎么办?向 App_GlobalResources 目录添加一个 .resx 文件并键入字符串。一切都顺顺当当;您根本就不必考虑编译和部署方面的事情。 在准备进行部署时,您有多种可选方案。最简单的方案是将文件复制到主运行服务器并按要求编译每一个文件(和在测试环境中一样)。第二种方案是使用 aspnet_compiler.exe 实用工具将应用程序预编译为二进制版本,之后将只剩下要放到服务器上的一组程序集、静态内容和配置文件。第三种方案也使用 aspnet_compiler.exe,但要创建一个可更新的二进制部署,其中 .as*x 文件保持不变(并且可修改),而所有代码文件都编译为二进制程序集。 这似乎涵盖了每一种可能的情况,开发人员可以一心一意地编写 Web 应用程序,而在以后实际部署时再作打包和部署决定。不过,此模型也遭到了相当大的反对,特别是那些习惯了自己开发的 Web 项目是在实际项目文件中指定的实际项目的开发人员的反对,这些项目允许注入生成前和生成后函数、从生成过程排除文件以及使用命令行开关在调试和发布版本之间进行切换等操作。有鉴于此,Microsoft 迅速推出了 Web 应用程序项目(即 WAP),最初它是作为 Visual Studio 2005 的插件发布的,现在包含在 Visual Studio 2005 Service Pack 1 (SP1) 中,Visual Studio 2005 Service Pack 1 (SP1) 可从https://www.doczj.com/doc/a89822401.html,/vstudio/support/vs2005sp1 下载。 WAP 可替代与 Visual Studio .NET 2005 Web 项目模型非常接近的网站模型。新的WAP 模型会在生成过程中编译所有源代码文件,并在本地的 /bin 目录中生成一个用于部署的程序集。WAP 还使得增量采用 https://www.doczj.com/doc/a89822401.html, 2.0 引入的新的分部类代码隐藏模型变得更

柱塞泵毕业设计外文文献翻译

利用神经网络预测轴向柱塞泵的性能 Mansour A Karkoub a, Osama E Gad a, Mahmoud G Rabie b a--就读于科威特的科威特大学工程与石油学院 b--就读于埃及开罗的军事科技大学 摘要 本文推导了应用于轴向柱塞泵(斜轴式)的神经网络模型。该模型采用的数据是由一个实验装置获得的。这个正在进行的研究的目的是降低柱塞泵在高压下工作时的能量损耗。然而,在最初我们要做一些研究来预测当前所设计的泵的响应。神经网络模型具有前反馈的结构,并在测验过程中使用Levenberg-Marquardt优化技术。该模型能够准确地预测柱塞泵的动态响应。 1、简介 可变排量轴向柱塞泵是在流体动力系统中经常要用到的重要设备,如液压动力供应控制和静液压传动驱动器的控制。本装置具有变量机制和功率-重量比特性,使其最适合于高功率电平的控制。所设计的这种轴向柱塞泵拥有可靠性和简便的特点,然而其最重要的特征是可以变量输出。 人们在轴向柱塞泵领域已经做了很多研究,但是本文将只论述一下少数几人所做的贡献。 Kaliafetis和Costopoulos[5]用调压器研究了轴向柱塞变量泵的静态和动态特性。所提出的模型的精确度依赖于制造商提供的动态运行曲线等数据。他们得出结论,运行条件对泵的动态行为是非常关键的,而泵的动态行为可以通过减小压力设定值进行改善。Harris等人[4]模拟和测量了轴向柱塞泵的缸体压力和进油流量脉动。Kiyoshi和Masakasu[7]研究了斜盘式变量输送的轴向柱塞泵在运行时刻的实验上和理论上的静态和动态特性。并提出了一种新的方法来预测泵在运行过程中的响应。也对研究泵特性的新方法的有效性进行了实验验证,实验中使用了一个有宽、短而深的凹槽的配流盘。Edge和Darling[2]研究了液压轴向柱塞泵的缸体压力和流量。这个得出的模型经过了实验检验。对于配流盘、缸体上设计的退刀槽和泵的流量脉动对泵特性的影响都进行了验证。 人们已证实了一种可替代的建模技术——神经网络(NN)能取得良好的效果,特别是对于高度非线性的系统。这种技术是模仿人脑获取信息的功能。Karkoub 和Elkamel[6]用神经网络模型预测了一个长方形的气压轴承的压力分布。所设计的这种模型在预测压力分布和承载能力方面比其他可用的工具更加精确。Gharbi 等人[3]利用神经网络预测了突破采油。其表现远远优于常见的回归模型或有限差分法。李等人[8]用神经网络模型NNS和鲍威尔优化技术对单链路和双链路的倒立摆进行了建模和控制。研究者们取得了理想的结果。Panda等人[9]应用NNS在普拉德霍湾油田对流体接触进行了建模。所得到的模型预测的目标油井中的流量分配比传统的以回归为基础的技术更准确。Aoyama等人[1]已经推导出一个神经网络模型来预测非最小相系统的响应。所开发出的的模型被应用于Van de Vuss反应器和连续搅拌式生物反应器,所得到的结果是令人满意的。 本文研究利用神经网络解决轴向柱塞泵(斜轴式)在一定的供油压力下的建模。本文首先会描述用于收集实验数据的实验装置,然后将会简要介绍神经网络建模程序。 2、实验装置

经济学基础文献选目

经济学基础文献选目(暂定) 第一单元:现代经济学方法论 1、弗里德曼:“实证经济学的方法论” 2、周其仁:“研究真实世界的经济学:科斯研究经济学的方法及其在中国的实践”。 3、阿尔钦:“不确定性、进化与经济学” 4、丹尼尔.贝尔:“经济论述中的模型与现实” 第二单元:经济运行的一般过程 5、里德:“铅笔的故事” 6、雷德福德:“战俘营的经济组织”。 第三单元:知识、信息与人类行为 7、哈耶克:“知识在社会中的利用”。 8、斯蒂格勒:“信息经济学”。 9、阿伦.杨“递增报酬与经济进步” 10、亚当.斯密:《国富论(节选)》。 第四单元:新制度经济学 11、张五常:“关于新制度经济学” 12、科斯:“生产的制度结构”。 13、科斯:“企业的性质” 14、科斯:“社会成本问题” 15、德姆塞茨:“关于产权的理论” 16、阿尔钦、德姆塞茨:“生产、信息费用与经济组织” 第五单元:经济学的性质、范围和边界 17、凯恩斯:“我们孙辈的经济学”。 18、兰格:“马克思经济学与现代经济理论”。 19、赫什拉弗:“扩张中的经济学领域”。 20、贝克尔:“观察生活的经济方式”。 经济学基础教材简介 一、入门教材:人大版《经济科学译丛系列》 1、曼昆《经济学原理》上下册,88元。梁小民教授翻译。曼昆为哈佛高才生,天才横溢,属新古典凯恩斯主义学派,研究范围偏重宏观经济分析。 该书为大学一年级学生而写,主要特点是行文简单、说理浅显、语言有趣。界面相当友好,引用大量的案例和报刊文摘,与生活极其贴近,诸如美联储为何存在,如何运作,Greenspan 如何降息以应付经济低迷等措施背后的经济学道理。该书几乎没有用到数学,而且自创归纳出“经济学10大原理”,为初学者解说,极其便利完全没有接触过经济学的人阅读。学此书,可了解经济学的基本思维,常用的基本原理,用于看待生活中的经济现象。可知经济学之功用及有趣,远超一般想象之

经济与管理专业外文翻译--运用作业成本法和经济增加值的具体应用

A FIELD STUDY:SMALL MANUFACTURING COMPANIES In this section, the implementation of the proposed Integrated ABC-EVA System at two small manufacturing companies is presented. The managers of the companies wished for their company names to remain anonymous. T herefore, they will be referred to as “Company X” and “Company Y” from here on. Prior to the field study, both companies were using traditional costing systems. The overhead was allocated to product lines based on direct labor hours. In both companies, managers felt that their traditional costing systems were not able to provide reliable cost information. 1 Company X Company X, located in Pittsburgh, Pennsylvania, was a small manufacturing company with approximately 30 employees. Company X’s main products l ines were Overlays、Membranes、Laser、Roll Labels and N’Caps. In the mid 1990’s, a group of investors purchased the company from the previous owner-manager who had retired. At the time of the study, the company was managed by its former vice-president, who was supported by a three-person management group. Investors were primarily concerned with financial performance rather than daily decision-making. The management group was very eager to participate in the field study for two reasons. First, the management was under pressure from their new investors who were not satisfied with the current return from existing product lines; Second, management was trying to identify the most lucrative product line in order to initiate a marketing campaign with the biggest impact on overall profits. 2 Company Y Company Y, also located in Pittsburgh, Pennsylvania, was owned and managed by three owner-managers who bought the company from a large corporation in the mid 1990’s, Company Y employed approximately 40 people. The majority of this compa ny’s business was in the area of manufacturing electrical devices and their main product lines were Motors and Motor Parts、Breakers、and Control Parts. Company Y sold its products in the domestic market as well as abroad. A portion of the company’s output was sold directly to end-users, while the remainder was sold with the help of independent distributors. The management of Company Y was

文本预览
相关文档 最新文档