Jabber and the search for the best PHP CMS that uses PostgreSQL

The Jabber guys are planning world domination with us here at BarCamp Amsterdam. Ralph is keeping the secret pretty close to his chest, but we've got it pretty well sketched out: our session is at 14:30 today in the kitchen

Apparently, Drupal isn't ranking highly in searches for "PHP CMS", so I'm doing some links to help with that. Funny thing is, searching for Broken CMS ends up pointing to a Drupal-powered site...but it has links to Typo3, XOOPS, and PHPWCMS. Yeah, we laughed.

I'm hoping that James will commit his Jabber module today, so that we can kick the tires on it. Of course, the ejabberd server already runs their community site on Drupal. We had a little bit of a discussion about have a new jabberd server that has some of the attributes of ejabberd -- distributed, fault-tolerant, etc. -- except, not written in a not very widely supported language like erlang. Python and the Twisted networking framework sound like good choices.

Comments

#2 and #8

Drupal is currently #2 for "best PHP cms" and #8 for "php cms".

On ejabberd and Erlang

On of the nice thing in the XMPP/ Jabber protocol, is that it is an XML protocol. The protocol is intended to be fully controllable and extensible through XML and component can be connected with a socket.

I think this is why the choice of Erlang for ejabberd is very good. You get unmatched performance and scalability along with the ability to extend the server with whatever tool or language you like.

 --

Mickaël Rémond

http://www.3pblog.net/ 

I'm hoping that James will

I'm hoping that James will commit his Jabber module today, so that we can kick the tires on it. Of course, the ejabberd server already runs their community site on Drupal.

Interesting, do you know if it already is submitted? And do you know which features it brings? That plugin might be a cool addition to the ejabberd website ;-)

We had a little bit of a discussion about have a new jabberd server that has some of the attributes of ejabberd -- distributed, fault-tolerant, etc. -- except, not written in a not very widely supported language like erlang.

Well, it is not really ejabberd that has these features: it is Erlang that has these features.

The choice to use Erlang for ejabberd is explained in the interview with Alexey Shchepin:

Why did you choose to use Erlang for ejabberd?
I found it the most suitable language for implementing a Jabber server. Its support for concurrency and clustering is great. On the other hand, Erlang is pretty slow on many string operations, but they can be implemented on C, so this drawback can be avoided.

As a result of using Erlang, ejabberd is probably the server with the most features per lines of code. Compare the size:

  1. ejabberd-0.9.8.tar.gz: 446K (325K if you remove the directories doc, examples, and contrib)
  2. jabberd-1.4.4.tar.gz: 599K
  3. jabberd-2.0s10.tar.gz: 755K
  4. jive_messenger_2_2_2.tar.gz: 7.71M

And last, but not least: no one prohibits you to contribute code written in Python to ejabberd (by using PyErlang). ;-)

re: the search for the best PHP CMS that uses PostgreSQL

Framewerk has some interesting buzz around it. It has some core postgresql developers working with it, so it's postgresql support is top notch. Might be worth a look. (http://www.framewerk.org/)