I'm in the planning phase of making a website for calculating various mathematical problems, as a school/sparetime project with a couple of friends. We're gonna start off with implementing a "right angled triangle calculator", and then gradually implement more mathematical stuff.
So, basically, we want some boxes that you can fill with the variables you know, and as you type in your numbers, a program will decide which equations it can use for the specified variables of the triangle, then it will calculate the answers for all the unknown variables and fill out the empty boxes with the calculated answers.
All this, we wanna do in real time.
We know, that we are gonna want to use AJAX and jQuery, but we can't decide wether to use PHP or ROR..?
We want basically everything to be executed in real time, so that we only have to reload the webpage when the user navigates to another "part" of the site.
So my question to you guys is, What would be the smartest to use? PHP or ROR?
I have read a lot about the matter, and alot of comparisons of the two, when it comes to responsive design, but there's alot of mixed feelings, as far as i can tell.
I would love your guys' opinion.
Pros and cons of the two?