Hi, Indeed, the 1.0 API has changed. We are currently porting MySQL to the SSJS API. Btw, you can still write C++ module :)
ziga ham a écrit : > Now that you are mentioning javascript serverside: > So far i have made 3 c++ server side modules for different projects, > and last time i checked they didn't work on 1.0 > so should i switch to javascript? and if yes why? and how would i use > mysql / postgres from javascript serverside? > I must say after checking out the wiki that this js code is shorter > and easyer to write, but for c++ there is a lot of useful libraries > i'm using, so i don't really know what to do right now :) > > Thanks > > On Wed, Nov 11, 2009 at 5:30 PM, para <[email protected]> wrote: > >> Hi Vasilly, >> >> Forget 0.9. Checkout 1.0 at http://github.com/APE-Project/APE_Server/tree >> ;) >> Read this : >> http://www.ape-project.org/wiki/index.php/How_to_build_a_serverside_JS_module >> >> You'll be able to do what you want very easily by writting a >> serverside JS module. >> >> Anthony Catel >> >> On Nov 11, 5:21 am, Vasiliy Gladkov <[email protected]> wrote: >> >>> 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/ >> > > -- 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/
