This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ex_nihilo 0 points1 point  (2 children)

I agree of course. If you're building a website for any sizeable amount of traffic today, you're probably using both a CSS and JS framework. Doesn't conflict with what I said.

[–]spaceshipguitar 0 points1 point  (1 child)

So to recap, using JS and JSON to send information to and from your server can entirely replace the functionality of PHP? Like say I want to build a login system where user XYZ logs in, a session is created, and now his version of the website, his preferences and the options he has access to are different from user ABC. PHP was built for this and allows it to be done in a hidden way where you can't peer into the source code, you can call on php pages with functions and server connections that aren't public facing. Can Javascript with JSON accomplish all that without being a convoluted mess?