Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-03-26 16:00:40

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,437
Website

what is Headless CMS

even after reading about it … i have no idea what they are refering to?


…. texted postive

Offline

#2 2019-03-26 17:10:46

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,154
Website

Re: what is Headless CMS

bici wrote #317315:

even after reading about it … i have no idea what they are refering to?

It is (if I understand it) a way to run the backend of a CMS without an interface – which I have never understood the advantage of.

Decoupled CMS architecture (aka “headless”) is rising in popularity. This model allows cutting-edge user experiences, gives developers greater flexibility to innovate, and helps site owners future-proof their builds by allowing them to refresh the design without re-implementing the whole CMS. With all this upside, it’s no wonder this type of build has gained serious traction in both the Drupal and WordPress communities as of late. – What is Decoupled CMS?

I think the idea is that you can then build your own. Which seems like a lot of work to reinvent the wheel. Which I think mostly appeals to people looking for hefty custom development contracts.

Offline

#3 2019-03-26 17:42:44

etc
Developer
Registered: 2010-11-11
Posts: 3,123
Website

Re: what is Headless CMS

Textpattern is half-headless now – any output format but limited API.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#4 2019-03-26 17:52:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: what is Headless CMS

Yep. Txp has always been waaaay ahead of the curve in this regard. When most all the other CMSs (bar EE) have their code rigidly enforced by the theme developers and hamstrung by the admin side, we’ve had complete freedom to set the front-end exactly how the designer wishes.

As etc says: add an API and we’re gold standard.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2019-03-26 18:22:00

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,388
Website

Re: what is Headless CMS

And I thought a headless CMS was when I’d completely lost track of my plan and gone round in circles. Or was that legless CMS?


TXP Builders – finely-crafted code, design and txp

Offline

#6 2019-03-26 19:15:57

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,437
Website

Re: what is Headless CMS

Bloke wrote #317319:

As etc says: add an API and we’re gold standard.

pass the plate

PS once again I am so glad for having found TxP so many moons ago.

Last edited by bici (2019-03-26 19:18:10)


…. texted postive

Offline

#7 2019-03-27 08:19:57

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,172
Website

Re: what is Headless CMS

‘Headless’, as far as it has any relevance to smaller publishing systems like our beloved, or emerging systems like from the source post, is a relatively recent term being used. But it’s been around a long time in component content management systems, which are headless without actually calling them that. We’re talking enterprise tech (historically speaking) that generally involves big-bucks contracts to set up for a corporation, and involves multiple layers of software working together:

  • data input UI (head)
  • parsing into components (the CCMS)
  • metadata layer
  • data retrieval UI
  • transformation layer (turning legacy data into any kind of formatted output)

Putting it simply, headless is the ability to use any compatible software to input data without using the storage server itself. In a classic example, in techcomm, so many tech writers are locked into MS Word as a content creation tool, that sometimes Word is engineered into being the ‘head’ (data entry point) for the legacy. But usually it’s a more sophisticated DITA application based on OASIS standards. (Just think fancy XML systems.)

But a simpler web-publishing example might be iA Writer to Medium. In other words, instead of using Medium (don’t at all) to write posts, you use some third-party tool you like better and is more convenient to your workflow.


The text persuades, the *notes prove。

Offline

#8 2019-03-27 09:24:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: what is Headless CMS

Bundling XML-RPC with Textpattern was our attempt years ago to capture this market (e.g. third party tools like MarsEdit) but very few took it up because, frankly, it’s crap.

But if we had a suitable RESTish API which talked a common language (e.g. JSON) then I can see a day where we can do stuff like Elastic do: you can insert stuff into the Elastic database by just throwing a JSON blob at a well-known URL endpoint.

Theirs is a bit different because you can index anything (it operates as a schema-less system out of the box) but the point is, if you have the minimum key elements in the JSON blob that Textpattern expects to be filled out, anything’s possible. For example, transmit a block like this:

{
    "title": "My review of Captain Marvel",
    "body": "Lorem ipsum...",
    "excerpt": "Intro lorem ipsum",
    "section": "reviews",
    "images": {
        "image": {
            "url": "https://example.org/some./path/to/marvel.jpg",
            "alt": "Captain Marvel in all her glory"
        },
        "image": {
            "url": "https://example.org/some./path/to/lee.jpg",
            "alt": "Stan Lee"
        }
    },
    "category": "movies"
}

to example.com/textpattern/article/post and it gets shoved in the database. Provide more records and they get automatically inserted in one go. And clever APIs would know that the images are to go in the txp_images table and the rest goes in the textpattern table, with the items linked. It really is up to us how we define it using best practices.

The key to it is then managing secure authentication. After that you can plug pretty much any third party system that can create JSON (or XML) from content into it.

We’re already part way there with the XML import facility that makss wrote for 4.7. All we need to do is expose that via an API.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#9 2019-03-27 09:27:44

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,175
Website

Re: what is Headless CMS

If we add in GraphQL support (potentially a core plugin, as discussed previously) then we have a great headless CMS offering.

Offline

#10 2019-03-27 09:30:04

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,620
Website

Re: what is Headless CMS

philwareham wrote #317339:

If we add in GraphQL support (potentially a core plugin, as discussed previously) then we have a great headless CMS offering.

Exactamundo.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB