Skysoft13

Skysoft13

Chat server with elixir programing

Hi everyone, as you know whats app using erlang for chat server. If any one decide to develop new chat project like whats app, how they will handle erlang or elixir for server. I saw this website for chat server, but I confused that how we will handle both ejabberd and erlang or elixir altogether for chat server. Ejabberd is only enough for create mobile chat server? Any idea will be appreciated :slight_smile:

Most Liked

pmangalakader

pmangalakader

@Skysoft13 ejabberd.im uses erlang and XMPP protocol as their base for the implementation. It’s very much important to understand what functionalities your chat server needs and XMPP itself has a set of standard features based on the Xmpp Standards Foundation. ejabberd, mongooseim, tigase, etc., are some of the examples of open source implementations of XMPP based chat servers.

You can also implement chat servers using websockets and some example implementations are phoenix channels, socket.io (nodejs), etc.,

Not every functionality or requirements will be satisifed by the servers mentioned above, so if you need to customise you have to use erlang. elixir or any programming language the XMPP or websocket servers are built on.

The below link provides the list of standard XMPP opensource servers which adheres to the XEP standards.

Beware, each implementations have numerous configurations, which are very hard for a beginner to cope with. So, it’s better to start slow with default configurations and then get going deeper.

pmangalakader

pmangalakader

There are numerous opensource or GPL licensed mobile applications for using with XMPP servers.

The link has a list of supported clients, you can take a look at them and decide to use them or you can even build one from scratch ( :sweat_smile: daring move)

https://docs.ejabberd.im/developer/xmpp-clients-bots/

Checkout, the client section for the below link:
https://esl.github.io/MongooseDocs/latest/user-guide/ABCs-of-MongooseIM/

Where Next?

Popular in Discussions Top

restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement