Server side language for an Ajax interface? [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 6 years ago.
Improve this question
There's a website with an Ajax interface. My goal is to open up the page with Ajax components locally, in a browser, to let the Ajax interface fetch data (in a text file) from my local server. What is a good server-side language for this? i.e. having a competent library for Ajax interfaces. I want something lightweight so Java is kind of out of the question.
I'm currently thinking PHP, NodeJS or Python. Thanks for the help!

NodeJS is great for this. It has its own http module to make requests as well as tons and tons of user-created libraries to help or provide additional info. The http module will give a response that you can easily pipe to a file how you wish. Plus, if you already know Javascript, learning Node is relatively easy.

Related

Why we are not using php in Hadoop framework? [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 4 years ago.
Improve this question
Any specific reason we are not using php in Hadoop framework?
There's nothing stopping you from using PHP for Hadoop Streaming MapReduce (assuming PHP can read from standard input and write to standard output).
And there's also not much preventing PHP from being able to query HBase or Hive or Spark Thrift Server assuming a driver exists that allows for that.
The only main issue is that you cannot use the core Java libraries very easily and most services would need exposed via REST, for example.
Any Hadoop web UI could probably be rewritten in PHP, if needed, but it's too much context switching, in my opinion.
A libhdfs C extension does exists, I've not seen it widely used. If you did want to interact directly with HDFS, that's probably the most performant way. Webhdfs would be an alternative
But you'd have to ask the core Hadoop developers why PHP isn't used.

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.

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.

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