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.
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted”
Version...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
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
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
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
This comes up every now and then.
Read some comments here: Use Elixir to create the next Wordpress?
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
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?
olafura
There is GitHub - bragful/ephp: Bragful core: PHP Interpreter in pure Erlang · GitHub
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
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
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
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
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)