String Processing On Server Or Android phone. Which is better? [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 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.

Related

Does a web application that has to be run via localhost need security? [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 1 year ago.
Improve this question
I've been working on making an RMS (Record Management System) a web based application that has a functionality of CRUD and it is intended to run via localhost that is operated only by one person (admin). The main question is that, is SECURITY necessary on the web app even though it is run via localhost only? If so, what scope should I look into and apply?
Well no not really, if it is just one person. But if you're talking about a localhost which can be accessed remotely through passwords then obviously you would need some sort of security to prevent bypassing of some sort.
But if you want to stay on the safe side of things then maybe just do it anyway because there's never a 0% risk of attack

monitoring Requests in php [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a project in PHP and it works as a REStFull service, an android application constantly request some functions, I want to know, from the server side, How could I see all the petitions?
the PHP project is in a hosting.
If you are after activity log, your web server can provide that (Apache or Nginx) for example, otherwise, you will have to implement your own logging strategy in PHP (https://github.com/Seldaek/monolog can help you)
If you want to go further, you can use logstash alongside Kibana and Elastic to get you a nice representation of your service's behaviour.
https://www.elastic.co/products/logstash
If logging your Rest service is very costly in term of performance, www.gearman.org is a very good option to easily bring some asynchronousity in your application.

Host PHP site on Dropbox [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 use DB on regular basis to host static sites for clients so that it makes easy to change anything and ask to client check. I use 'Public' folder to do that. Colloboration with client becomes super fast and easy.
Now I researched a lot on google on hosting php site there. But didn't found anything. I need to upload small changes to server to show client and the process is again and again.
What you guys recommend as a good solution?
Set up some automatic deployment to a server that your client can access. Use version control for your changes. When you merge into a specific branch, your script can automatically do the deployment for you.

When to use php , asp and jsp while making an webapplication? [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 recently went through an article which states the different combination to make an Web-Application , so I was wondering that when a developer should go for
1.php
2.asp
3.jsp/Servelets
anything on it would be appreciated
Developer should develop in which language he/she is comfortable.and client's requirement is also taken care of.
Open source web application should develop in PHP. Application meant to run in Windows server must develop in asp and in both the cases you can use java. Java is mostly use to develop desktop applications.

Server program to communicate with iOS, android and windows [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 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.

Categories