Thank you for your explanation... I always like jaxl... Every time I see jaxl... I will amazed that the structure how it was build... Super...
Sent from my HTC
----- Reply message -----
From: "Abhinav Singh" <mailsfo...@gmail.com>
To: <ja...@googlegroups.com>
Subject: [jaxl] Re: JAXL XMPP Sand alone
Date: Fri, Jan 17, 2014 5:29 AM
Jaxl started as xmpp client library (not server).
Later networking parts were abstracted out and put under what I call as
"core" <
https://github.com/abhinavsingh/JAXL/tree/v3.x/core>. Later, I also
added server writing utilities under "core".
"xmpp" <
https://github.com/abhinavsingh/JAXL/tree/v3.x/xmpp> and "http"<
https://github.com/abhinavsingh/JAXL/tree/v3.x/http>components just work with "core" library and doesn't use any inbuilt php
socket/stream method.
So yes, Jaxl can be used as a standalone server. http server (yes), xmpp
server (i won't recommend).
There is a basic http server<
https://github.com/abhinavsingh/JAXL/blob/v3.x/http/http_server.php>implementation included too.
Since both xmpp and http components are based out of same core, you can
also mix and match and play, e.g. xmpp_rest<
https://github.com/abhinavsingh/JAXL/blob/v3.x/examples/xmpp_rest.php>server example.
xmpp_rest example starts an xmpp client and then allow u to reach that xmpp
client object via http.
Since v3.x, xmpp clients also support communication via unix sockets<
https://github.com/abhinavsingh/JAXL/blob/v3.x/examples/echo_unix_sock_server.php>(command line). So one can start an xmpp client (in the background) and
then later attach to the running xmpp process. Execute (eval) arbitrary php
code, Use existing xmpp client object etc. There is support for pipes<
https://github.com/abhinavsingh/JAXL/blob/v3.x/examples/pipes.php>too.
All this probably gives u endless possibilities to explore.
--
Abhinav
On Friday, January 10, 2014 4:53:02 PM UTC+5:30, willard kurisa wrote:
>
> Can I use JAXL XMPP as a stand alone server? Can some please explan what
> JAXL actualy does?
>
--
Documentation:
http://jaxl.readthedocs.org/en/latest/index.htmlCreate a bug/issue:
https://github.com/abhinavsingh/JAXL/issues/newYou received this message because you are subscribed to the Google Groups jaxl group. To post to this group, send email to
ja...@googlegroups.com. To unsubscribe from this group, send email to
jaxl+uns...@googlegroups.com. For more options, visit this group at
https://groups.google.com/d/forum/jaxl?hl=en-US---
You received this message because you are subscribed to the Google Groups "jaxl" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jaxl+uns...@googlegroups.com.
For more options, visit
https://groups.google.com/groups/opt_out.