HTML generation with PL/PgSQL

Поиск
Список
Период
Сортировка
Искать
От
Birahim FALL
Тема
HTML generation with PL/PgSQL
Дата
Msg-id
000201c39994$df732260$3e00a8c0@venus
Список
Дерево обсуждения
HTML generation with PL/PgSQL "Birahim FALL" <birahim.fall@hispeed.ch>
Re: HTML generation with PL/PgSQL Scott Chapman <scott_list@mischko.com>
Re: HTML generation with PL/PgSQL Network Administrator <netadmin@vcsn.com>
Re: HTML generation with PL/PgSQL Richard Huxton <dev@archonet.com>
[OT] Choosing a scripting language. Scott Chapman <scott_list@mischko.com>
Re: [OT] Choosing a scripting language. "scott.marlowe" <scott.marlowe@ihs.com>
Re: [OT] Choosing a scripting language. Marco Colombo <marco@esi.it>
Re: [OT] Choosing a scripting language. Michael Teter <mteter@1scom.net>
Re: [OT] Choosing a scripting language. "scott.marlowe" <scott.marlowe@ihs.com>
Re: [OT] Choosing a scripting language. Scott Chapman <scott_list@mischko.com>
Re: [OT] Choosing a scripting language. Ron Jr <ron.l.johnson@cox.net>
Re: [OT] Choosing a scripting language. "Joshua D. Drake" <jd@commandprompt.com>
Re: [OT] Choosing a scripting language. Ron Johnson <ron.l.johnson@cox.net>
Re: [OT] Choosing a scripting language. Marco Colombo <marco@esi.it>
Re: [OT] Choosing a scripting language. Martijn van Oosterhout <kleptog@svana.org>
Re: HTML generation with PL/PgSQL elein <elein@varlena.com>
Hi,
 
I'm very fresh to PostgreSQL, coming from Oracle.
I want to developp web applications based on apache and postgresql.
Is there an equivalent of OWA server (Oracle Web Application server) for postgresql.
Shortly, OWA provides an apache module and a set of stored procedures/functions that generate html pages.
 
A simple example could be the following procedure :
 
procedure hello {
    htp.htmlOpen;
    htp.headOpen;
    htp.title("Simple test page");
    htp.headClose:
    htp.bodyOpen
    htp.print( htf.h2( htf.center( "This is a simple test page" ) ) );
    htp.paragraph;
    htp.print("Dynamic hello from Postgresql");
    htp.bodyClose;
    htp.htmlClose;
}
 
That would generate the following html code :
 
<html>
<head>
<title>Simple test page</title>
</head>
<body>
<h2><center>This is a simple test page</center></h2>
<p></p>
Dynamic hello from Postgresql
</body>
</html>
 
Is such a product exists (preferably opensource).
I'm ready to go for python etc, but I really wuld have to re-educate myself.....
 
Thanks in advance.
Bir
В списке pgsql-general по дате отправления
От: Richard Huxton
Дата:
От: Mark Kirkwood
Дата:
Сообщение: Re: Recomended FS
FAQ