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 1hvlhR-0007Vv-Uo for pgsql-general@arkaria.postgresql.org; Thu, 08 Aug 2019 16:55:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hvlhO-0001Nn-PU for pgsql-general@arkaria.postgresql.org; Thu, 08 Aug 2019 16:55:34 +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 1hvlhO-0001Ng-Fm for pgsql-general@lists.postgresql.org; Thu, 08 Aug 2019 16:55:34 +0000 Received: from mail-ot1-f49.google.com ([209.85.210.49]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hvlhK-00071V-HM for pgsql-general@lists.postgresql.org; Thu, 08 Aug 2019 16:55:34 +0000 Received: by mail-ot1-f49.google.com with SMTP id b7so71095942otl.11 for ; Thu, 08 Aug 2019 09:55:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IjzTW8WKEs/cWdEiXDoePsiFUHwO88ePtMFyEun+dJg=; b=FGpE+4W5l723uQuauohnIVbXmKfb+3O9zbogQdwLlilAW1BDrdmf/3Pjr/1rtXQW2B zbqXk8pPaalgr2/FmK8rRnLesYorn2pWYM86nMJWEdWyhYTwfwPfMteIhCEV8bPw+jRB /oKjy/y7rWY0U64PY5FSJOEmgt5n4c2AyEU0yIYgNCfhTytRzfCM0YsF6jDFt1b+VOhZ Cm8KznIveZnjAD25/Hw9m0qlQ1RbGyxaZl6YrOX0tCdQzd4U7+GXzeTeIP+sxC0DiEHG JbIjNXid1LB5x1NsE82+ibPnPF7TIhG6dpR83CShcA6lOn0q8JHdDth3TK79cm2ayr+B 0p2Q== X-Gm-Message-State: APjAAAUqdmDZQ4mjNAGc1DFTQ4ye+dsLgGbkSJ+EKNPY1QoGYTIVR9QI 35/Ab1hE5F6x7ufo/cqmqCmiySVO X-Google-Smtp-Source: APXvYqz0zmgnsMJS/JsYDbdgLv/FKn5xIBHn+VLstwr07pjY69W7XvdV45nSNPLST/zv1asSVGwfPw== X-Received: by 2002:a5e:9e0a:: with SMTP id i10mr16377662ioq.44.1565283328060; Thu, 08 Aug 2019 09:55:28 -0700 (PDT) Received: from fuji.home ([65.183.81.59]) by smtp.gmail.com with ESMTPSA id y20sm77001150ion.77.2019.08.08.09.55.26 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 09:55:27 -0700 (PDT) Received: from fuji.home (fuji.home [10.1.65.222]) by fuji.home (Postfix) with ESMTPS id 9C619680121 for ; Thu, 8 Aug 2019 10:55:24 -0600 (MDT) Subject: Re: Recomended front ends? To: pgsql-general@lists.postgresql.org References: <20190807185708.GA19765@panix.com> From: Stuart McGraw Message-ID: <2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com> Date: Thu, 8 Aug 2019 10:55:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. 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.