📄 postgresql-howto-14.html
字号:
68259 Mannheim Germany Fax. 49-621-795161 </PRE></CODE></BLOCKQUOTE> <UL><LI> Mr.Helmut Emmelmann 的电邮地址 <A HREF="mailto: emmel@h-e-i.de">emmel@h-e-i.de</A> </LI><LI> Heitml 主网页 <A HREF="javascript:if(confirm('http://www.heitml.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.heitml.com/'" tppabs="http://www.heitml.com/">http://www.heitml.com</A> </LI><LI> Heitml 次网页 <A HREF="javascript:if(confirm('http://www.h-e-i.deom/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.h-e-i.deom/'" tppabs="http://www.h-e-i.deom/">http://www.h-e-i.deom</A> </LI></UL> <P>Heitml 同时是 HTML 的服务器端延伸和一种 4GL 语言。网页编写人员可以 HTML 的风格用类似 HTML 标签编写程序。<P>Heitml(音 "Hi"-TML)是 HTML 的延伸及一个全面的第四代语言,它容许以互联网为基础的程序直接利用 SQL 资料库中的资料,而不需使用复杂的 CGI 命令稿。<P>Heitml 在服务器端延伸 HTML,动态地把“.hei”档转换为 HTML 格式,使它与任何浏览器兼容。它包括大家熟悉、易用的 HTML 语法,及提供大量预先开发了的标签和程序库来应附以往由 CGI 进行的工作。像 XML 般,heitml 容许使用者自定标签。籍著 heitml,使用者自定的标签可翻译为 HTML 及传送给浏览器。<P>Heitml 同时以 HTML 设计者和专业的程序设计师为目标。HTML 设计师可使用 heitml 标签来建立动态的网页,存取 SQL 资料库,或建立完整的万维网应用程序。计数器、登记资料库 (registration databases)、搜寻器表格、电邮表格、阶层式选单 (hierachical menus) 都可轻松地籍著在大量元件函式库 (Component Libraries) 预建的类似 HTML 的标签产生。<P>对程序设计师来说,heitml 在 HTML 中嵌入了完整的第四代程序语言,<P><BLOCKQUOTE><CODE><PRE> (e.g. <if>, <while>, 和 <let> 标签), </PRE></CODE></BLOCKQUOTE> 和对含整数、实数、布林值、字串和元组 (tuple) 的表达式强劲运算能力。元组的参考语法 (reference semantics) 如同物件导向语言般,及储存在堆叠中。Heitml 变数,包括所有在堆叠中的复杂资料结构,在 Session Mode 中可在不同网页间维持。你也可以自订标签或环境标签 (environment tags),甚至重新定义 HTML 标签。<P>heitml 使得以下事情有可能<P>□□以具结构及模块化 (structured and modular) 方式开发网页,大幅减低维护困扰。<P>□□开发有智慧及互动的网页,内容可动态地适应用者所需。<P>□□无需设计程序便可显示 SQL 资料库的内容,你只需要使用预先定义的“dba”标签。<P>□□使用 Session Variables 开发复杂的资料库及目录购物程序。<P>Heitml 可经 CGI 界面在 Linux 的任何互联网服务器中执行,而在 Apache 中可使用 apache API 使得执行速度特别快(避免了 CGI 的工作)。目前,它支持 mSQL(第一及二版)、PostgreSQL(第六版)、mySQL、及 the yard databases。heitml 可在 Linux、BSDi、Solaris 和 SunOS 执行,以及在视窗 NT 加上 CGI 和 ISAPI、ODBC、视窗 95 中使用。<P>heitml(Linux 版)对研究、非商业性和个人用途是免费的。商业网站需附出授权费。设有试用期限的功能完整的试用版可免费下载。(不过要注意,每个你开发的“.hei”网页都会印出一个讯息指出它是非商用版本。登记之後你会收到一个键码,使你可关掉这讯息而无需重新安装。)<P>heitml(音“Hi”-TML)籍著可自行定义的标签和完整的程序设计能力显著地延伸及增强 HTML 的功能。这使动态的内容和资料库程序可在 HTML 世界中出现,而不需要 CGI 或外部手稿或程序语言。也就是说,一个 HTML 作者可在网页中嵌入应用程序。这只需要使用新的标签,而不需 CGI 或程序设计。另一方面,进阶使用者或程序设计师可创造及设计强劲的标签库。这做法使得 heitml 对 HTML 新手和专业程序设计师共时适用。heitml 在万维网服务器上执行及动态地产生 HTML,所以 heitml 和互联网标准兼容,也和任何浏览器兼容。它一方面提供用者完整的资料库存取功能,另一方面使用者无需理会任何不必要的 CGI 复杂性。heitml 是根据有关编译器构造和异动 (transaction) 系统的最新研究成果而开发的。<P>heitml 页的开发过程和 HTML 页一样,都是使用文字编辑器或 HTML 编辑器,也如常地放在万维网服务器上。不过,新的网页可包括动态的 heitml 标签和使用标签库。你可使用这些标签存取资料库、产生动态内容、寄出电邮,甚至可以开发强劲的应用程序,如登记资料库 (registration database) 和购物系统。<P>HTML 新手和专业程序设计师一样会为能够高速而简易地设计精采的应用程序,如我们的互动签名簿,而不需使用复杂而难学的 CGI 命令稿而惊讶。这工作只需使用 dba 式库中的工具便可做到。<P>heitml 包括不同种类的标签库,用以制造签名簿、资料库维护程序、可延伸的查询表格、强劲的电邮表格或网页的阶层式选单 (hierarchic menu)。这些工具已可使用,你只需在网页上加上对应的标签。<P>作为一个有经验的程序设计师,你可全面使用 heitml 的持久动态元组架构 (persistent dynamic tuple architecture)∶heitml 不单是有动态型态 (dynamic typing)、全功能的表达式计算、递回函数和丰富的参数传递特色的命稿语言,也籍动态元组架构自动保持任何大小的 session 资料。<P> <H2><A NAME="ss14.5">14.5 PostgreSQL 的 America On-line AOL 万维网伺服者</A></H2><P> AOLserver 2.3 版是一个免费的商业万维网伺服者,它可连接到6.2.1 或以上的 PostgreSQL。欲知详情,请看<UL><LI> AOL 万维网服务器 <A HREF="javascript:if(confirm('http://www.aolserver.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.aolserver.com/'" tppabs="http://www.aolserver.com/">http://www.aolserver.com</A> </LI></UL> <H2><A NAME="ss14.6">14.6 PostgreSQL 的疑难 / 计划追踪系统程序工具(Problem/Project Tracking System Application Tool for PostgreSQL )</A></H2><P> 它在 <UL><LI> <A HREF="javascript:if(confirm('http://www.homeport.org/~shevett/pts/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.homeport.org/~shevett/pts/'" tppabs="http://www.homeport.org/~shevett/pts/">http://www.homeport.org/~shevett/pts/</A> </LI></UL> <H2><A NAME="ss14.7">14.7 把 dbase 的 dbf 档转换给 PostgreSQL</A></H2><P> dbf2msql 程序和 mSQL 及 PostgreSQL 合作愉快。你可在以下方找到<UL><LI> <A HREF="javascript:if(confirm('ftp://ftp.nerosworld.com/pub/SQL/dbf2sql/ \n\nThis file was not retrieved by Teleport Pro, because it did not meet the project\'s file type specifications. \n\nDo you want to open it from the server?'))window.location='ftp://ftp.nerosworld.com/pub/SQL/dbf2sql/'" tppabs="ftp://ftp.nerosworld.com/pub/SQL/dbf2sql/">ftp://ftp.nerosworld.com/pub/SQL/dbf2sql/</A> </LI><LI> <A HREF="javascript:if(confirm('ftp://ftp.postgresql.org/pub/incoming/dbf2pg-3.0.tar.gz \n\nThis file was not retrieved by Teleport Pro, because it did not meet the project\'s file type specifications. \n\nDo you want to open it from the server?'))window.location='ftp://ftp.postgresql.org/pub/incoming/dbf2pg-3.0.tar.gz'" tppabs="ftp://ftp.postgresql.org/pub/incoming/dbf2pg-3.0.tar.gz">ftp://ftp.postgresql.org/pub/incoming/dbf2pg-3.0.tar.gz</A> </LI></UL> <P>这程序由 Faculty of Electrical Engineering TU Delft, NL Computer Architecture and Digital Technique section 的 Maarten Boekhold 写成。 <UL><LI> <A HREF="mailto: M.Boekhold@et.tudelft.nl">M.Boekhold@et.tudelft.nl</A> </LI></UL> <P>你也可使用 python 的方法 (method) 在读入 dbf 档及载入到 postgre 资料库。<UL><LI> See <A HREF="javascript:if(confirm('http://www.python.org/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.python.org/'" tppabs="http://www.python.org/">http://www.python.org</A> </LI></UL> <HR><A HREF="PostgreSQL-HOWTO-15.html" tppabs="http://www.linux.org.tw/CLDP/gb/PostgreSQL-HOWTO-15.html"><IMG SRC="next.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/next.gif" ALT="Next"></A><A HREF="PostgreSQL-HOWTO-13.html" tppabs="http://www.linux.org.tw/CLDP/gb/PostgreSQL-HOWTO-13.html"><IMG SRC="prev.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/prev.gif" ALT="Previous"></A><A HREF="PostgreSQL-HOWTO.html#toc14" tppabs="http://www.linux.org.tw/CLDP/gb/PostgreSQL-HOWTO.html#toc14"><IMG SRC="toc.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/toc.gif" ALT="Contents"></A> </BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -