• submit to reddit
Matt Lacey07/07/11
2563 views
1 replies

Do you want a .app domain for your app?

Do you want a .app domain for your app? This is cross posted on the WPUG blog. In 2012 ICANN will make the gTLD of .app available. As you can imagine, there is likely to be a lot of interest in controlling this due to the potential demand for such...

Gareth Rushgrove07/07/11
7125 views
1 replies

Solr Libraries and Good API Design

I’m a huge Solr fan. Once you understand what it does (it’s a search engine, which means more than you think) and how it works you spot lots of thorny problems that map to it’s features really well. In my experience it’s also very fast and very...

Giorgio Sironi07/07/11
11459 views
2 replies

The era of Object-Document Mapping

The Data Mapper pattern is a mechanism for persistence where the application model and the data source have no dependencies between each other. For example, a group of PHP classes and a relational database may be used together without having the PHP classes...

Giorgio Sironi07/06/11
5083 views
4 replies

Practical PHP Refactoring: Replace Method with Method Object

Sometimes you encounter a really complex methods, with lots of parameters. Or with many local variables: extracting further methods is really complex in this case as there are no clear boundaries between the lines of code.Ideally you'd like to refactor to...

Rafał Andrzejewski07/06/11
5677 views
3 replies

“Car sale application”– Result Grouping, let’s group some search results (part 6)

In today’s post we will try to add to our car sale application the new functionality, which allows us to group some search results. Let’s imagine a user who would like to search for “audi a4” advertisements and as a result get the results grouped...

Matthew Turland07/06/11
4362 views
0 replies

Splitting PHP Class Files

A recent work project required me to write a PHP script to interact with a remote SOAP service.

Axel Rauschmayer07/06/11
2259 views
0 replies

Comments on Jon Rubinstein’s WebOS letter

After initial reviews of HP’s TouchPad were mixed, Jon Rubinstein wrote a letter [1] to the people working on WebOS products. This post summarizes that letter and gives additional perspective.

Kin Lane07/06/11
2249 views
0 replies

Tracking Social Interactions with Google Analytics

I’m spending time this week updating my social sharing buttons, claiming authorship of my blog posts, and linking with my Google profiles.

Axel Rauschmayer07/06/11
7006 views
2 replies

The next big thing – if you look for it, you won’t find it

Especially the tech industry is obsessed with finding the next big thing. This post argues that that is usually not a smart thing to do.  

Julian Bucknall07/05/11
4455 views
0 replies

Adding sharing links to the blog–JavaScript edition

The story so far: in essence I’ve added AddThis and Google +1 support to this blog using their “simple” markup. Unfortunately, the simple way breaks XHTML validation using the W3C validator because of the non-standard attributes (addthis:url,...

Gareth Rushgrove07/05/11
9725 views
0 replies

Django Performance Patterns 1: Measuring Performance

As Django has matured it’s being used for bigger and bigger projects. At the same time it’s also being used by more and more people building relatively simple applications quickly. Everyone’s application is different, but I’d wager the vast...

Paul Stack07/05/11
6377 views
0 replies

Is WebMatrix a Threat to the Professional Developer?

I have to start by saying this post is subjective. These are my thoughts regarding WebMatrix and what I think it will do to the industry. It is not meant as a jibe against any groups and it is not reflective of my attitude towards any companies.

Giorgio Sironi07/05/11
5156 views
2 replies

Testing JavaScript when the DOM gets in the way

It's one thing to exercise a simple function or even an object graph in a controlled environment; it's another to assert the DOM is manipulated correctly: usually inside a test suite window.document is an empty one, and is shared between tests.For example,...

Gonzalo Ayuso07/05/11
1536 views
0 replies

New features in PHP5.4 alpha1

We already have the php5.4 alpha ready for testing. This new release has a few features that I really like. The lack of those features gave me problems in the past. Because of that, I’m very excited waiting for the new stable release of PHP 5.4. Now...

Giorgio Sironi07/04/11
6022 views
0 replies

Practical PHP Refactoring: Remove Assignments to Parameters

The scenario of today follows from the previous article: you're reusing the parameter variable by assigning to it a new value. This time, we focus on the parameter case, and not to the generic violence against local variables.The refactoring is about...