• submit to reddit
Giorgio Sironi11/16/11
3648 views
0 replies

Practical PHP Refactoring: Parameterize Method

In the scenario of today, multiple methods executs mostly the same logic: you can see a strong duplication of code between them, or identical delegation steps.These methods however, are slightly different, so much that the duplication is not obvious. In the...

Jorge Ramon11/16/11
7306 views
1 replies

Building a jQuery Mobile Application, Part 1

This is the first part of a series of articles about how to create a mobile app using jQuery Mobile. As in my Sencha Touch tutorials, what we will do in this series is create a mobile web application that allows its users to take notes and save them in the...

Mitch Pronschinske11/16/11
14117 views
1 replies

NoSQL Zone - The Sequel to SQL

Isn't it about time you had a place where you could go to get fresh news and articles focused solely on NoSQL technology everyday?Other sites may cover just one facet, or write one post every 3 weeks, but DZone's new NoSQL Zone has its hand on the pulse of...

David Pell11/15/11
2107 views
0 replies

Working with HTML5's Additions to the JavaScript History API

HTML5 has given developers greater control over browser history by expanding the JavaScript History API.  Until now, functionality included checking the length of the user's history by reading the length property, moving backward and forward through that...

Giorgio Sironi11/15/11
19078 views
4 replies

Selenium 2 from PHP code

Selenium 2, the new iteration of the end-to-end web application testing tool, contains some fancy innovations over its 1.x version: it controls browser directly via the OS, instead of generating JS commands. It's also more reliable than the 1.x as it features...

John Esposito11/15/11
7693 views
0 replies

HTML5 Full Screen: Now in Firefox

Nothing looks good surrounded by junk. Or even if the junk looks nice, it can easily distract from what it surrounds.Painters know this; many won't let anyone else else frame their paintings. App designers know this too -- but web designers are a little out...

John Esposito11/15/11
3148 views
0 replies

Video: CSS3 Secrets: 10 things you might not know about CSS3

A number of prominent front-end developers delivered helpful talks at this year's Fronteers 2011 conference in Amsterdam.In this video, Lea Verou examines some less-famous CSS3 features, and explores creative uses of more-famous but underutilized CSS3 code...

Simon Sarris11/15/11
6495 views
1 replies

How you clear your HTML5 Canvas matters

 Stop the press! As seen in jsperf, the nightly build of Chrome (14) has optimized the width-setting case and now swings heavily the other way. As with all optimizations, be sure to bench often on the platforms and browser versions you are...

Gareth Rushgrove11/15/11
3656 views
0 replies

Javascript In Your Ruby: Mongoid Map Reduce

We’re pretty fond of Mongodb at work and I’ve been getting an opportunity to kick some of the more interesting tyres recently. I thought I’d document something I found myself doing here, half hoping it might be useful for anyone else with a similar...

Daniel Gottlieb11/15/11
2374 views
0 replies

Developing (a.k.a. Testing) in Python - Part 2

In part one I talked about testing as Python’s version of compile-time checking. Fully testing a project is tricky business. This is true across languages; even advanced testing frameworks can only alleviate some problems. One particular pain point is...

Emmanuel Espina11/15/11
8686 views
0 replies

Performance of Google’s V8 Javascript engine in Solr

The use of scripting languages to add new functionality to systems is something that I’ve always found very helpful. You don’t have to download the source code of the system, if it has “scriptable” parts you can add simple functionality in minutes...

Mats Lindh11/15/11
4233 views
0 replies

Retrieving URLs in Parallel With CURL and PHP

As we’ve recently added support for querying Solr servers in parallel, one of the things we added was a simple class to allow us to query several servers at the same time. The CURL library (which has a PHP extension) even provides an abstraction layer...

Niels Matthijs11/15/11
2285 views
1 replies

Targeting base variants with CSS - a quick tip

I'm all for using classes to add extra semantics. Even with stuff like html5 microdata around it's still the easiest and fastest way to make your code comprehensible to both machines (mostly theory though) and other developers working on your html. On the...

Lynda Moulton11/15/11
5800 views
0 replies

Why is it so Hard to "Get" Semantics Inside the Enterprise?

Semantic Software Technologies: Landscape of High Value Applications for the Enterprise was published just over a year ago. Since then the marketplace has been increasingly active; new products emerge and discussion about what semantics might mean for the...

Swizec Teller11/15/11
2173 views
0 replies

Parsing JavaScript with JavaScript

Over the weekend I started working on llamaduck- a simple tool that aims to figure out whether your code will run on the newly released node 0.6.0. Eventually it might be able to perform other compatibility assessment tasks as well, but I’m focusing on...