HTML5 Zone is brought to you in partnership with:
  • submit to reddit
Ravi Kiran04/18/14
3278 views
0 replies

$parsers and $formatters in Custom Validation Directives in Angular JS

While writing applications using Angular JS, sometimes we need to define our own validators. Custom validations in Angular JS are created as directives with a dependency on the ng-model directive. At times, key part of the validation depends on controller of the ng-model directive.

Reza Rahman04/16/14
1653 views
0 replies

JSF + AngularJS = AngularFaces?

Powered by several factors, JavaScript/rich client frameworks like AngularJS appear to be presenting a serious challenge to the server-side stalwarts of JSF, Spring MVC and the like. What will happen in the long run is anybody's guess.

Chris Odell04/16/14
1083 views
0 replies

The Hidden Value Of Custom Taxonomies

In this post I am going to talk mainly about custom taxonomies. I am also going to use the following scenario.

Ariya Hidayat04/14/14
1264 views
0 replies

Supersonic JavaScript

The topic is on changing the way we think about optimizing JavaScript code.

Bill Jones04/13/14
3323 views
0 replies

Review: Extending Bootstrap

This book has helped the author break away from a cookie cutter design and made him more comfortable with LESS and GRUNT.

Subhash Chandran04/12/14
4176 views
0 replies

StaGen: Static Site Generator in Java 8

StaGen is a static site generator written in Java 8 that supports Markdown for content, StringTemplate for template rendering, and JSON for storing configuration. This is a quick tutorial on the tool.

Nikola Poša04/12/14
975 views
0 replies

Subdomain Linking in a Zend Framework 2 Web Application

Recently, at work, the author had a requirement for serving part of the ZF2-powered website from a different, non-www sub-domain. The problem was that such a requirement meant the he needed to make all the other routes absolute.

Ariya Hidayat04/11/14
1368 views
0 replies

Tracking JavaScript Annotations

One of the interesting features of Esprima is to retrieve every comment inside a JavaScript source. Even better, each comment can be linked to the related syntax node. This is very helpful since any additional information regarding the program can be provided via the comment serving as a form of annotation.

Hirvesh Munogee04/11/14
1743 views
0 replies

Layers CSS: A Lightweight, Unobtrusive, Style-Agnostic CSS Framework

The framework comes with inbuilt CSS normalization, a fluid grid, layout tools, by default maintains native form styles, has no px definitions, no colors, no borders and no rounded definitions, and no dependencies at all.

Greg Duncan04/10/14
5720 views
0 replies

Heartbleed in Eight Minutes

But what is Heartbleed? How does it work? Why is it something that you should care about? This Khan Academy-style video tries to break it all down.

Hirvesh Munogee04/08/14
2195 views
0 replies

AbsurdJS: A JavaScript Library With Superpowers

AbsurdJS is a JavaScript library available for Node.js and the browser. It is meant to be used as an HTML and CSS preprocessor and includes a lot of mixins, a plugin architecture, dependency injection, templating and more.

Juri Strumpflohner04/07/14
3395 views
0 replies

Integrating Node.js with a C# DLL

An option that came to mind is to design the DLL as a self-contained process and to invoke it using Node.js's process api. Turns out this is quite simple. Just prepare your C# application to read it's invocation arguments s.t.

Dmitry Sheiko04/07/14
1745 views
0 replies

Enabling Templates in Client-Side JavaScript with CJSC

In spite of most server-side languages, JavaScript was not designed for templates. Yet we have plenty of template engines for client-side JavaScript now. They allow us processing templates, but what about declaring a template?

Hirvesh Munogee04/07/14
764 views
0 replies

Math.js – An Extensive Math Library For JavaScript & Node.js

Math.js is an extensive Math library for JavaScript and Node.js which comes with an in-built expression parser which can perform computations on numbers, big numbers, complex numbers, units, and matrices.

Sarah Ervin04/06/14
3303 views
0 replies

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

Make sure you didn't miss anything with this list of the Best of the Week in the HTML5 Zone (Mar. 28 to Apr. 03). This week's topics include a sneaky way to deploy Drupal to heroku, a tutorial on snazzy Python decorators, and the first installment of "The Ultimate Web-Frameworks Rundown."

Sarah Ervin04/05/14
3932 views
0 replies

HTML5 Zone Link Roundup (Apr. 5)

For a look at what's been happening outside of the HTML5 Zone, we've assembled a collection of links including those about bug removal in Angular.js, a look at the fascinating Macaw framework, and several updates on the Mozilla CEO controversy.

Marjan Nikolovski04/05/14
2125 views
0 replies

Optimize Your WebApp Like a Pro: ASP.NET MVC Boilerplate

In order to exceed our customer expectations we might need to go one step further toward optimizing what we’ve developed so far, or even better, to develop our next web application with optimization practices in mind.

Raymond Camden04/04/14
1560 views
0 replies

Adding an Absolutely Positioned Header to Reveal.js

The author is a big fan of reveal.js. It is a lightweight HTML-based presentation framework that just works well for him. Every now and then, though, he runs into an issue that is a bit hard to handle with it.

Gil Fink04/04/14
1928 views
0 replies

DevWeek Introduction to HTML5 Slide Deck and Demos

In this short article, the author provides links to the slides and demonstrations he used to give a talk at DevWeek.

Chase Seibert04/03/14
1706 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
2454 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
943 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
2493 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
1255 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
841 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.