What do you think about doing JS-Free sites?

PHP or something else may be needed for some things, unless it's very basic.

PHP for templates for headers, footers and navigation to keep from having to edit every page. For entry forms and displaying feeds, for instance. Anything that needs a timestamp for last updated, or unique visitor count.

Everyone says PHP is bad or insecure. What else is recommended other than PHP and Javascript that is universally supported?

There's also XML and XML/Atom for sitemaps. SHTML for error pages and redirects.
 
PHP or something else may be needed for some things, unless it's very basic.

PHP for templates for headers, footers and navigation to keep from having to edit every page. For entry forms, for instance. Anything that needs a timestamp for last updated, or unique visitor count.

Everyone says PHP is bad or insecure. What else is recommended other than PHP and Javascript that is universally supported?

There's also XML and XML/Atom for sitemaps. SHTML for error pages and redirects.
No, I'm talk only about resulted page, given to browser. On backend working what developer use.
 
Simple websites don't need AJAX but think about a shopping basket in an online shop. It's much faster to delete / add articles with AJAX than to do a full page reload with all the database queries involved.
 
Simple websites don't need AJAX but think about a shopping basket in an online shop. It's much faster to delete / add articles with AJAX than to do a full page reload with all the database queries involved.
.htaccess cache and file Etags?

I never understood why Javascript should be used, so never tried learning it.
 
  • Like
Reactions: a6h
Simple websites don't need AJAX but think about a shopping basket in an online shop. It's much faster to delete / add articles with AJAX than to do a full page reload with all the database queries involved.

And there is no good reason to not allow the users to disable AJAX and still use the shopping basket.
 
Yes, I also one period of my life hardly use AJAX, and various jQuery, but in some moment I have a "insight" and understand that JS are not needed. And start to develop without it, but not
a compromise in usability. Currently CSS so flexible, that it possible to do various effects and tricks without JS.

Also a lot of sites works so slow because of bloated with JS, that I don't understand why their owners not solve that problems.
 
And there is no good reason to not allow the users to disable AJAX and still use the shopping basket.
That's correct. One should make the website work without Javascript first and then add AJAX to make it faster. Websites which don't work when Javascript is disabled suck and the creator should be punished.
 
Sites using JavaScript can be a security threat to visitors or give visitors a user experience of being exploited if datamining, advertising or tracking is done with it.

If security is a concern for a client/user he would have to download the JS-scripts and review those first before any usage. Reviewing tens of thousands lines of JS is not efficient by any means and it would need to be a JS-programmer with focus on on all the abuse that can be done with JavaScript.

No JavaScript is a feature that can proudly be advertised to the visitors of such a site, as more and more people are trying to defend against the use of JavaScripts.

To me JavaScript free sites are just those I prefer as first visitor to a site because I regard them as clean.

JS-free sites hardly can break if defense is done on client's side.
 
  • Like
Reactions: a6h
If you develop only for yourself (which is very likely), that's absolutely fine.
I hope not only for me :)

When I finish it I can show it for review if interesting.
Also I think about do it cookie free, because for me all these notifications about "We use cookie... " - so ugly and annoying. But cookie not need if you don't want to spy to your visitors.
For session cases it solves by generated "SESS_KEY" in url.
 
Well, depends on how much of a train wreck it is going to be. May I interest you in using plain C as well?
:) No, just standart stack FreeBSD, Nginx, Lighttpd, PHP, MariaDB, Memcache and some workers in shell.
And interesting may be in way "A fresh look at the ability to make functional and eye-pleasing applications without being overloaded with unnecessary technologies"
 
Hi peoples!

I'm develop web application, and have internal strict rule: Only HTML+CSS.
Those of you who also develop web applications, what do you think about so way?
Css has come a long way & things like grids are a very powerful tool. I also like php as the server backend script. So, yes i agree as anything with less javascript is better than the 1000s of kilobytes of crap you must download to view a simple website (or just block the junk!)
 
I like the idea. I also think there is an upcoming niche for it. For example a Javascript free forums or social media system would surely be appreciated by a number of like minded individuals and yet I don't believe any exist!
 
I like the idea. I also think there is an upcoming niche for it. For example a Javascript free forums or social media system would surely be appreciated by a number of like minded individuals and yet I don't believe any exist!
What so phpbb and the like are client javascript? That's disappointing.
 
Back
Top