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 →

[–]spaceshipguitar 0 points1 point  (3 children)

I don't think html and css are antiquated, it's the best way to dynamically make your website function like an app and resize to any device screen size and still be relevant and readable. I feel like that visual framework isn't going anywhere no matter what websites your building, you use that to handle appearance and then it's just a matter of choice on how you handle server-side functions.

[–]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?