In an app, I am looking forward to implement server push functionality. I have gathered some information about the technology also, but I am little confused that with which language should I prefer for and what else requirement needed(note: this is going to be a social n/w app)?
I have just finished a project based on php / mysql, so will PHP be a good option or ruby on rail.
So can anybody guide me here. also if any good article before start working on it?
Thank you in advance.
What you're looking for is Comet. With PHP, your options are somewhat limited; see here for details.
Related
I'm creating PHP MySQL real time chat app. A friend told me It is very bad to use PHP for real time apps & that would kill server CPU.
I know that PHP isn't the proper choice but i wanna get some advices to make the performance better with using PHP for real time chat apps.
I also wanna know why some developers prefer using PHP7 over NodeJS/Socket.IO/GO/..etc ?
Thanks,,
I would prefer Nodejs + Socket for realtime chat application because of one reason that it will be completely Javascript from Browser/Mobile to server and if NoSql is database than upto database as well.
But your point of PHP7 vs Nodejs/Socket left me with a question and to get the answer I came across this blog. This might help you as well. Its too long to explain it here.
PHP7 vs Nodejs
MEAN.JS is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications using MongoDB, Express, AngularJS, and Node.js.
In this formula I want to replace Express by Hapi.js.
Does anybody know analog of MEAN.JS but for Hapi.js?
As far as I can tell hanx.js is the closest match to MEAN.js. The downside is as you already mentioned that it uses PostgreSQL and you are looking for MongoDB.
There is also frame but it brings only the server side to the table. You need to build your own client.
Hope this helps you a bit.
I had Mobile project using Titanium which need Chatting functionality so i found two way to do that...like using socket programming and by using Web services so which way is better and what are the Requirements for Sockets Based programming .....plz Help me.....
i had got reference for code
https://github.com/appcelerator-modules/ti.cloud/tree/master/commonjs/example/windows/chats
but i confuse which way i have to fellow ...
Dilip
If you want to implement chat application you have more option to do that.
I have already do that with socket.io that is really fine for me and also helps me a lot. And its very speedy .
And i have also experience with cloud that is also good but as per i say that socket.io is good compare to webservices.
Socket.io In Appcelerator
Prefer this it really helps you to you to understand socket.io
Socket.io
Thanks,
Dharmik
I am using the oAuth library for Codeigniter made by Alex Bilbie. It is made for MySQL.
Has anyone used it with MongoDB? I will try to "convert" it to MongoDB but there are som many files in the repo and only few of them is needed for the server setup.
Does anyone know if there is a ready made Mongodb of this repo and / or which files that
is the bare minimum for a server only setup?
Repo:
https://github.com/alexbilbie/CodeIgniter-OAuth-2.0-Server
Thankful for all input!
This doesn't exactly answer your question but it might be what you're looking for.
Funnily enough Alex has already created a mongodb active record driver for CI. You will probably have a much easier time converting it to using this than anything else I'm guessing.
Blog
http://archive.alexbilbie.com/2010/04/17/a-codeigniter-active-record-library-for-mongodb/
Bitbucket
https://bitbucket.org/alexbilbie/codeigniter-mongo-library/wiki/Home
If you do get around to making a conversion github it and link here please :)
Have been using Savon for my webservice stuff so far, but need to talk to a more "secure" service now, needing WS Addressing and WS Security Extensions.
Have started to extend this fork of Savon to handle it, but then found WSO2 WSF/Ruby - so wondering if anyone has any experience of it, pros/cons etc. That is, is it worth my switching to it? I cant see much out there about it, besides on their own site - their forums seem awfully quiet, which does not bode well.
Currently dev on OSX/Snow Leopard, deploying on CentOS.
Thanks in advance,
Chris
It does not seem so (from the lack of replies...)