Flash Communication Server配置翻译系列(4)
By 西沉 2005-6-13
Typical configurations
典型配置
Flash Communication Server can be used in a variety of different ways, with different
可以通过多种途径使用Flash Communication Server。
configurations. In most cases, the server will be used in conjunction with a web server. As
一般情况下,可以与网页服务器配合使用。
described in Managing the Server, applications that run on Flash Communication Server consist of
象在Managing the Server描述的那样,运行在Flash Communication Server上的应用程序由
clients developed in Macromedia Flash MX (SWF files); directories on the server register the
swf文件,程序文件夹,流文件和脚本文件组成。
application on the server and contain streams and scripts used by the application.
Your web server is responsible for serving the SWF client files and the HTML pages in which they
你的网络服务提供包含SWF的HTML的网页文件,
are embedded. In addition, you may use an application server in conjunction with your web server
另外,你也可能为你的服务器添加数据库和其他的功能。
and Flash Communication Server to incorporate database or other features into your communication applications.
If you are running Flash Communication Server on a UNIX system, you must also have a Windows
如果你的Flash Communication Server运行在UNIX系统下,你必须要有安装有FLASH MX
or Macintosh computer with Flash MX to create Flash Communication Server applications. Your
的windows系统或Macintosh系统的计算机来创建Flash Communication Server应用程序。
client-side files (SWF and HTML files) for your applications can reside on the Flash Communication
你的客户端文件(SWF和HTML文件)可以部署在装有Flash Communication Server的计算
Server computer or another computer, depending on where your web server is installed. Your
机或其他电脑上。这依赖于你的网页服务器安装在哪里。
source files and server-side scripts (ASC, FLA, FSO, and FLV files) must reside on the UNIX
你的源文件和服务端脚本必须部署运行Flash Communication Server的电脑上。
computer where Flash Communication Server is running.
The following diagrams illustrate some typical deployment scenarios.
下列图表示例了典型的部署
Development During the development process, you may choose to use one computer with a web
开发过程中,你可以利用同时安装有Flash Communication Server,网页服务器和Flash MX的
server, -Flash Communication Server, and Flash MX installed.
电脑。
The web root directory in this scenario would contain all the components of your applications, such
网站根目录在这种情况下包含所有的文件,例如:FLA,SWF,HTML,SCRIPT,STREAM和
as the application's FLA, SWF, HTML, script, stream and shared object files. This setup provides a
共享文件。
simple working environment for designing and testing your applications.
这种设置为开发,测试提供简单的环境。
For security reasons, this configuration is not recommended for deployment. In deployment, your
由于安全的原因,这种配置在部署的时候不被推崇。在部署条件下,
FLA, script, stream, and shared object files would not be stored in the web root directory. This
你的FLA, script, stream, and 共享对象等文件不能保存在网站根目录下。
configuration is possible only if you have installed Flash Communication Server for Windows.
这种配置仅适用于在windows系统下安装的Flash Communication Server。
Deployment: one computer A relatively simple deployment scenario consists of one computer
简单部署在一台电脑上安装网页服务器,Flash Communication Server MX,防火墙,为服务器
with a web server, Flash Communication Server MX, and a firewall installed. The firewall provides
提供安全保证。
security for the server computer and the rest of your local network.
In this and any other deployment scenario, the
在简单部署条件下,ASC,FLV和FLAs文件不在部署在网页服务器的发布目录,
server-side files (ASCs), the audio/video files (FLVs), and the source files (FLAs) should not reside in the web server's published directories. These files should be located in your registered
这些文件必须保存在Flash Communication Server目录applications中注册的应用程序文件夹
application directory within the applications directory in the Flash Communication Server directory
下
(or, if you changed this location, the directory in the <AppsDir> tag in the Vhost.xml file). The web
(或,如果你改变了Vhost.xml文件中<AppsDir>标签内定义的路径。)
server's web root directory should contain only the HTML and SWF files for your applications.
网站根目录仅包括HTML文件和SWF文件。
Deployment: two computers In this scenario the Flash Communication Server and application
在两台电脑上部署:
server are on two separate computers. This allows for more separation of files and functions and
有利于分离文件和功能性和更多的处理带宽。
more processor bandwidth. The web server computer can also host an application server if your
situation requires one.
If you are running Flash
如果你的Flash Communication Server运行在UNIX系统,
Communication Server on a UNIX system, you might also use this configuration for development
你也可以利用这种部署,在这种情况下,你可以把Flash MX安装在Windows系统或Macintosh
purposes, in which case you would also install Flash MX for Windows or Macintosh on the web
系统的网站服务器上。
server computer.
Deployment: two computers with authentication via Flash Communication Server Some scenarios may require authentication of users who want to access information on an application
有些情况下需要识别可以接触应用程序信息,
server. In this case you may want to use a separate computer for Flash Communication Server MX,
在这种情况下,需要用不同的电脑分阁Flash Communication Server MX和Application
and another for the web server and application server. Your Flash Communication Server can
Server. Flash Communication Server Mx可以从Application Server那获得数据来鉴别
perform the authentication and then retrieve data from the web/application server. This scenario
用户,开发者需要编写服务端脚本提供功能性。
requires the developer to create server-side scripts to perform these functions.
Deployment: two computers with authentication via an application server You may decide
你可能需要在用户连接你的Flash Communication Server前对用户鉴别。
to have users authenticated before they are allowed to connect to your Flash Communication Server. In this scenario, users connect first to the web/application server. If they are authenticated,
这种情况下首先连接Application Server取得票据,
the application server creates a ticket that the user then uses to connect to the Flash Communication Server. The Flash MX communication application must be designed to check for
Flash MX communication application鉴别票据,决定是否允许连接。
these tickets, typically with server-side scripts.
By 西沉 2005-6-13
Typical configurations
典型配置
Flash Communication Server can be used in a variety of different ways, with different
可以通过多种途径使用Flash Communication Server。
configurations. In most cases, the server will be used in conjunction with a web server. As
一般情况下,可以与网页服务器配合使用。
described in Managing the Server, applications that run on Flash Communication Server consist of
象在Managing the Server描述的那样,运行在Flash Communication Server上的应用程序由
clients developed in Macromedia Flash MX (SWF files); directories on the server register the
swf文件,程序文件夹,流文件和脚本文件组成。
application on the server and contain streams and scripts used by the application.
Your web server is responsible for serving the SWF client files and the HTML pages in which they
你的网络服务提供包含SWF的HTML的网页文件,
are embedded. In addition, you may use an application server in conjunction with your web server
另外,你也可能为你的服务器添加数据库和其他的功能。
and Flash Communication Server to incorporate database or other features into your communication applications.
If you are running Flash Communication Server on a UNIX system, you must also have a Windows
如果你的Flash Communication Server运行在UNIX系统下,你必须要有安装有FLASH MX
or Macintosh computer with Flash MX to create Flash Communication Server applications. Your
的windows系统或Macintosh系统的计算机来创建Flash Communication Server应用程序。
client-side files (SWF and HTML files) for your applications can reside on the Flash Communication
你的客户端文件(SWF和HTML文件)可以部署在装有Flash Communication Server的计算
Server computer or another computer, depending on where your web server is installed. Your
机或其他电脑上。这依赖于你的网页服务器安装在哪里。
source files and server-side scripts (ASC, FLA, FSO, and FLV files) must reside on the UNIX
你的源文件和服务端脚本必须部署运行Flash Communication Server的电脑上。
computer where Flash Communication Server is running.
The following diagrams illustrate some typical deployment scenarios.
下列图表示例了典型的部署
Development During the development process, you may choose to use one computer with a web
开发过程中,你可以利用同时安装有Flash Communication Server,网页服务器和Flash MX的
server, -Flash Communication Server, and Flash MX installed.
电脑。
The web root directory in this scenario would contain all the components of your applications, such
网站根目录在这种情况下包含所有的文件,例如:FLA,SWF,HTML,SCRIPT,STREAM和
as the application's FLA, SWF, HTML, script, stream and shared object files. This setup provides a
共享文件。
simple working environment for designing and testing your applications.
这种设置为开发,测试提供简单的环境。
For security reasons, this configuration is not recommended for deployment. In deployment, your
由于安全的原因,这种配置在部署的时候不被推崇。在部署条件下,
FLA, script, stream, and shared object files would not be stored in the web root directory. This
你的FLA, script, stream, and 共享对象等文件不能保存在网站根目录下。
configuration is possible only if you have installed Flash Communication Server for Windows.
这种配置仅适用于在windows系统下安装的Flash Communication Server。
Deployment: one computer A relatively simple deployment scenario consists of one computer
简单部署在一台电脑上安装网页服务器,Flash Communication Server MX,防火墙,为服务器
with a web server, Flash Communication Server MX, and a firewall installed. The firewall provides
提供安全保证。
security for the server computer and the rest of your local network.
In this and any other deployment scenario, the
在简单部署条件下,ASC,FLV和FLAs文件不在部署在网页服务器的发布目录,
server-side files (ASCs), the audio/video files (FLVs), and the source files (FLAs) should not reside in the web server's published directories. These files should be located in your registered
这些文件必须保存在Flash Communication Server目录applications中注册的应用程序文件夹
application directory within the applications directory in the Flash Communication Server directory
下
(or, if you changed this location, the directory in the <AppsDir> tag in the Vhost.xml file). The web
(或,如果你改变了Vhost.xml文件中<AppsDir>标签内定义的路径。)
server's web root directory should contain only the HTML and SWF files for your applications.
网站根目录仅包括HTML文件和SWF文件。
Deployment: two computers In this scenario the Flash Communication Server and application
在两台电脑上部署:
server are on two separate computers. This allows for more separation of files and functions and
有利于分离文件和功能性和更多的处理带宽。
more processor bandwidth. The web server computer can also host an application server if your
situation requires one.
If you are running Flash
如果你的Flash Communication Server运行在UNIX系统,
Communication Server on a UNIX system, you might also use this configuration for development
你也可以利用这种部署,在这种情况下,你可以把Flash MX安装在Windows系统或Macintosh
purposes, in which case you would also install Flash MX for Windows or Macintosh on the web
系统的网站服务器上。
server computer.
Deployment: two computers with authentication via Flash Communication Server Some scenarios may require authentication of users who want to access information on an application
有些情况下需要识别可以接触应用程序信息,
server. In this case you may want to use a separate computer for Flash Communication Server MX,
在这种情况下,需要用不同的电脑分阁Flash Communication Server MX和Application
and another for the web server and application server. Your Flash Communication Server can
Server. Flash Communication Server Mx可以从Application Server那获得数据来鉴别
perform the authentication and then retrieve data from the web/application server. This scenario
用户,开发者需要编写服务端脚本提供功能性。
requires the developer to create server-side scripts to perform these functions.
Deployment: two computers with authentication via an application server You may decide
你可能需要在用户连接你的Flash Communication Server前对用户鉴别。
to have users authenticated before they are allowed to connect to your Flash Communication Server. In this scenario, users connect first to the web/application server. If they are authenticated,
这种情况下首先连接Application Server取得票据,
the application server creates a ticket that the user then uses to connect to the Flash Communication Server. The Flash MX communication application must be designed to check for
Flash MX communication application鉴别票据,决定是否允许连接。
these tickets, typically with server-side scripts.
回复Comments
作者:
{commentrecontent}