• submit to reddit
John Esposito01/04/12
2544 views
0 replies

Placate Impatient and Curious Users with HTML5 progress and meter Elements

HTML5 gives developers new powers, but also makes old tasks easier. Much debate among the standards-makers tries to define the fine line between 'convenient' and 'too particular', and 'a large set of reasonable use-cases' now functions as WHATWG's most...

John Esposito01/04/12
3047 views
0 replies

Video: HTML5 for Silverlight Developers

In this video, Giorgio Sardo explains which HTML5 features resemble which Silverlight features, and how a Silverlight developer can transfer his or her Silverlight skills to HTML5 most effectively.(Note: the embed below is in Silverlight, which I assume you...

Rick Copeland01/04/12
10011 views
3 replies

MongoDB's Write Lock Performance: 1.8 vs. 2.0

MongoDB, as some of you may know, has a process-wide write lock. This has caused some degree of ridicule from database purists when they discover such a primitive locking model. Now per-database and per-collection locking is on the roadmap for MongoDB, but...

Niels Matthijs01/04/12
3756 views
1 replies

Google and Microdata / Stealing Your Content

Not too long ago I wrote about the real-life use of html5 microdata and how it takes us one step closer to the ideal of a semantic web. While I'm still pretty excited to see the web expand in this direction, there is at least one serious bump in the road...

Giorgio Sironi01/04/12
3655 views
0 replies

Practical PHP Refactoring: Push Down Method

In the scenario of today, some logic is in a superclass of a hierarchy, modelled as a method. However, this method is only useful for one of the subclasses in the hierarchy. The proposed solution is to push down the method in the chosen subclass until each...

Gerd Ziegler01/04/12
1612 views
0 replies

Clean Up Your JavaScript with ztemplates and jQuery

When writing webapps that make heavy use of javascript it gets hard to keep track of the javascript used, especially when the webapp loads content dynamically like in AJAX applications. The problem is that every container page has to be aware of the...

Chad Lung01/04/12
22651 views
2 replies

A simple Node.js web application that uses Mongoose, Express and MongoDB and returns JSON

Today I’m going to show you how to build a simple application that uses Nodejs, Mongoose, Express and MongoDB that will persist some data and get it back. It will also have a simple configuration file so I can configure my routes in Express.

Rob Allen01/04/12
4761 views
1 replies

Sublime Text 2 Snippet for PHP getter and setter generation

I've been playing with Sublime Text 2 recently and have quite enjoyed how quiet my ageing laptop is when the fans aren't running due to a Java-based IDE. As with a lot of editors, Sublime Text supports snippets which are essentially text expansions of a...

Brian Swan01/04/12
3286 views
1 replies

Automating PHPUnit Tests in Windows Azure

To start the new year off, I’d like to follow up on a couple of posts I wrote last month: Thoughts on Testing OSS Applications in Windows Azure and Running PHPUnit in Windows Azure. In this post, I’ll show you how to deploy your PHPUnit tests with your...

John Esposito01/03/12
6112 views
0 replies

JavaScript to Impress: Awesome Presentation Framework in CSS3

Back when I TAed for a class on computers and society, I noticed that student presentations were a lot less boring than usual -- in part because many of the undergraduates took advantage of prezi.com's slick animated presentation app, rather than a simple...

John Esposito01/03/12
3092 views
0 replies

HTML5 Browser Accessibility Comparison

As the web becomes more and more interactive, developing for accessibility becomes more and more complex.In the past, web developers had to worry relatively little about accessibility: when markup did little more than tell the browser how to format text, the...

John Esposito01/03/12
16516 views
0 replies

HTML5 Animation: Examples and Code from Simple to Complex

Deep down, animation in HTML5 isn't fundamentally different from any other kind of computer graphics programming. You use math to describe objects, and then to describe alterations of those objects. In HTML5, you'll be doing these calculations in JavaScript,...

Stoimen Popov01/03/12
12097 views
2 replies

Algorithm of the Week: Interpolation Search

I wrote about binary search in my previous post, which is indeed one very fast searching algorithm, but in some cases we can achieve even faster results. Such an algorithm is the “interpolation search” – perhaps the most interesting of all searching...

Sachin Khosla01/03/12
6876 views
0 replies

How to: Create a new WordPress user using a PHP function

It’s pretty easy to manage users in WordPress when you are logged into WordPress Dashboard as an Administrator. But what if you want to create a user via a PHP function? The method which we are going to discuss is useful when you are creating a plugin or...

Gordon Dickens01/03/12
31266 views
24 replies

DZone Top Articles of 2011: Why Java Developers Hate JavaScript

This is the first entry in DZone's series that will revisit the top articles of 2011 throughout the month of January 2012.  As a Java developer, I used to hate JavaScript. At one time I used to say “friends don’t let friends use JavaScript”.