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 1oM8jB-00085B-2O for pgsql-general@arkaria.postgresql.org; Thu, 11 Aug 2022 14:00:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oM8j9-0006mq-DD for pgsql-general@arkaria.postgresql.org; Thu, 11 Aug 2022 13:59:59 +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 1oM8j9-0006mN-0I for pgsql-general@lists.postgresql.org; Thu, 11 Aug 2022 13:59:59 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oM8j2-0004e3-Ly for pgsql-general@lists.postgresql.org; Thu, 11 Aug 2022 13:59:58 +0000 Received: by mail-pl1-x630.google.com with SMTP id z19so16997986plb.1 for ; Thu, 11 Aug 2022 06:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc; bh=pEXBhNJq6tSrUlLi42xqZ8sOBMpP3k8xvLnaMoJdzE0=; b=gs5wILZNblDLyRm09ri6g04HhqIg7zRam5+6usa6C5LNRNXPr3a0kxuaDO2Bh/3R5j t2YSsP7pPQIfcm3rizNGvsIyJObJ2kAd2KinbnC8C6ECpwsuVITIwSt1Eyd9s0wrJzFd jl9hpILB9AMhSrdZwFChwxzOcNiTPrb103H6p6FCyPrX7vUEpVw9nFxPrQ/OdDiLBsZ+ msddjSk1Emlds/zabGOg3u8MAVto4GSfQi8yokHTV0sSMX1hc5QtX2D0mRpUOZ0+k4A1 fZtnv8SKnZvu7tIOCUqMLu8WaHOUc5A/71NJl6OEAUMzmnJs+6PGlGPo4diVDEUAAmcW xNjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc; bh=pEXBhNJq6tSrUlLi42xqZ8sOBMpP3k8xvLnaMoJdzE0=; b=dePj7MegCLfwsvvrqrKlyvc+bH/osY9QSH1q9yJMUa9HVh6CbOKi0GtqCYtQ2/3AjS fPxlUJCMsx9QKg6CWCHYJy8+3ySOOqsJD7bsX2SRXSY8jCXUwUqi/prqZng2pUB7syhg 2iNz9fcb1asnye6dTezkAXfHvUZr4/NcNtHNv0l0AsCv51TX30KjMOPWZjhAoPz9MeLo znpNp0IZGb8i2R+7dBmnrrFpmL1D2OunmzQBPU0QDbvImiqy9EqKE7iJocZBR8GwfNOD IIeK1cnUCljRwUwfBoRziRIQGg+YHQbvKd218vHPN/55QilgiLvELpfYepGQBqYepudd ZrBQ== X-Gm-Message-State: ACgBeo3dgzywuQwPeHJjynlFulO4fz7maeSkvO1YdzcCfUzrJZ8ayF+o 0YRwCysEAaFutFZtWYDD6CY= X-Google-Smtp-Source: AA6agR5GDISCWML73i0HHIWoA7jrUwgYiv3GpOVmA9mPjDrmQS5d3s+sOgfBxNj3lRVdsvfJRW7Ibw== X-Received: by 2002:a17:90a:8a15:b0:1f7:6cd8:c927 with SMTP id w21-20020a17090a8a1500b001f76cd8c927mr8904000pjn.169.1660226390400; Thu, 11 Aug 2022 06:59:50 -0700 (PDT) Received: from smtpclient.apple (wsip-98-178-239-66.sd.sd.cox.net. [98.178.239.66]) by smtp.gmail.com with ESMTPSA id gq20-20020a17090b105400b001f52fa1704csm13291084pjb.3.2022.08.11.06.59.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2022 06:59:49 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Modelling a web CMS in Postgres ... a little advice needed From: Rob Sargent In-Reply-To: Date: Thu, 11 Aug 2022 06:59:48 -0700 Cc: postgre Content-Transfer-Encoding: quoted-printable Message-Id: <6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com> References: <6NtGy9Qbxtvte6bfGm7s85U2rAzIr90N6UhrCfs_ca4kd_ol6MlhZ0RsMsASDduc4hIwzf7VroZj9ZRotrsLO5P62EgXpuxJ2BH7DvdjJlM=@protonmail.ch> <1cd83c0f-2b59-98ca-b720-2222843310c7@rodonnell.ie> To: Laura Smith X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Aug 11, 2022, at 5:30 AM, Laura Smith = wrote: >=20 >=20 >=20 >=20 >=20 >=20 > Sent with Proton Mail secure email. >=20 > ------- Original Message ------- > On Thursday, August 11th, 2022 at 13:11, Ray O'Donnell = wrote: >=20 >=20 >> On 11/08/2022 11:00, Laura Smith wrote: >>=20 >>> Hi Tony >>>=20 >>> The reason I'm looking to do it from scratch is that its a case of >>> "once bitten, twice shy". >>>=20 >>> This CMS will be replacing a Joomla based CMS. >>>=20 >>> I can't quite say I'm enamoured by the option of trading one = "baggage >>> included" opinionated CMS for another. Also in this day and age, >>> removing the excess baggage means an improved security footprint. >>=20 >>=20 >> I would second what Tony Shelver said - it sounds as if what you're >> trying to do has already been done, and for the most part done well. = I'd >> recommend Drupal, which works well with PostgreSQL, and which is very >> extensible and customisable. >>=20 >> I'd agree with you that removing baggage can mean improved security - >> on the other hand, having a huge, security-conscious community behind = an >> open-source project gets you there too. >>=20 >> Ray. >>=20 >=20 > Tony's suggestion also needed Node.js, and frankly I'm not even going = to open that can of worms. >=20 > At this point I'm not interested in "very extensible and = customisable". Joomla fills those words too, and my present = installation is full of all sorts of third-party extensions ... the = thought of all the security vulnerabilities scares the bejeezus out of = me ! >=20 > Hence I want to get rid of bells, whistles and baggage. Forget the = fancy GUI, forget the "community" of random plugins. >=20 > I just want a solid Postgres, which exposes to the outside world via a = limited number of Pl/pgsql functions. The frontend can then pull the = data and render it into a template. >=20 > I know I probably sound nuts. But as I said, I've spent too long in = the hell of Joomla. I don't want to replace it with another thing that = tries to be all things to all people ... I just want to follow the KISS = principle now. >=20 >=20 I once worked a company which produce reference text for radiologist. = The content was generated from an in-house app which wrote a form of = mark up xml and store in postgres (version 8,9 no json). That was hard = copy though (but beautiful). I would like to better understand your concept of =E2=80=9Cpage=E2=80=9D. = I=E2=80=99m not following how you=E2=80=99re managing layout and how = variable that is in your world. I would suggest getting as many of the things like page name (foo) and = description(bar) as possible out of the json. How many tags (eg = pageHeader, pageMainLeft) do you have? Do queries ask for pages with = pageMainLeft having some string value within their content? Will you = index the content separately? Pictures as content?