Sunday, November 06, 2016

http://www.stillbreathing.co.uk/2014/04/08/progressive-enhancement


This is the crux of progressive enhancement. Here’s the recipe:

Start with a basic web page that functions with nothing but the HTML, using standard semantic mark-up. Yes, it will require full-page GET or POST requests to perform actions, but we’re not going to stop there – we’re going to enhance the page.
Add CSS to style the page nicely; go to town with CSS3 animations if you want
Add JavaScript to enhance the UI and provide all the modern goodies: AJAX, client-side models, client-side validation etc
The benefits are obvious:

If the JavaScript or CSS files (or both) fail for any reason whatsoever the page still works
The use of semantic HTML means the page is fully understandable by search engine spiders
Because everything is rendered in HTML, not built up in JavaScript, it is understandable immediately by assistive devices
Serving fully-rendered HTML is quicker than building that same HTML client-side
Built-in support for older – and newer – browsers and devices
The best web developers on the planet all argue that progressive enhancement is the best way to approach web development. I honestly have no idea why anyone would think otherwise. There’s a good article (it’s actually the first chapter of Filament Group’s “Designing With Progressive Enhancement” book) on the case for progressive enhancement here.

.Net socket debug

Tuesday, January 05, 2016

Obama on gun control

"We know we can't stop every act of violence, every act of evil in the world. But maybe we could try to stop one act of evil, one act of violence"

"We do have to feel a sense of urgency about it. In Dr King's words, we need to feel the fierce urgency of now, because people are dying," he said. "And the constant excuses for inaction no longer do."

"Yes, it will be hard. And it won't happen overnight. It won't happen during this Congress. It won't happen during my presidency," he said. "But a lot of things don't happen overnight. A woman's right to vote didn't happen overnight. The liberation of African-Americans didn't happen overnight. LGBT rights, that was decades worth of work."

- Barack Obama