HTML5 Zone is brought to you in partnership with:
  • submit to reddit
Dave Bush08/25/14
1126 views
0 replies

JavaScript Performance Tweaks

So, I started reading High Performance JavaScript recently and I thought now might be a good time to give a summary of what I’ve learned so far. Up until recently, I wasn’t all that concerned about performance.  But last year I started working...

Lorna Mitchell08/21/14
1792 views
0 replies

Running Multiple Versions of PHP

When I advise people about upgrading their PHP version, I say things like "just run your test suite with the new version" "just grab the new version and try your site with the built-in webserver". A couple of people recently have asked for more detail on how to actually achieve these things so here's a quick primer on getting new PHP without touching anything to do with your existing PHP installation.

Paul Underwood08/21/14
1870 views
0 replies

Add Custom User Fields To User Profile Page

In a previous article I explained how you can modify the contact information on the WordPress User profile page, but what if you want to know more custom information from the user that requires more that just a text field.

Michael Crump08/21/14
3938 views
0 replies

My Angular App is Broken after Upgrading to the Latest Beta

I have been experimenting with AngularJS for a couple of months. After upgrading to 1.3.0-beta.18, I noticed the following code didn't work. I was previously using the latest stable build which is 1.2.22 as shown below:

Sagar H Ganatra08/20/14
1409 views
0 replies

Lazy-loading AngularJS components using Providers

I've been working on an Angular project for sometime now and I usually run across issues when building the application. The 'resolve' property in Angular can be used to resolve services but essentially it's a promise object that gets resolved.

Jeremy Likness08/19/14
1736 views
0 replies

Using AngularJS to Extend Your Code Quality

The AngularJS API provides a function named extend that can help improve your code quality and efficiency. I always look for ways to improve quality, increase efficiency, reduce risk and eliminate ritual and ceremony when I am developing software.

Ariya Hidayat08/19/14
3141 views
0 replies

PhantomJS 2 and JavaScript Goodies

As I mentioned in my earlier blog post, we are now working torward stabilizing the development version of PhantomJS. One thing I would like to elaborate here with respect to the features of this forthcoming PhantomJS 2 is its improved JavaScript support.

Oliver Hookins08/19/14
844 views
0 replies

The Learning Gap in Deploying JavaScript Apps

I’ve recently been building a website using lots of client-side Javascript and relatively minimal CSS and HTML. An email alerted me to the existence of a Berlin-based Famous framework meetup, which initially made no sense to me, but after I checked out the actual framework website, my interest was piqued.

Rahul Rajat Singh08/18/14
1316 views
0 replies

BackBone Tutorial - Part 4: CRUD Operations on BackboneJs Models using HTTP REST Service

In this article we will discuss how we can perform CRUD operations on a backbone model using a REST based HTTP service.

Ajitesh Kumar08/18/14
4881 views
0 replies

Hello World with ReactJS: Code Example

This article represents code examples and high level concepts on React.js, a javascript library for building user interfaces, being developed by Facebook Engineers.

Jeremy Likness08/16/14
5138 views
0 replies

AngularJS Quick Tip: Counting Watches

Sometimes, for troubleshooting purposes, it is important to understand how many watches exist in an Angular app. You may be surprised to find that in certain scenarios, you are generating many more watches than you anticipate.

Paul Underwood08/15/14
1854 views
0 replies

Convert Image To Data URI With PHP

One of the easiest ways to speed up your page loading times is to reduce the amount of HTTP requests that your website makes, because each time your webpage needs to fetch an external resource such as a CSS stylesheet, a Javascript files or images it will make a HTTP request to the server.

Ajitesh Kumar08/13/14
3077 views
0 replies

AngularJS Interview Questions: Set 2

This article presents another set of 10 interview questions for you to try your understanding of AngularJS fundamentals. You may find some of them to be tricky ones. These questions primarily focus on the angular application initialization process.

Raymond Camden08/13/14
2573 views
0 replies

Centering a Google Map on America

Earlier this morning I was building a Google Map demo for a client and I needed to center a Google Map on America. There are a couple ways of doing this and I thought I'd share them along with some screen shots so you can see the results.

Dustin Marx08/13/14
2076 views
0 replies

Book Review: Creating Flat Design Websites

Creating Flat Design Websites introduces the concept of flat web designs and provides descriptions, code examples, and visual examples. This relatively short book provides a nice introduction into what constitutes flat design and how the reader can begin creating his or her own flat design websites.

John Sonmez08/09/14
4171 views
7 replies

Why I am AGAINST Net Neutrality

Net neutrality is this principle that says internet service providers should treat all data on the internet equally. I actually like this idea; I agree with it. But, I am not in support of sacrificing one entity’s freedom for the “greater good” of the rest of the world. Freedom is freedom.

Rahul Rajat Singh08/08/14
1989 views
0 replies

BackBone Tutorial - Part 3: More About Backbone Models

In this article, we will look at some more concepts related to backbone models. We will try to see how we can override the default model behavior. We will look at the signification of model IDs, how we can validate a model and finally how a model can be persisted either locally or on a server.

Arvind Bhardwaj08/08/14
1120 views
0 replies

Inheriting Views in Backbone JS

BackboneJS provides an awesome technique for structuring our application code. And RequiresJS makes it modular. So we can write separate modules for each HTML block on our page.

Robert Diana08/08/14
1349 views
0 replies

Geek Reading August 7, 2014

These items are a combination of tech business news, development news and programming tools and techniques.

Paul Underwood08/07/14
1611 views
0 replies

Debugging In WordPress

Debugging your website is very important for any project, you will need to be able to debug your site in all the difference environments from local to live. But depending on the environment, you will want to debug in different ways.

Troy Miles08/07/14
2940 views
0 replies

Ten Groovy Little JavaScript Tips

I gave this talk last year and it is still valid information. The best part is that the tips are quick and easy.

Alec Noller08/06/14
10857 views
0 replies

The Best of DZone: July 29 - August 5

If you missed anything on DZone this week, now's your chance to catch up! This week's best include the ultimate guide to Java 8 features, a beginner's guide to JPA/Hibernate entity state transitions, when to dump Scrum for Kanban, and more.

Ajitesh Kumar08/06/14
6205 views
0 replies

AngularJS Interview Questions: Set 1

The article lists some of the interview questions that could be asked in relation with AngularJS. For example, what is the notion of directives in AngularJS, explain how MVC is achieved with AngularJS, what is two-way data binding, and more.

Ronak Khunt08/05/14
726 views
0 replies

Using Templates in Django: Part 3

In this post we are going to see how we can use Templates in Django to render HTML code on a web page. Initially we hard-coded the HTML part in views (views.py).

Krzysztof Kotowicz 08/01/14
5868 views
0 replies

JS crypto goto fail?

Javascript cryptography is on the rise. What used to be a rich source of vulnerabilities and regarded as "not a serious research area", suddenly becomes used by many. This article is a long, passionate discussion about JS crypto.