• submit to reddit
Rob Allen01/04/12
4795 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
3300 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
6131 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
3104 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
16579 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
12173 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
6962 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
31327 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”.

Gonzalo Ayuso01/03/12
4452 views
0 replies

Working with clouds. Multi-master file-system replication with CouchDB

When we want to work with a cloud/cluster one of the most common problems is the file-system. It’s mandatory to be able to scale horizontally (scale out). We need to share the same file-system between our nodes. We can do it with a file server (samba...

Michael Foord01/03/12
2964 views
0 replies

Sphinx doctests and the execution namespace

I've finally started work on the documentation for mock 0.8 release, and much of it involves converting the write-ups I did in the blog entries. The mock documentation is built with the excellent Sphinx (of course!) and as many as possible of the examples in...

Giorgio Sironi01/03/12
10213 views
4 replies

TDD for multithreaded applications

This article describes some practices for test-driving multithreaded and distributed applications written in Java. The example I worked on and we will use is a peer-to-peer application composed of many Nodes (clients) and of a few Supernodes (servers).The...

Giorgio Sironi01/02/12
3933 views
0 replies

Practical PHP Refactoring: Pull Up Constructor Body

After Pull Up Field and Pull Up Method, we explore today the last of this category of refactorings: Pull Up Constructor Body.The scenario consists of a series of constructors that contain duplication, and are spreaded among a few classes having a common...

Axel Rauschmayer01/02/12
1710 views
0 replies

The multiple roles of JavaScript objects and arrays

Both objects and arrays play multiple roles in JavaScript. This blog post explains what those roles are.

Mitch Pronschinske01/02/12
5585 views
0 replies

Solr on EC2

"Cloud computing" is all the rage recently, and Amazon's EC2 is one of the major players. The idea of spinning up a new instance of Solr in...

Eric Genesky01/02/12
1147 views
0 replies

An Informative PHP and MongoDB Slideshow

Derek Rethans maintains a PHP MongoDB driver for 10gen.  In this slideshow, he describes some of the nuances of MongoDB, with plenty of useful script.  Check out these sample screenshots, and then link to the slideshow here and below.