Discussion on:

6
Comments

Join the conversation!

Follow via:
RSS
Email Alert
Ryan,
You usually write very informative articles. This one is not one of them. You entitled your article "Transform your website with HTML5 Boilerplate". You give a description of what is contained in Boilerplate, but you do not provide any information which specifies how to "Transform your current website with HTML5 Boilerplate" or provide any examples of how to implement Boilerplate into an existing website to convert it to HTML5.
that you can change the website using Boilerplate. Now if the article started with "How to ...." you'd have grounds to complain, and I suspect that's the next article you'll see.
This article is intended as a high level overview of the HTML5 Boilerplate. Your idea for a tutorial style post taking an existing site and applying the HTML5 Boilerplate sounds like a perfect one for a future article. I appreciate your input.

Regards!
Questions first

1. What sort of usage do you envision being done with the no-js class? I ask as most people who have JavaScript turned off or limited do so to inhibit a website taking over control of the browser and to inhibit unwanted ads being stuffed down their throat.

2. If I use this system to work over a website or web page that has no sales cart or collects no data, but simply displays information, will the software use only HTML and NOT include JavaScript and the like?

3. I notice this is a zip file, do they have a version for use on Linux or Unix and not JUST Windows?

Points Now
I notice the code you show includes a call to ajax.googleapis.com - a source commonly used to stuff ads down people's throats if they want them or not. Is there a particular reason for this.

I'm a great believer in the website server having on it ALL the files and codes needed to provide the pages and the site. I wonder if Boilerplate will easily allow people to set their pages and site up that way, as it seems to need to call third party scripts, something many security people tell you to ensure doesn't happen now.
0 Votes
+ -
Contributr
1. The "no-js" class is invoked to allow Modernizr to run, as it will remove the "no-js" class and replace it with "js". Therefore, your website will render with similar functionality with or without js enabled in the browser.
2. JavaScript is utilized for a wide variety of uses and functionality, and it will vary depending on what it is used for in your implementation.
3. It is available as a zip or a tarball - https://github.com/h5bp/html5-boilerplate/downloads

Point 1: Are you referring to this script?src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>

This is the source to the Google Hosted Library for jQuery, the Google Hosted Libraries is a content distribution network for the most popular, open-source JavaScript libraries. https://developers.google.com/speed/libraries/devguide#jqueryUI

Point 2: You can easily copy any of the open source files to your local server, and then point the calls to them. There are certain advantages to pointing to the third-party sources, one of them is that they will always be updated and it eliminates the need for web server administrators to maintain the files. The disadvantage is that you rely on the third party folks to maintain the files and assume they will continue to maintain them.

I hope this helps answer your questions and points.
1. The no-js - you explained how it works by using Modernizr - but I'm interested in knowing what you expect the web designer to have it do on the website in places where the user has deliberately set their system to stop JavaScript from running for some reason often security or ad blocking.

I suppose part of what I want to know is what is a good use for using JavaScript on a web page if you aren't using it to gather data or operate a shopping cart sort of thing. I see JavaScript code on pages being used to just display static information for reading, and can't understand why they used JS instead of just plain HTML.

2. googleapis.com is one, as is google-analytics.com, and I wonder what browsehappy.com is.

A common security setting being pushed today is to block third party cookies and third party code calls as this the most common way to push malware onto a system in the background. So why not just copy the code onto your own server and also save time and download in having the script called, if it's really needed.

Also the third party calls require more time in communication and downloads between my system and other sites; this may not be a big issue in some countries, but down here we pay for every byte of data sent and received, so anything that can be cut saves us money.

In general, the main reason for using Google Analytics is to identify where I'm coming from to fine tune what ads to push at me and cost me more money to download the crap to my computer. Even then it's often a waste of time as what they identify is where the ISP I use hits the backbone and not where I really am. Some times I use another computer on the Internet while I check things on it and I get to see the ads being pushed at me, they are NEVER any closer to where I am than 1,000 kilometres as I'm NOT in a major city and my ISP enters the backbones in any one of three major cities that are well away from here - usually they go via Sydney, if that's an issue it will then go via Melbourne, and Perth is the third most likely in USA terms think New York, Tampa, Los Angeles. If I want any website owner to know where I am I'll tell them, and if they have a valid reason to know, have them ask me in an obvious way. BTW I block GA on every system I use and advise all my clients to do they same, and they usually do. I have found that some websites now have issues communicating if they do NOT get a valid response from their GA script, and that just means it's one more website on the 'never use' list I provide to friends, family, and clients.

3. I'm glad they have a tarball available, but when I went to the Boilerplate page the only download I could find was the zip file, found it real quick as it was obvious. I will admit I didn't go digging too deep into the site, but then I would have expected them to work like most and have all the downloads listed on the one page.

Go to http://html5boilerplate .com/ and right there is a big orange button that says 'Download' (two actually) click on that and it wants to feed you a zip file even when I access it using a Linux system. Nothing on the front page tells you where to find the tarball. And nothing obvious on the page you got to if you click on the 'Custom Build' button either. It took me a while to find out how to find your latest link with the tarball listed, but it's NOT told to anyone. You have to go to the main page, choose the 'Source Code' link at the top, go down that to where it says 'downloads' on about the twentieth line and in the same small script as everything else, and then about that far down on the next page shown is a line where you can download as a tarball. Hell, it's almost like they were forced to include a tarball version but were ashamed to have that known and trying to hide it. The option of it is NOT mentioned anywhere in any text i saw prior to there.

However, that's a marketing approach issue for the makers.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.