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.
Related
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 6 years ago.
Improve this question
I would like to know if it's possible to run a executable file (through any technology; PHP, JS, HTML...) on the web server, and render the image on the client.
I would like to do that to not share the exe file, but just let the client see what how the programm looks like without having him to download it. Also, using that way it won't affect the client PC.
It is possible to run application on server side and display result of application to client [1]. However, if your application uses GUI it might be difficult and required complex solution.
What if you:
Display screenshots of application
Let user book some online meeting where you would present the application through skype with shared desktop
Have public server where application would be installed and user could request username/password to server and try it itself (think about security!)
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.
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.
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've made an android app that let you save some data locally (for example: photos). Now i would like to create a web service that will automatically backup the data and later let the user to check them on a web application (eventually coded with PHP).
I know PHP for server side, and some python. Should i create a Rest-full api with php using a cms like described here or should i use Google Cloud Platform? Which is more convenient?
The application should:
Authenticate the user,
Automatically backup the data,
Let the user
access the data on a web application
Personally I find Parse to be really useful, powerful and affordable. In the scope of developing apps for local businesses we still haven't paid a dime and it has saved us a ton of development time. www.parse.com
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.