HTML5 Zone is brought to you in partnership with:
  • submit to reddit
Chase Seibert04/03/14
2498 views
0 replies

Multi-Level Argparse in Python (Parsing Commands Like Git)

It’s a common pattern for command line tools to have multiple subcommands that run off of a single executable.

Raymond Camden04/03/14
3266 views
0 replies

AngularJS Tip - Avoid Multiple Variables in ng-src

In this article, Raymond Camden provides Angular.js users with a succinct and easy way to avoid multiple variables in ng-src.

Hirvesh Munogee04/03/14
1516 views
0 replies

Chance.js – A Utility Library To Generate Anything Random For JavaScript

Chance.js is a JavaScript library for generating random data, be it numbers, strings, boolean, etc. The library was written to alleviate the monotony of automated testing, which needed randomness. However, you can use Chance.js for all your other random needs.

Ariya Hidayat04/02/14
3162 views
0 replies

Nashorn: The New Rhino on the Block

The most recent Java 8 release came with lots of new features, one of them is the brand-new JavaScript engine to replace the aging Rhino. This new engine, called Nashorn, is high-performant and specification compliant. It is definitely useful whenever you want to mix-and-match your Java and JavaScript code.

Kon Soulianidis04/02/14
2393 views
0 replies

Introducing Frankenstein.js: Backbone + Angular + React

It turns out that the modern JS frameworks work perfectly well together. Want to put an Angular controller inside a React component? No problem! An Angular directive inside your Backbone view? Sure!

Evert Pot04/02/14
1253 views
0 replies

PHP 5.5.10 Timezone Handling Changes

PHP 5.5.10 got released a few weeks ago, and among other things, it added some new functionality related to timezone handling. The sabre/vobject project is a heavy user of timezone-related features, and unfortunately this introduced a few subtle bugs.

Tim Millwood04/01/14
5207 views
0 replies

Deploying Drupal to heroku

Although not advised, it's actually possible to get Drupal up and running on Heroku.

Mike Driscoll04/01/14
4469 views
0 replies

Python 201: Decorators

Python decorators are really cool, but they can be a little hard to understand at first. A decorator in Python is a function that accepts another function as an argument. The decorator will usually modify or enhance the function it accepted and return the modified function.

Hirvesh Munogee04/01/14
3262 views
0 replies

SUIT CSS – CSS For Building Self-Contained, Composable, Configurable UI Components

SUIT aims to loosely couple document semantics, presentation, and behavior so as to be able to modify any one of them with minimal impact on the others.

Itamar Syn-hershko03/31/14
3319 views
0 replies

The Ultimate Web-Frameworks Rundown - Part 1 - Introduction

This post is the first in a series of posts in which I will look at web frameworks in the .NET and Java space (probably with more focus on .NET), both in practical terms and also to discuss the ideas behind them.

Sarah Ervin03/30/14
3348 views
0 replies

The Best of the Week (Mar. 21): HTML5 Zone

Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Mar. 21 to Mar. 27). This week's topics include a discussion about "black magic" in Angular.js, testing API's with Node.js, using JavaScript with ADF to create navigation timing API, and adding images to a GitHub wiki.

Matt Farina03/28/14
5027 views
0 replies

Converting Markdown to PDF with PHP

While some will argue that PDFs are dead, many of us still need to produce PDFs for one reason or another. Despite the quirks, the author was able to write a conversion script that handled dozens of documents quickly.

Mike Hadlow03/27/14
4201 views
0 replies

How To Add Images To A GitHub Wiki

Every GitHub repository comes with its own wiki. This is a great place to put the documentation for your project. What isn’t clear from the wiki documentation is how to add images to your wiki. Here’s my step-by-step guide.

Yashwant Golecha03/26/14
3619 views
0 replies

Using JavaScript with ADF to Capture Page Load Time : Navigation Timing API

Performance Improvement is an integral part of any application and all of us need to do that at some point of time. Before improving performance, we need to find the possible causes of performance bottlenecks.

Dustin Marx03/26/14
1805 views
0 replies

Video Review: jQuery UI Development

The video course provides a high level overview of jQuery UI along with enough details to present a representative sample of the types of things one can do with jQuery UI and the basic patterns used to apply jQuery UI.

Raymond Camden03/26/14
927 views
0 replies

ColdFusion, Random Numbers, and Time

As a long time computer programmer, I have a vague idea of the intricacies of random number generation. Apparently it involves quantum states, time travel, and zombie kittens.

Niels Matthijs03/25/14
1362 views
0 replies

Component Complexity Part2: html variants

The problem with these structural html changes is that they impact the way css and javascript work and they might even carry some design impact too (in case of the different link options).

Hirvesh Munogee03/25/14
1870 views
0 replies

Chart.js – A JavaScript Library For Easy Graphs For Designers & Developers

Chart.js can display your data in form of line charts, bar charts, radar charts, pie charts, polar area charts, and donut charts. The library uses HTML5 Canvas to display the graphs and has polyfills for IE7/8.

Sarah Ervin03/24/14
19561 views
5 replies

The Unstable Future of Angular.js

Google's overwhelmingly successful dynamic HTML enhancement, Angular.js, has a flaw that could limit the platform's longevity.

Alexander Beletsky03/24/14
4395 views
0 replies

Testable API's with Node.js

I think dynamic languages such as JavaScript are great for testing API’s. Having no types eliminates “model-per-response” classes, request.js is great for making HTTP calls and mocha makes specifications output looks nice. Node.js makes test-first API development a nice and pleasant thing.

Nikos Printezis03/24/14
1688 views
0 replies

AJAX with JQuery

Now that Visual Studio 2010 has JQuery embeded, the author thinks it is time to have a look at how we can use Ajax with JQuery.

Sarah Ervin03/23/14
6274 views
0 replies

The Best of the Week (Mar. 14): HTML5 Zone

Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Mar. 14 to Mar. 20). This week's topics include a solution for creating nested layouts in HarpJS, PHP 5.6 and Splat interactions, and how to display popup information using jQuery.

Ben Teese03/21/14
4833 views
0 replies

Rich Object Models & Angular.js: Memoization

In this post I’m going to talk about expensive calculations in rich object models – be they hidden behind getter methods or just regular methods – and how we can use memoization to reduce the impact that these calculations have on performance.

Raymond Camden03/21/14
2248 views
0 replies

Interesting Discovery with CasperJS, jQuery, and Transitions

CasperJS is a testing utility for PhantomJS, a headless Webkit browser. This is probably unfair, but I like to think of Casper as a super powered Curl. But unlike Curl, CasperJS (and PhantomJS) can actually interact with the results like a real browser. This allows for some cool testing/utilities.

Paul Hammant03/21/14
1680 views
0 replies

Angular Inside SVG Inside HTML

SVG embedded inside HTML, appears to simply extend the grammar of HTML, and perfectly co-exists in the DOM. Angular can latch on to that and work with it.