Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jj0h8-0000lI-Bp for pgsql-general@arkaria.postgresql.org; Wed, 10 Jun 2020 13:23:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jj0h7-0007Kc-37 for pgsql-general@arkaria.postgresql.org; Wed, 10 Jun 2020 13:23:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jj0h6-0007KV-RN for pgsql-general@lists.postgresql.org; Wed, 10 Jun 2020 13:23:04 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jj0h4-0000Ps-8s for pgsql-general@postgresql.org; Wed, 10 Jun 2020 13:23:04 +0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mailbackend.panix.com (Postfix) with ESMTP id 49hnjb06Xnz1Wv4 for ; Wed, 10 Jun 2020 09:22:59 -0400 (EDT) Received: by panix5.panix.com (Postfix, from userid 17622) id 49hnjb0GlJzfYm; Wed, 10 Jun 2020 09:22:58 -0400 (EDT) Date: Wed, 10 Jun 2020 09:22:58 -0400 From: stan To: pgsql-general@postgresql.org Subject: javascript app running in crhome with connection to postgreSQL Message-ID: <20200610132258.GB8206@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk OK, I have to admit this is a case of my being influenced by things going on in the news, which I am not normally influenced by. All the news about the touch screens on the crew dragon capsule using a JavaScript app running in Chrome, have me thinking about doing some testing for a project I am working on that I am not happy with the direction we are currently going in for the fronted. Can anyone point me to some documentation as to how to start building a test application for this? My first question is whether this would have a persistent connection to the backend database, or would it work like a CGI script, and have to make a connection to the backend every time the user takes an action? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin