Server program to communicate with iOS, android and windows [closed] - php

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Im planning to write a server program to communicate with iOs, android and windows phone, which would be the best language to choose. I was planning on using PHP and JSON but still confused that if it is the most efficient. Anyone with experience on this can help me pls...
Please do not mistake me if its a stupid question I'm still a beginner...
Thanks in advance.

It completely depends on what you are trying to achieve. If you are really good with php you can use it or, you can use languages such as node.js to do this. Right now we are using node.js and mongo db to save some data on our servers and sending push notification to users.
I would recommend checking parse.com API's for your backend services. They have a free tier where most of the applications will fit. If you are really sure you will have more than 1 million requests every month, then you can start thinking of your own back end. If you are writing your own backend and if you are good with javascript, node.js is your friend along with mongo db.

Related

String Processing On Server Or Android phone. Which is better? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am working on an android application that uploads a file to my server and then gets a string response. The String requires modification before presenting to the user.Should the modification be done on the server or the phone...Which is faster?
Server is something you control. If it's slow, upgrade it. But you cannot control devices and there are plethora of them, some are high-end some are low-end.
So basically you cannot expect any processing to be fast on the device side because their performance is not uniform.
Having said that, I would suggest moving as much processing as possible to server side. A good app is light but rich. Just like Google. It's just a text field on client but behind the screen it is powered by thousands of servers.

Where to start when making a dynamic website? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I know HTML5 and CSS3, basics of JavaScript and jQuery, and I want to know what to learn next for back-end programming. Should I learn PHP or Ruby? How can Node.js help me? AngularJS? MySQL?
I'm confused and don't know where to start. Can somebody please explain?
HTML, CSS, JavaScript and jQuery are used for front end development. For dynamic web development you got to get into server side too where you can take data from user and generate content depending upon the data. So start with a basic server side language - PHP and MySQL.
Once you get to know how server side works, then you can proceed on with other language. These are few PHP based projects for beginners. Believe me when you are done with these PHP, server side and dynamic web development will be easy.
MySQL is your database. Install XAMPP (Windows) or LAMP (Ubuntu) to run Apache web server and connect to database using PHP.
Codecademy has a rails application development track, which I mention because you tagged this post with ruby.

Need some initial guidance for Android and iOS app using MySQL [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm about to start the development of an app where I'll need to make use of queries to retrieve information from a database and print it on my app. I have a lot of experience doing this using PHP/MySQL coding but I have never done it on a mobile app. How would you recommend I begin my coding? Are there any tips you can share to help me develop this app?
I also need to develop this app in both android and iOS. What should I be aware of when doing this? Is there any builder (other than Flash builder) to export both versions of my app?
Thanks, and any information helps!
Are you storing database locally or accessing remote database.
I am a IOS developer so I can give u tips about IOS only. But concept must be similar to Android as well.
If you are storing database locally in the app, there is Sqlite and coredata for that. And different wrapper framework such as FMDB for sqlite makes things easy for this.
If you are accessing remote database you could do that with the help of APIS that consumes JSON/XML formatted data from the server database. Apple has provided inbuilt XML and JSON parser for this. But framework like AFNetworking could be really handy.

Consuming php web services with WPF client [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have created a php RESTful service which respond with data in JSON format and i can easily access it with my android app, but the problem is with my WPF desktop client. Actually, i don't know a better way to call a php web service from a WPF client. Please suggest some good solutions to deal with this problem.
Your issue doesn't have anything to do with WPF, but simply .NET in general. You're looking for Windows Communication Foundation.
The learning curve is a little steep, but once you've got it set up right, consuming your service in .NET should be pretty simple.

What woul be the best solution to push data/notification to AIR application? Server side is PHP [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Designing AIR application which has to have server side push or notification, don't know what is the best implementation of this feature in PHP. Please suggest, because at the moment I not sure if this even exists.
Great question I am wandering the same think.
I have done some reasearch on the subject myself.
Hopefully it wil help you.
They are 3 solutions that I have found:
Use NGiNX with Node.js and Socket.IO (http://blog.mixu.net/2011/01/04/nginx-php-fpm-and-node-js-install-on-centos-5-5/ and http://blog.mixu.net/2011/08/13/nginx-websockets-ssl-and-socket-io-deployment/)
Use the NGiNX HTTP PUSH (COMET) module: http://wiki.nginx.org/HttpPushStreamModule
NGiNX + Socket.IO: https://github.com/LearnBoost/socket.io/wiki/Nginx-and-Socket.io
Also about the NGiNX PUSH module. I message the creator and he told me that he will support websockets soon.
If you are going to use PHP in a very intensive way you might want to look at PHP HIPHOP for performance reasons.
I really hope my answer helps you or at least puts you on the right track ;)
I think that as HTTP works in a client request fashion, pushing is not possible.
Maybe you could set a timer and refresh every X seconds, minutes or whatever that fits into your application?
Edit:
Actually a socket approach would be a better solution.
If you want to do real push with AIR you have to go socket. Take a look at smartfox server.
edit : i agree about node, i use it often now.

Categories