wolfiton

wolfiton

Hi everyone,

Questions:

What do you think about a CMS built with Phoenix to incorporate Ghost CMS and WordPress features?

What template engine would you recommend to let the users edit directly?

How would the plugin system work?

Would you build it as an umbrella app?

Would you add also a graphql api?

Also I want to build this opensource CMS and use it as my personal blog and website.

Is the MIT license a good option here?

Thanks in advance for any suggestions ideas and constructive arguments and opposing arguments.

Showing Posts 1 to 10

OvermindDL1

OvermindDL1

I’ve not used either of these so remember that in my remaining answers. ^.^

Absolutely not EEx, it allows arbitrary code execution. You’d want something like markdown or ReST I’d wager.

If you mean plugins for text rendering then both markdown (via commonmark) and ReST specs have methods for that.

I’m anti-umbrella apps so personally no. ^.^

You’d be surprised how nice it is to make a graphql API for it all and even without exposing it externally just do all the calls purely internal and it cleans up so much. I need to see if absinthe has better ways of handling that now rather than reaching into internals like I am in my old version. ^.^;

I’d use a recent Apache license (Apache2?). It’s basically MIT but it also fixes some patent annoyances because the modern world sucks for that stuff.

wolfiton

wolfiton OP

Awesome, thanks @OvermindDL1 for answering my questions and adding explanations and explaining your point of view.

wolfiton

wolfiton OP

Sorry I just seen what you wrote .

I wasn’t referring to that. i was referring to plugins like adding new functionality like a map guide or twitter comments and likes. Something like this

wolfiton

wolfiton OP

Found an old project for a CMS in phoenix called Contento link here Contento: an open source CMS built with Elixir, Phoenix and Postgresql.

There in tha languges rendering engines is mentioned Liquid templates. has anyone worked with them before?

OvermindDL1

OvermindDL1

That’s just a pipeline of functions to pass a post through when it’s rendered or so. ^.^

wolfiton

wolfiton OP

Yes but these custom plugins can be created by the user and plugged in there CMS version.

OvermindDL1

OvermindDL1

Sure, can do it like how discourse does for example, that same pattern would work. Could even do dynamic code loading to load in plugins into the system. This is all a good use for GenEvent or whatever replaces it. ^.^

wolfiton

wolfiton OP

It appears that is deprecated GenEvent — Elixir v1.20.2 is there any other options?

OvermindDL1

OvermindDL1

Can always use the erlang one, or use a library, or just make your own registration and dispatcher on GenServer as it is actually quite trivial to do so for such things. :slight_smile:

wolfiton

wolfiton OP

Allowing users to add plugins wouldn’t make the system vulnerable to attacks, is there any option to isolate the new plugin from the code of the cms to vet it somehow?

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews