Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruY9f-0064EX-Ch for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2024 13:38:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ruY9e-002ixj-9e for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2024 13:38:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruY9d-002ivf-TX for pgsql-general@lists.postgresql.org; Wed, 10 Apr 2024 13:38:21 +0000 Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1ruY9W-000CW3-DS for pgsql-general@lists.postgresql.org; Wed, 10 Apr 2024 13:38:21 +0000 Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-61495e769bdso56782677b3.0 for ; Wed, 10 Apr 2024 06:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712756292; x=1713361092; darn=lists.postgresql.org; h=in-reply-to:disposition-notification-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=ucAqtmTnwvhmwpmPapFP6i6yAlWb/k6MOmNafX5SL7o=; b=j766AlGTlm+8zSxCaygxdkIeU9lY2MiQoziXYTSQk1OHViRQGPFPyL8RqVObGTsbtJ oCxoAB+u2z2/n8oUmLUvcI+xCvp8RxwQWuWgmsuRCAVh4WFYroO2RpHj0JIAimX/fS75 8VTeFXiJpZlWJ0KW1pAWsR7QMHOI6A5YPVNGQDQ9qczyhSOHA/NappvK8qZhNXCXL90Y pxLVsdx+lrAD/UKjFEo/I/zyLcigncDOfJ74JNy4pe/8IcGo0oDnnyROekbpsnBJHT12 dAs1MJT9JRfK3+zU0scwDy3yS4yHZy3nlBCKHP4svAnhQOezfeit7336XTIvzJ0YcVia g8NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712756292; x=1713361092; h=in-reply-to:disposition-notification-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ucAqtmTnwvhmwpmPapFP6i6yAlWb/k6MOmNafX5SL7o=; b=NliwnQJwL2suQW9bJiy8ikH71ESNLf7e84KaJk9miYw0FZ6+XKlGR3npoMHkuH8HK3 oyiGN+drWDdrCZDc5QT65KnTRECsVtmpEhnXzyC4U+QxdxwYuo7diBlOqWYlFjjv2bLP nT6SWQzYI63qhnhhJ8OfSGyByBLxF1DaNUYPkU5JlvQPsBnCMmPxVzOON8lXdpLc5LwL kYDXq8RHKtpyKZnPk2NETnWmGu2d5M9k+mWa3/3YxdF23omgnZVbvfdnBSd+BiOIRIjQ MNFJAZxtkqUuX7tZkcik0hJrSJFEfutQHSNHth7N2+jJVucwx08H79ri100f1vd//Glj 5q0A== X-Gm-Message-State: AOJu0YxzTwirTAFUOy9aNE85rpv4ROLs/XwLwpIaAkCozi8fzZ0RSET6 3NRlEksv5Sqrr0ijk71ij4cjNvSJ3ouvHP+zdxIFreBw9vmmckVeJGseokOC X-Google-Smtp-Source: AGHT+IEhv4dfb11yee0ej00yJVXvd4sSZrr9XFMErUwSSzmZBM8vTddZBGMaEwTmsJB5KXdhHs3Oig== X-Received: by 2002:a81:92c8:0:b0:615:1a0:78ea with SMTP id j191-20020a8192c8000000b0061501a078eamr2823205ywg.34.1712756291886; Wed, 10 Apr 2024 06:38:11 -0700 (PDT) Received: from [192.168.0.107] ([38.83.92.127]) by smtp.gmail.com with ESMTPSA id z129-20020a0dd787000000b0061514bef4bcsm2729049ywd.0.2024.04.10.06.38.11 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 06:38:11 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------Ry0Ycw80MccSQrAfFJGXs8J4" Message-ID: Date: Wed, 10 Apr 2024 09:38:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Some advice need after a 20 year gap after Ingres/GUIs To: pgsql-general@lists.postgresql.org References: Content-Language: es-ES From: Francisco Prado Disposition-Notification-To: Francisco Prado In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------Ry0Ycw80MccSQrAfFJGXs8J4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, To start I had to find out what MDBS IV is, since it caught my attention and I ended up learning a few things about the history of databases ;-). Regarding your concern: First you must be clear that there are many alternatives to develop graphical interfaces to work with Postgres. So, first of all: * You must choose and master a programming language that you feel comfortable with, Python is the one that most developers choose. * Use a development environment suitable for the language you have chosen, there are several, but the best known is possibly Visual Studio Code. * Choose which operating system you are going to develop with: Windows, Linux, macOS, generally most people choose Windows since you can integrate a Linux like Ubuntu using WSL. * After you master your favorite programming language, you must select a framework that allows you to generate a graphical interface, in Python there are several such as Tkinter, wxPython or Qt among others. * If the development is via the web, the options are many, the best known in Python would be Django for the web and FastAPI for the development of APIs via REST * You must also have a library that allows you to connect with Postgres, in Python there is pyODBC, psycopg2 among others. Additional resources: Python Tutorial: https://www.youtube.com/watch?v=eWRfhZUzrAc&list=PLWKjhJtqVAbnqBxcdjVGgT3uVR10bzTEB Python & Tkinter: https://www.youtube.com/watch?v=yQSEXcf6s2I&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV Python & Postgres: https://www.youtube.com/watch?v=miEFm1CyjfM Greetings and luck! El 10/04/2024 a las 06:11, John Bateson escribió: > > Good morning, > > The end of my working life was taken up with developing and supporting > a Scientific Research establishment near Warrington in the UK. I had a > small team of programmer who did an excellent job for me and with me. > > The software was Ingres and the main program supporting user > administration on a Synchrotron was built  under OpenROAD with other > developments around the on-site stores and finance  using ABF since > the stores workers found this much faster than a GUI! There was also > some web development use .Net practises. > > This was a quite complex system in the end with nearly 200 tables. > > We ended up using Ingres Replicator with the intention of running it > from two sites 180 miles apart – at the time it was a pile of > *notquitegoodenough*! This was early this century so Actian may have > made some improvements since then… > > So much for the background to establish that I am not a complete > newbie, just out of the loop for a while. > > *Using Postgres and PGAdmin -4*. > > So, 20 years later I am developing, (unpaid) a new project for some > historic railways in the UK and linking these to the development and > design of a range of kits for those interested in model railways. This > is getting towards 20 tables so far. > > What I really need is a recommendation for the current and best > practice for an easy GUI that will allow me to press a button without > opening up PGAdmin or a black screen, i.e. the traditional .EXE file I > can put on a button on the screen on the screen on a Windows 11 based > system. > > While my programming history goes back to MDBS-4 and beyond I know I > have some catching up to do and while not a complete newbie, need > something I can work on quickly and intuitively and inexpensively! > > So, recommendation and possibly some consensus would be very much > appreciated. > > And apologies if I have taken up too much of your time or have placed > this in the wrong forum. > > John > -- Saludos, Francisco Prado --------------Ry0Ycw80MccSQrAfFJGXs8J4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

To start I had to find out what MDBS IV is, since it caught my attention and I ended up learning a few things about the history of databases ;-).

Regarding your concern:

First you must be clear that there are many alternatives to develop graphical interfaces to work with Postgres.

So, first of all:

  • You must choose and master a programming language that you feel comfortable with, Python is the one that most developers choose.
  • Use a development environment suitable for the language you have chosen, there are several, but the best known is possibly Visual Studio Code.
  • Choose which operating system you are going to develop with: Windows, Linux, macOS, generally most people choose Windows since you can integrate a Linux like Ubuntu using WSL.
  • After you master your favorite programming language, you must select a framework that allows you to generate a graphical interface, in Python there are several such as Tkinter, wxPython or Qt among others.
  • If the development is via the web, the options are many, the best known in Python would be Django for the web and FastAPI for the development of APIs via REST
  • You must also have a library that allows you to connect with Postgres, in Python there is pyODBC, psycopg2 among others.


Additional resources:

Python Tutorial: https://www.youtube.com/watch?v=eWRfhZUzrAc&list=PLWKjhJtqVAbnqBxcdjVGgT3uVR10bzTEB
Python & Tkinter: https://www.youtube.com/watch?v=yQSEXcf6s2I&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV
Python & Postgres: https://www.youtube.com/watch?v=miEFm1CyjfM


Greetings and luck!

El 10/04/2024 a las 06:11, John Bateson escribió:

Good morning,

The end of my working life was taken up with developing and supporting a Scientific Research establishment near Warrington in the UK. I had a small team of programmer who did an excellent job for me and with me.

The software was Ingres and the main program supporting user administration on a Synchrotron was built  under OpenROAD with other developments around the on-site stores and finance  using ABF since the stores workers found this much faster than a GUI! There was also some web development use .Net practises.

This was a quite complex system in the end with nearly 200 tables.

We ended up using Ingres Replicator with the intention of running it from two sites 180 miles apart – at the time it was a pile of notquitegoodenough! This was early this century so Actian may have made some improvements since then…

 

So much for the background to establish that I am not a complete newbie, just out of the loop for a while.

 

Using Postgres and PGAdmin -4.

So, 20 years later I am developing, (unpaid) a new project for some historic railways in the UK and linking these to the development and design of a range of kits for those interested in model railways. This is getting towards 20 tables so far.

What I really need is a recommendation for the current and best practice for an easy GUI that will allow me to press a button without opening up PGAdmin or a black screen, i.e. the traditional .EXE file I can put on a button on the screen on the screen on a Windows 11 based system.

While my programming history goes back to MDBS-4 and beyond I know I have some catching up to do and while not a complete newbie, need something I can work on quickly and intuitively and inexpensively!

 

So, recommendation and possibly some consensus would be very much appreciated.

 

And apologies if I have taken up too much of your time or have placed this in the wrong forum.

 

John

-- 
Saludos,

Francisco Prado
--------------Ry0Ycw80MccSQrAfFJGXs8J4--