Documentation.

Development Server Libraries

Sections

Basics

  1. Quick Start Guide
  2. Quick Start with Node.js
  3. Theming

Development

  1. Server Libraries
  2. Database Backends

Code API

  1. Server-side PHP
  2. Node.js Server
  3. Client-Side Scripts
 

Pur­pose

The server libraries are an impor­tant part of Ajax IM’s flex­i­bil­ity. Depend­ing on the server library you use, you can run Ajax IM purely on PHP and MySQL or using the (much bet­ter option of the) Node.js server.

Addi­tion­ally, you can imple­ment your own server library that works with your exist­ing authen­ti­ca­tion sys­tem and the Node.js server (or just Ajax IM’s MySQL database).

Build­ing your own library

Cre­at­ing a new server library is easy! Head over to the Cus­tom Server page to learn how to build your own PHP library.

Using some­thing other than PHP?

It is pos­si­ble to use another lan­guage besides PHP (as the Node.js server uses the Mem­cache pro­to­col for its API), how­ever, Ajax IM cur­rently only offi­cially sup­ports PHP. If there is sig­nif­i­cant enough inter­est, other lan­guages may be con­sid­ered for support.

1 Comments

  1. by Steve Lopez on March 13, 2010

    JSP and/or Servlet sup­port please! Thou­sands of JSP/Servlet-based sys­tems exist around the world and I am sure many would take advan­tage of this great library. (No offense to PHP; but there are other very pop­u­lar server plat­forms that con­tinue to grow)

Leave a comment