+1 too :)
2013/3/5 Michele Vezzoli <[email protected]> > Yep +1 > > > 2013/3/5 Toumal <[email protected]> > >> Great news, thanks for your work Louis! >> >> And I just want to quickly state that mysql support is absolutely >> important for a project like APE, especially for more serious uses where >> there's lots of concurrent users and activity involved. Everytime I read >> that one should just "do an AJAX call on some php script", or "this isn't >> what APE is about", my head starts to hurt. That kind of call is exactly >> what I'm avoiding with APE, since PHP processes are expensive, and if I >> need to do that in order to interact with the db then there's no sense in >> using APE at all. PHP backend processes are expensive and, in the case of >> fastcgi, also limited in number, so if have lots of users generating >> thousands of requests per second, you're long past the "let's just do >> another ajax call" territory. >> >> So yes, this is exactly what APE is about, and thanks Louis for making >> APE fully functional again! >> >> >> >> >> >> On Thursday, February 7, 2013 2:37:09 AM UTC+1, Louis Charette wrote: >>> >>> Anthony has merged my changes into the master branch on GitHub. You can >>> now download the latest source from GitHub to have MySQL support. >>> >>> - Louis >>> >>> Le dimanche 3 février 2013 20:49:32 UTC-5, Louis Charette a écrit : >>>> >>>> I've been looking at the source code for the past two days. I can >>>> confirm that MySQL support broke with the Spidermonkey update in commits by >>>> Paraboul from June 25 2011 like Peter suggested somewhere >>>> else<https://groups.google.com/forum/#!msg/ape-project/7JXRBFXf-SI/Trt8ApIXnwgJ> >>>> . >>>> >>>> I also found something interesting. If MySQL is not working, those >>>> three feature are not working either: >>>> >>>> - *Sockclient*: http://www.ape-**project.org/docs/server/** >>>> >>>> sockets/sockclient.html<http://www.ape-project.org/docs/server/sockets/sockclient.html> >>>> - *Sockserver*: http://www.ape-**project.org/docs/server/** >>>> >>>> sockets/sockserver.html<http://www.ape-project.org/docs/server/sockets/sockserver.html> >>>> - *Custom pipe*: http://www.ape-project.** >>>> >>>> org/docs/server/more/pipe.html<http://www.ape-project.org/docs/server/more/pipe.html> >>>> >>>> >>>> On my test server, none of this is working, including MySQL, on a fresh >>>> build of the master branch from GitHub. I believe it's all linked together. >>>> *Can someone confirm that if MySQL is not working, those three feature >>>> are not working as well?* >>>> >>>> >>>> I can't say why, but in libape_spidermonkey.c, around line 3053, the >>>> *JS_InitClass >>>> *calls doesn't seems return an object. A function is returned instead. >>>> This can be seen from Javascript like this: >>>> >>>> var sql = new Ape.MySQL("ip:port", "user", "password", "database"); >>>>> Ape.log(sql); >>>> >>>> >>>> Before commit **b89de0ed149aa4a5e2b539ff516da1**65ba607b26, this would >>>> be printed in the Ape log: >>>> >>>> [object MySQL] >>>>> >>>> After the commits, this is printed in the logs: >>>> >>>> 2013-02-02 10:44:07 - libape-spidermonkey.c:2475 - JavaScript : >>>>> function MySQL() { >>>>> >>>>> [native code] >>>>> >>>>> } >>>>> >>>> >>>> Maybe something changed in spidermonkey from version 1.8.2 to 1.8.5. I >>>> already asked on their group for more info. It's weird since Spidermonkey >>>> documentation<https://developer.mozilla.org/en-US/docs/SpiderMonkey/JSAPI_Reference/JS_InitClass>state >>>> that JS_initClass should return an object. >>>> >>>> >>>> Unfortunately my C skills are limited and I can't do more for now. I'll >>>> keep you posted if I find something else. >>>> >>>> >>>> - Louis >>>> >>> -- >> -- >> 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 unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > ------------------------------ > *Michele Vezzoli* *IT Manager* > > TEL: +39.030.5230600 MOB: +39.328.0555322 FAX: +39.030.5230600 SKYPE: > michele.vezzoli.vardump > VarDump S.r.l. - www.var-dump.it > > This e-mail message does not imply or cause any obligation, unless it is > provided by a previous written agreement. This message is confidential: if > you have received it by mistake, please advise immediately the sender by > e-mail and destroy the message and its attachments. You are hereby notified > that any unauthorized use of the content of this message could constitute a > criminal offence. Thank you. > > -- > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
