alexcastano

alexcastano

Hello people,

If you don’t know Moodle, it is the most popular learning platform around the world and it is used by many Universities around the world. All Moodle is done in PHP, however, for a new project, MoodleNet an open and federated social network to share learning resources, they have chosen Elixir. In fact, I have been hired to do it and I’m the only developer that actually knows the technology.

We wrote a small blog post about it: https://blog.moodle.net/2018/elixir-choice/

But also there is a more detailed explanation about this here: https://docs.moodle.org/dev/MoodleNet/tech/stack

I think it could be very useful for the community how external developers and (big) companies see our technologies and what they expect about it. I’ll be happy to answer any questions you have.

Showing Posts 1 to 8

OvermindDL1

OvermindDL1

Oooo, this is awesome!

Yeah we ‘used to’ use Moodle here at the college I work at but PHP and so forth along with some design oddities of it made it a pain to manage so it was eventually removed. Definitely looking forward to this!

AstonJ

AstonJ

Nice one :023:

Have you decided what your front-end stack might be?

alexcastano

alexcastano OP

Yes! We are using React & Apollo. We want to implement a GraphQL API as well.

In addition to being an open source project, we try to document all our decisions and be as open as possible to the community. Everyone is welcome in any way of collaboration.

This is really cool because I’ll be able to open source many libraries in our development process!

easco

easco

Keep in mind that the web socket protocol of GraphQL is not standardized. Where this becomes a problem is if you want to use Elixir and Absinthe for GraphQL on the server side, but want to use the Apollo client. Absinthe Phoenix uses Phoenix Sockets “on the wire” while Apollo uses it’s own protocol.

Here’s where I’ve been looking at the Apollo protocol:

https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md

Here is where I started an Elixir implementation of that protocol that interacts with Absinthe:

https://github.com/easco/absinthe_apollo_sockets

On the whole this might not be a problem you have. I ran into it through a desire to support GraphQL subscriptions (via. Web Sockets) in an environment where I couldn’t control whether folks would use a Phoenix Channels client or an Apollo GraphQL client. YMMV.

mithereal

mithereal

congrats, im still waiting for my time to come up. im in a bad waay but cannot seem to get off the streets. how did you get the job? the only thing i want is to be employed!!!

hudson2010

hudson2010

@alexcastano, what’s progress on the moodleNet , I would like to have look at it and deploy it here for some university here in africa

irresponsible

irresponsible

Hello @hudson2010,

Alex has now moved onto other projects - Hi Alex, let’s catch up!.

We’re currently racing to get ready for a federation testing period which we’re expecting to start at the beginning of May. I believe you can still sign up to that.

It’s a bit hard to say when we’ll cut a 1.0 release, for several reasons:

  • We’re a small part-time team trying to deliver a complex project.
  • We’re not sure what’s going to come out of testing.
  • Our experience tells us that people aren’t very good at upgrading once they’ve gotten some software working, so we don’t want to release something too broken into the world.

The best way at the minute to keep up to date would be to check the moodlenet_devs telegram channel. I will make some forum posts about it soon, but right now I think it’s best to wait until we’ve at least cut a release for federation testing.

hudson2010

hudson2010

ok thanks

— All posts loaded —

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 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New
maennchen
:warning: Security advisory: Decimal DoS vulnerability A vulnerability has been published for decimal where very large exponents can cau...
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
marciok
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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
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

Latest on Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews