pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
Cc: postgre <pgsql-general@lists.postgresql.org>
Subject: Re: Modelling a web CMS in Postgres ... a little advice needed
Date: Thu, 11 Aug 2022 06:59:48 -0700
Message-ID: <6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com> (raw)
In-Reply-To: <blZkpIEoZ67vfe8EsetnQOw_VTMz_006nWwSJ8AG_m4SXPlqxkuRY8a4pBf9nCA4ySk-vTlfjNqcTYS3TXT1GbKAvRlQsMjFc4hX3dvm41U=@protonmail.ch>
References: <6NtGy9Qbxtvte6bfGm7s85U2rAzIr90N6UhrCfs_ca4kd_ol6MlhZ0RsMsASDduc4hIwzf7VroZj9ZRotrsLO5P62EgXpuxJ2BH7DvdjJlM=@protonmail.ch>
	<CAG0dhZAq=uBmXnecZGsyCP=Hc-g9O3UrSmtJD7iweEWiT1Jm7g@mail.gmail.com>
	<CAG0dhZDjUnodmYHf7YtifmZUkviL+Ruyy+LS+AnxoVg7p=721w@mail.gmail.com>
	<NK3XWHpXeJmib5kfSDTf74yCsniEyB4KkZUst-W-TvBDfhPEr6bAEC18e5BgBR4fKsh9Bu9LJNmxMpwymNRJvfedGojjl7W9X_FTDXL5HaA=@protonmail.ch>
	<1cd83c0f-2b59-98ca-b720-2222843310c7@rodonnell.ie>
	<blZkpIEoZ67vfe8EsetnQOw_VTMz_006nWwSJ8AG_m4SXPlqxkuRY8a4pBf9nCA4ySk-vTlfjNqcTYS3TXT1GbKAvRlQsMjFc4hX3dvm41U=@protonmail.ch>



> On Aug 11, 2022, at 5:30 AM, Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch> wrote:
> 
> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> ------- Original Message -------
> On Thursday, August 11th, 2022 at 13:11, Ray O'Donnell <ray@rodonnell.ie> wrote:
> 
> 
>> On 11/08/2022 11:00, Laura Smith wrote:
>> 
>>> Hi Tony
>>> 
>>> The reason I'm looking to do it from scratch is that its a case of
>>> "once bitten, twice shy".
>>> 
>>> This CMS will be replacing a Joomla based CMS.
>>> 
>>> 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.
>> 
>> 
>> 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.
>> 
>> 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.
>> 
>> Ray.
>> 
> 
> Tony's suggestion also needed Node.js, and frankly I'm not even going to open that can of worms.
> 
> 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 !
> 
> Hence I want to get rid of bells, whistles and baggage.  Forget the fancy GUI, forget the "community" of random plugins.
> 
> 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.
> 
> 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.
> 
> 
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 “page”.  I’m not following how you’re 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?










view thread (6+ messages)

Message-ID: <6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com>
Permalink:  ../6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com/
Also on:    postgresql.org/message-id/6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, n5d9xq3ti233xiyif2vp@protonmail.ch
  Subject: Re: Modelling a web CMS in Postgres ... a little advice needed
  In-Reply-To: <6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com>
  References: <6NtGy9Qbxtvte6bfGm7s85U2rAzIr90N6UhrCfs_ca4kd_ol6MlhZ0RsMsASDduc4hIwzf7VroZj9ZRotrsLO5P62EgXpuxJ2BH7DvdjJlM=@protonmail.ch> <CAG0dhZAq=uBmXnecZGsyCP=Hc-g9O3UrSmtJD7iweEWiT1Jm7g@mail.gmail.com> <CAG0dhZDjUnodmYHf7YtifmZUkviL+Ruyy+LS+AnxoVg7p=721w@mail.gmail.com> <NK3XWHpXeJmib5kfSDTf74yCsniEyB4KkZUst-W-TvBDfhPEr6bAEC18e5BgBR4fKsh9Bu9LJNmxMpwymNRJvfedGojjl7W9X_FTDXL5HaA=@protonmail.ch> <1cd83c0f-2b59-98ca-b720-2222843310c7@rodonnell.ie> <blZkpIEoZ67vfe8EsetnQOw_VTMz_006nWwSJ8AG_m4SXPlqxkuRY8a4pBf9nCA4ySk-vTlfjNqcTYS3TXT1GbKAvRlQsMjFc4hX3dvm41U=@protonmail.ch> <6CBC3094-436E-46EA-8050-3260DEC7CA5C@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox