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
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Blokh
Hey guys, I’ve got a huge CSV ( around 10 GB ) that needs to be processed hourly Do you guys have any suggestions what is the best prac...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
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
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
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
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews