Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Hei

I am developing a web application for a online library management systems for a client (example), where teachers can assign books and students can read and rate the books.

So i think its kind of MVC kind of web application, So here My clinet has already login module and he is going to supply users (teachers/students) via Rest API call at this url: example.com , and for book-rating , accessing-books and for other statistics i am asked to use tincan API. So definately my web application will be on diffrent server ,then i think all API calls should be by server side programming (please comment if i can do on client as well and also how ?).

So my Question is : I am newbie to PHP programming ,angular JS and Node.js. In these 2 server side programming languages (PHP and Node.js) which one would be more suitable choice, Just for the fact i am more comfortable with JS code, But i have never done server side programming also this question is not just to find out the diffrence between PHP and node.js , I really need to know

1) what kind of problems i would get if i do api calls from client side(if at all possible).

2) I did not quite understood from internet sources :"There would be problems with headers & cross site scrpting" ? , In what way they would effect my application.

3) Just in case if i choose Node js now, would there by any performance issues or any other ?

4) Whats the real advantage of PHP server side programming compared to Node.js and vice versa.

Any kind of good resources, suggestions, information are much apprciated. I really want to understand this particular area of web development cycle.

Thanks in advance

share

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.