Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvm7K-0008Lr-BB for pgsql-general@arkaria.postgresql.org; Thu, 08 Aug 2019 17:22:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hvm7J-0001Eq-53 for pgsql-general@arkaria.postgresql.org; Thu, 08 Aug 2019 17:22:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvm7H-0001Ej-CU for pgsql-general@lists.postgresql.org; Thu, 08 Aug 2019 17:22:20 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvm7C-0007n1-TV for pgsql-general@lists.postgresql.org; Thu, 08 Aug 2019 17:22:19 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8D0EF207E1; Thu, 8 Aug 2019 13:22:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 08 Aug 2019 13:22:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=M eyQrptqPBXv9YamzAkcECEj5hweDDFci2+GV/UQSQY=; b=vABshjUS3Gge9xriL RzINtrVfyVoPpwvmeO1myJGM8pVfdlOVJ/X62s7vRrtpDzLOSj7+Zg2onn2MFLqM S5KRCcjDtDEBFdRYifhc28+sZHgZDvBOITc2p2Q8/0aE15+U6vTHh9Gp1ag1lD7b r+i2V9L9e0o+eDU7iIGIpj2wmssnc7spU8rvlRKWApGPPBl5EV1nfxCo/lUZ/dEc EqtW7Wi6lKaDdZ/O29wFtkkqZUbFOHtE7ZWaBSEEWuHDdkNwM6UWKBe1Ufn+VSF4 GmI7ibIWIplFhv8tH4enb5sNmA/x1ZVIlV/tD9OpyB7J3IFlzu4wsmJkSZQeKn+b pfX8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=MeyQrptqPBXv9YamzAkcECEj5hweDDFci2+GV/UQS QY=; b=YWfrLXceqFTwP4cFhUbAfSHOmhSLQKltvDCzt+PItYl2ILoqCey4zahBD vhXz8KJtEcpxpPyqm2J1Z7VJY6WDeHH6D9cEqvzgYOjaPiD6KzQtXo+kM5D4PAyR wkSQQOeOi8LAT3gYDDYUaWnNYE+p32le7LcSSXIjiLWB5mvTpqBzNjIFKaW2Lqkj nCXkmxMA3Fd/Ovt+Nf7AduvlrwwfwERJyxk9navY39eDcm88xtqX3ctGp9JH8UWq SDSHpo+e8CdAc7zTX49VZAHbnOPnaepZJaiQdyNp2mKAY7/i9b/2+IJcXQoJh5xL /OneEbffuD5a3orzLtpOuyPV/Bl1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudduhedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuffhomhgrihhnpegujhgrnhhgohhprhhojhgvtghtrdgtohhmnecukfhppeej gedrleegrdejfedrvddvvdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrd hklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 63AD9380079; Thu, 8 Aug 2019 13:22:10 -0400 (EDT) Subject: Re: Recomended front ends? To: Stuart McGraw , pgsql-general@lists.postgresql.org References: <20190807185708.GA19765@panix.com> <2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com> From: Adrian Klaver Message-ID: <8db2657f-529d-7d8c-af63-697f628296c3@aklaver.com> Date: Thu, 8 Aug 2019 10:22:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/8/19 9:55 AM, Stuart McGraw wrote: > On 8/7/19 2:38 PM, Rich Shepard wrote: >> On Wed, 7 Aug 2019, Igor Korot wrote: >> >>> On top of what already been said - make sure that the product you are >>> about to start working on will have its requirements clear and concise. >> >> This is a critical process that needs to be developed in depth. One >> criterion that will guide your choice of UI is whether the database >> will be >> accessed only on the LAN or also remotely. For the former, consider using >> Python3 + psycopg + SQLAlchemy. For the latter, consider a web-based >> application using Django. >> >> HTH, >> >> Rich > > I would be a little cautious about Django.  Last time I checked, > like many other web frameworks, it treats the database as just another > component, one that provides data persistence for it, and consequently > imposes its own constraints the schemas it will work with.  Specifically > IIRC it insists that tables have a single-column primary keys.  If the > client's existing database is already designed this way then that may > not be a problem but if it has composite PKs then another option may > be better. Agreed the single-column PK is an annoyance, though it can be mitigated with unique_together. The real annoyance is: https://docs.djangoproject.com/en/1.11/ref/models/fields/#primary-key "The primary key field is read-only. If you change the value of the primary key on an existing object and then save it, a new object will be created alongside the old one." That being said I use Django with managed set to False on models and Sqitch doing the schema changes with no problems. Also Postgres is the reference database for Django and has a contrib module with Postgres specific features: https://docs.djangoproject.com/en/1.11/ref/contrib/postgres/ > > Flask is another relatively easy to use framework, can be used with or > without Sqlalchemy but doesn't have the wealth of addons available with > Django and being simpler requires more work to build the end application. > There are of course many other framework options (Bottle, Web2Py, etc) > > Although it's been a decade plus since I worked with Microsoft products > I had fairly good luck back then using Microsoft Access / VBA connected > to a Postgresql backend via ODBC.  Even back then MS's frontend development > tools were way more advanced and easy to use than anything available for > free in the Linux world.  The downside was having to program in VBA but > things may be much better these days with .NET et.al. > > -- Adrian Klaver adrian.klaver@aklaver.com