Ookma-Kyi

Ookma-Kyi

During a Beam Dreamers meeting, I shared that I’m a PHP and Laravel developer, and someone jokingly referred to “PHP as a walking zombie.” They said the main reason it’s still popular is due to slow and bloated WordPress installations. They also jokingly, I assume, stated that if someone created WordPress in Elixir, that it would be awesome. I am wondering how difficult it would be to implement a simplistic version of it? From reading some threads, the biggest issue is implementing a plugin system. However I still would like to hear everyone’s input.

Showing Posts 1 to 10

hlx

hlx

I always wondered if JS based plugins plus an API would be enough. As installable plugins that is. You won’t reach Wordpress level plugins where that can create whole tables and such but is that even necessary? Or perhaps the API can allow that?

Nefcairon

Nefcairon

This comes up every now and then.

Read some comments here: Use Elixir to create the next Wordpress?

venkatd

venkatd

I think it’s doable but not easy. By far what gives Wordpress such an advantage is the plugin ecosystem.

I think @hlx is spot on where plugins are probably best done in JS (typescript/react?) to tap into a larger community and reduce the learning curve for implementing something.

One should also not try to compete DIRECTLY with Wordpress. Better off having a smaller ecosystem of higher quality plugins and a smaller more focused product.

Think about Figma vs. Photoshop. Photoshop had a lot more features but Figma focused on doing a subset better – and just for web/app design.

Ookma-Kyi

Ookma-Kyi OP

How would I implement the plugin system in JS? I am halfway done with the course, and most of the remaining lessons deal with non-language stuff. So I would like to start practicing what I learned by doing small mini-projects to reinforce my learning. Here are exercises for Rust and here is Python’s version of that. I believe I saw others, but I can’t find them at the moment. Can anyone recommend some for Elixir?

victorbjorklund

victorbjorklund

I don’t see why Plugins would be an issue. BEAM got Hot Reloading and we can create new modules etc. So I don’t see why it would be hard to have plugins that are read in as new modules. The way plugins work and are designed would probably be a bit different since Elixir is a functional language etc.

I think the issue isn’t technical but rather that it would be almost impossible to compete with WP with thousands of plugins and themes since an elixir version would have a lot less. And most users won’t care about whether it is Elixir or PHP.

dimitarvp

dimitarvp

Security really. WordPress was and likely still is one of the most attacked software on the planet. It takes just one malicious addon and your instance is toast, because the BEAM VM runtime is quite trusting. Zero sandboxing or any other security inside the node itself.

Yep. That. Agreed.

Ookma-Kyi

Ookma-Kyi OP

That applies to everything that as MineCraft was even susceptible to malware in the png used for setting players skin. Also many WP themes that encrypt their source code have been found to have malicious JavaScript code.

dimitarvp

dimitarvp

The fact that most programmers are clueless as puppies when it comes to security does not mean that the rest of us must collectively give up. “It’s all frakked up anyway” is not a philosophy I subscribe under.

victorbjorklund

victorbjorklund

Security really. WordPress was and likely still is one of the most attacked software on the planet. It takes just one malicious addon and your instance is toast, because the BEAM VM runtime is quite trusting. Zero sandboxing or any other security inside the node itself.

Yes, but that risk you also got every time you install a library too. Part of reason WP is so targeted is because it is so widely used.

(For the record, I’m not a fan of WP)

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
water
I’m aware of 2 such projects, are there others? git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
peck
Hi everyone. My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
leoschweizer
Hi, we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
csmr
Hi all, I’m new here and would like to hear peoples views on my Elixir/Phoenix based game-engine! :smiley: Mutonex gamedesign was finish...
New
Stef-Verniers
Hello I’ve been coding in Elixir for almost two years now because of my current job where we implemented Elixir in our application. But ...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews