Hi all I am planning to migrate my online chat to ape 0.9 and have a trouble in realizing general design of my future solution. I can create a pipe to connect 2 users, but how can i send message to offline users? As far as i know pipe can be created only for online users, not offline. I want to send messages via ape server to online users AND offline users. And i need to show previous messeges (20 last posts) in certain user chat.
I already added authorization with my joomla site through mysql plugin from ape sources. I can store and read messeges in mysql database. Need i add register command for message history retrieving? And what kind of pipe i need to get notification about receiving new messeges from online users with that i have no opened chat windows/ pipes? To be more specific i will describe what i created for now with php/ mysql: I have online chat in a separate browser window, it has contact list for switching to personal chat with specific user and it has one certain contact - "Common Chat" - to chat with everybody. Personal chats remembers message history and has page navigators. Every 20 seconds page makes ajax request (with jquery, but it does not matters, i can switch it to mootools) to my php server wich returns last 20 messages. It is very stupid solution - server load is too high as far ad it makes heavy queries every 20 seconds from each user. What i want to do is to get messages in current chat window immediately and to notify him about new messages from another users who is not selected in current window. Thanx for any ideas (and sorry for my english and possible stupidy, comet and ape is new for me:) -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
