X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A02BE3A48D1 for ; Thu, 4 Nov 2004 22:39:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54517-02 for ; Thu, 4 Nov 2004 22:39:10 +0000 (GMT) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id 9696B3A499C for ; Thu, 4 Nov 2004 22:39:11 +0000 (GMT) Received: from [82.68.132.233] (82-68-132-233.dsl.in-addr.zen.co.uk [82.68.132.233]) by bayswater1.ymogen.net (Postfix) with ESMTP id 80172A33CB; Thu, 4 Nov 2004 22:39:11 +0000 (GMT) Message-ID: <418AAF12.8030307@ymogen.net> Date: Thu, 04 Nov 2004 22:37:06 +0000 From: Matt Clark User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?Pierre-Fr=E9d=E9ric_Caillaud?= Cc: pgsql-performance@postgresql.org Subject: Re: Restricting Postgres References: <003301c4c29a$f052d910$8300a8c0@solent> <418A98C0.9010107@ymogen.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/68 X-Sequence-Number: 9022 > > In your webpage include an iframe with a Javascript to refresh it > every five seconds. The iframe fetches a page from the server which > brings in the new data in form of generated JavaScript which writes > in the parent window. Thus, you get a very short request every 5 > seconds to fetch new data, and it is displayed in the client's window > very naturally. > > ... Yup. If you go the JS route then you can do even better by using JS to load data into JS objects in the background and manipulate the page content directly, no need for even an Iframe. Ignore the dullards who have JS turned off - it's essential for modern web apps, and refusing JS conflicts absolutely with proper semantic markup. http://developer.apple.com/internet/webcontent/xmlhttpreq.html is a good starting point. It's clear that this discussion has moved way away from PG! Although in the context of DB backed web apps I guess in remains a bit on-topic... M