An Introduction to Content Security Policy – HTML5 Rocks

Mike West runs through everything you need to know about Content Security Policy

 

Instead of blindly trusting everything that a server delivers, CSP defines the Content-Security-Policy HTTP header that allows you to create a whitelist of sources of trusted content, and instructs the browser to only execute or render resources from those sources. Even if an attacker can find a hole through which to inject script, the script won’t match the whitelist, and therefore won’t be executed.

Read more from the source: HTML5 Rocks – A resource for open web HTML5 developers

Git Bisect and Why it is Amazing

If you need to pinpoint a certain change among many git commits, try the git bisect command

 

Had a client email me recently, mildly concerned, as an update to WP eCommerce broken his search layout. I told him that I couldn’t think of anything between the latest version and the prior version that would have caused any such thing, but I’d be more than happy to check it out.

I dug in and in fact, we had broken it. I didn’t recall any changes in the 913 commits between the two changes.

With nothing obvious, and 913 commits between release – what was a developer to do? Enter, git bisect.

Read more from the source: Zao

Hacker Way: Rethinking Web App Development at Facebook

Learn the origins of ReactJS, why it is conceptually superior to MVC or MVVM, and the benefits in real-life Facebook apps

 

Delivering reliable, high-performance web experiences at Facebook’s scale has required us to challenge some long-held assumptions about software development. Join us to learn how we abandoned the traditional MVC paradigm in favor of a more functional application architecture.

Read more from the source: YouTube

Blurred Background in CSS

Create blurred backgrounds in CSS without the forthcoming blur API

 

While waiting for the official property, the trick is to create blurred version of the background, and set the background property both of them (main body background and box that want to be blurred) to be cover sized and fixed.

Read more from the source: CodePen