> My questions is: can I build my user interface with XHTML&JavaScript
> and just use your flash component to notify my JS code that there is a
> new message to be displayed (along with the relevant data)?
Theoretically, yes; this is something we're working on. You'll be able
to build an interface using the HTML, CSS, and JS you know and love,
and use Flash purely to maintain an open socket between the browser
and the server.
> I suspect
> that I can send the data needed to this flash component which then in
> turn sends it to other clients (or does it send it to the server
> (PHP), from where it goes to the clients?).
Data doesn't have to move through your PHP back-end, but goes through
the XMPP server.
In one of our Hemlock apps, we have a Ruby backend that talks to a
database, and also logs into an XMPP room as a regular user (thanks to
some third-party software that integrates Ruby with XMPP). This lets
us move data between XMPP and the database seamlessly. The same can be
done with any back-end language, including PHP, that has some
implementation of XMPP. Documentation on this architecture is in the
works.
Cheers,
Ron