OpenERP 的架构
要使用 OpenERP ,你可以:
use a web browser pointed at the OpenERP client-web server, or
使用在电脑上安装的应用程序客户端(GTK)。
The two methods of access give very similar facilities, and you can use both on the same server at the same time. It is best to use the web browser if the OpenERP server is some distance away (such as on another continent) because it is more tolerant of time delays between the two than the GTK client is. The web client is also easier to maintain, because it is generally already installed on users’ computers.
相反地如果你是使用本地的服务器(例如在同一栋建筑内),应用程序的客户端(被称为 GTK 客户端,因为内建 GTK 的技术)会较佳)。这种状况下 GTK 客户端响应速度较快,使用满意度也会较高。
注解
网页客户端和 GTK 客户端
网页客户端和 GTK 客户端,这两种 OpenERP 客户端有一点点功能上的不同。 网页客户端提供较多功能,例如,企业情报 的功能和 甘特图。
When you are changing the structure of your OpenERP installation (adding and removing modules, perhaps changing labels), you might find the web client to be irritating because of its use of caching.
Caching speeds it all up by keeping a copy of data somewhere between the server and your client, which is usually good. But you may have made changes to your installation that you cannot immediately see in your browser. Many apparent faults are caused by this! The workaround is to use the GTK client during development and implementation where possible.
OpenERP 公司将会在可见的未来里继续支持这两种客户端,所以这两种客户端,你可以爱用哪种就用哪种。
OpenERP系统由三个主要部分组成。
PostgreSQL 数据库服务器,包含了所有数据库,其中每个数据库都包含了所有数据以及OpenERP系统组态大部分的要素。
OpenERP应用服务器,包含了所有的企业逻辑并确保OpenERP以最佳的状态运行,
the web server, a separate application called the Open Object client-web, which enables you to connect to OpenERP from standard web browsers and is not needed when you connect using a GTK client.
OpenERP 的架构
注解
术语:客户端-Web – 服务器还是客户端?
Web客户端组件被看作是服务器或客户端取决于你的视点。
It acts as a web server to an end user connecting from a web browser, but it also acts as a client to the OpenERP application server just as a GTK application client does.
因此本书中的内容将决定client-web组件是否被引用为服务器端还是客户端。
注解
eTiny
The web application used to be known as “eTiny”. Its name changed to “client-web” as Tiny ERP was renamed to OpenERP, but its characteristics have generally stayed the same.
注解
PostgreSQL 是一种关系型,也是物件型的数据库管理系统。
这是一种免费,开源,高效能的系统,与其他数据库管理系统比起来毫不逊色,例如 MySQL,FirebirdSQL (都是免费系统), Sybase, DB2,微软 SQL Server (都是有版权的)。 这个系统在各种作业系统上都可以运行,从 Unix/Linux 到许多不同版本的 Windows,也包含了 Mac OS X, Solaris, SunOS 和 BSD.
这三个组件可以安装在同一台服务器上或分布在不同电脑上,如果为提升性能考虑的话。
If you choose to run only with GTK clients, you will not need the third component – the client-web server – at all. In this case, OpenERP’s GTK client must be installed on the workstation of each OpenERP user in the company.