Am 11.03.2013 19:21, schrieb Viktor Livakivskyi:
Hi, List.

We're building an application, which requires communication from server to
client and therefore it was decided to try out Websockets, which in theory
fulfills our needs best. A basic websocket server, that listens to port
8080 and communicates with outer world, was created (using Ratchet [1]).
But here comes a problem, that we can't solve: we need an
existing $GLOBALS['TSFE']->fe_user object to send personalized messages to
a user, as well as would be nce to use the power of TYPO3 localization,
and, probably other features from API. Is there a way to invoke TYPO3
engine and re-create environment, as if it is usual HTTP request, or we
need to build initialization from scratch, duplicating index.php and
index_ts.php of TYPO3?

Can't you dispatch to typo3server with an eID call to get the data needed? The session cookie must be sent with the websocket request and dispatched as well to get the session.

I am not into websockets, this is just an idea.


[1] http://socketo.me/



_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



--

Marco Behnke
Software Developer Grepolis

InnoGames GmbH
Harburger Schloßstraße 28 (Channel 4) - 21079 Hamburg - Germany
Tel +49 40 7889335-0

Managing Directors: Hendrik Klindworth, Eike Klindworth, Michael Zillmer
VAT-ID: DE264068907 Amtsgericht Hamburg, HRB 108973

http://www.innogames.com – marco.beh...@innogames.de

_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to