HTML5 Zone is brought to you in partnership with:
  • submit to reddit
Raymond Camden03/21/13
1 replies

JavaScript Design Patterns - My Crazy Plan

I'm currently reading "Learning JavaScript Design Patterns" (associate link below!) by Addy Osmani. I plan on posting a review of it once done. In the meantime though, I'd like to work up some examples of the patterns in "real" applications.

John Cook03/21/13
0 replies

A web built on LaTeX

The other day on TeXtip, I threw this out: "Imagine if the web had been built on LaTeX instead of HTML …" Here are some of the responses I got:

Anders Abel03/20/13
0 replies

Naming CSS Classes by Purpose or Effect

What’s the best way to name a css class? form-field-label or bold-text? Is there any difference between MVC’s EditorFor and TextBoxFor? Or between a DetailedRowText property and ArticleDescription?

Vladimir Carrer03/20/13
1 replies

Clear Flash Ads with one line of jQuery

Few years ago I made ClipR distraction free readability bookmarklet based on jQuery. One of first things that ClipR does is trying to eliminate all Flash from the website. That is done with just one line of jQuery:

Paul Underwood03/20/13
0 replies

Encode Email Addresses With PHP

While encoding your email address will make it display correctly in the browser in the source code the email address will be encoded so that spam bots can not read the email.

Tomasz Dziurko03/20/13
0 replies

Instant AngularJS Starter – book review

Some time ago I have received an offer from Packt Publishing to write a review of their new small book about AngularJS framework “Instant AngularJS Starter“. And because I still consider myself as a AngularJS beginner, I decided to give it a go.

Paul Underwood03/20/13
0 replies

How To Create Custom Queries In WordPress

There are 3 ways you can query the WordPress database, you can use the pre_get_posts action, query_posts() function or the WP_Query class.

Eric Pugh03/19/13
0 replies

Redesigning the SmallBizContracting Homepage

The new design has a clear focus and the content is easier to understand. Hopefully this glimpse into some of the thoughts behind the redesign shows the important role that content plays in a project.

Brian Rinaldi03/19/13
0 replies

Best of JavaScript, HTML & CSS - Week of March 11, 2013

A lot of CSS tutorials and examples this week as well quite a few tutorials focused on a variety of different frameworks and libraries. Notable releases this week include YUI, Node and the new ColtJS framework.

Konrad Garus03/19/13
0 replies

Angular Tutorial Rewritten to ClojureScript

Over the last few months I learned some more ClojureScript and I finally came back to Angular. First I followed their excellent tutorial. Then I decided to rewrite it to plain Clojure and ClojureScript, and it went pretty well.

Pranay Rana03/19/13
0 replies

Store data locally with HTML5 Web Storage

Now new version of HTML5 having number of new API one of the is Storage API, which allow you to store data of use locally. Here in following post I am going to describe Storage API.

Andrey Prikaznov03/18/13
0 replies

MP3 Player with HTML5 – lesson 2

In this chapter, we’re going to move beyond the provided HTML5 controls and start using Javascript to control the audio playback.

Matt Raible03/18/13
0 replies

The HTML5 Roadshow Rocks!

In early February, as I was creating my Modern Java Web Developer presentation, I came across a training event that was similarly named.

Blaise Doughan03/18/13
0 replies

Binding to JSON & XML - Handling Collections

One of EclipseLink JAXB (MOXy)'s strengths is the ability to map an object model to both JSON and XML with a single set of metadata. I will demonstrate below with an example.

Chris Shiflett03/18/13
0 replies

XSS Is Still Tricky

This works in Safari, Firefox, Chrome, and Opera.

Allen Coin03/17/13
0 replies

Video: How to make an HTML5 video player very quickly

"I'll show you how to code a video in html 5 and put it on a webpage. Learn how to code an HTML5 video player in under 5 minutes and make it so that it plays on any browser!"

Allen Coin03/16/13
0 replies

Video: 50 performance tricks to make your HTML5 apps and sites faster

Creating high performance web apps is crucial for every web developer. Learn directly from the Internet Explorer Performance team about what actually drives performance across the web and how you can make your sites faster.

Kay Cichini03/15/13
0 replies

Example Code for a Customized RSS-Feed

A short code snippet for the customized RSS-Feed on this Google-Blogger site. I simply added the below code to a gadget to yield a tailored RSS-Feed in the sidebar. Most of the code was grabbed from the Google Code Playground.

Swizec Teller03/15/13
0 replies

Bring Ruby VCR to Javascript testing with Capybara and puffing-billy

Let’s say you are writing an application in Ruby. You are probably talking to every API under the sun and are happily writing tests to make sure your code isn’t failing.

Paul Underwood03/15/13
0 replies

Namespaces With PHP

PHP namespaces was introduced in version 5.3. Namespaces is a way of group classes together into virtual directories, the main reason we would want to do this is to help avoid collision of class names in your application.

Stephen Forte03/15/13
0 replies

AcceleratorHK Applications Open for Cohort #2

AcceleratorHK, the world’s only startup accelerator focused on cross platform mobile development with HTML5 and Phonegap, has opened its applications for cohort #2 to be based in Hong Kong.

Simon Gladman03/14/13
0 replies

ActionScript Workers Now Work Under Chrome/PPAPI

Today I am over the moon to say that ActionScript Workers now properly work under Chrome. You may need to force an update; at the time of writing, I'm on 25.0.1364.172 under Mac OS 10.8.2.

Hirvesh Munogee03/14/13
0 replies

Countable.js - A JavaScript Library For Live Paragraph, Word & Character Counting

Countable. js is a small JavaScript library which allows you to present the number of paragraphs, words and characters from a text area to any HTML element of your choice.

Gary Sieling03/14/13
0 replies


Inspired by a client project with thousands of lines of poorly structured, badly written ExtJS code, I wrote a grep implementation to recursively search the contents of Javascript variables, available on github.

Raymond Camden03/14/13
0 replies

Free ColdFusion 10 and jQuery Mobile Tutorial

Thanks to reader Mikel Shilling for pointing this out to me. The most excellent (as Bill would say) folks at FigLeaf have released a free ColdFusion 10 and jQuery Mobile tutorial.