Drupal Wishlist

Drupal has a lot of great strengths and some weaknesses

The following are the key areas of Drupal that (as a programmer) I would like to see improved.

Negative testing 

Drupal only seems to test the positive path, that is that given the right inputs you get the right results and apart from security nothing else matters.

The result of this is that incorrect inputs result in silent failures that can be very hard to debug.

Read more

Is Drupal a Standard?

I've been working in the CMS arena for 10 years, and the whole time I've been expecting one or more “industry standard” CMS's to come along, but instead we've seen thousands of competing products with almost every web agency claiming to have CMS product.

While development costs have come down a long way due to greater experience and code re-use they still haven't come down anywhere close to the level that people are used to from purchasing shrink-wrapped mass market software.

Read more

Agile Software Development with Scrum

cover of Agile Software Development with Scrum Agile Software Development with SCRUM
Ken Schwaber
Mike Beedle
* *
£40.26

buy from amazon

 

This books seems to be aimed at people who don't really know about Scrum - which seems odd given how well known Scrum has become. I guess in a way this book is a victim of it's own success.

Chapter headings like "get ready for scrum", "scrum practises" and "applying scrum" led me to think I was buying a practical , how-to book. While I do have a much clearer idea now of what scrum involves, I don't feel that at the end of reading it I would be able to run a project using scrum.

Read more

Number Crunching : Database vs OOP

For the last few months I've been working on a project that is part website and part data processing.

In theory the website is the bulk of the project, but in practice processing the data has taken a disproportionate amount of resources.

Data exchange with another organisation is always tricky - and in this case we have incoming data that doesn't conform to specification, business rules that change, and a daily data import to run.

The code I've been working on has been through a couple of versions, and now I have in mind a third

Read more

Software Estimation

cover of Software Estimation Software Estimation: Demystifying the Black Art: The Black Art Demystified (Best Practices (Microsoft))
Steve McConnell
* * * * *
£22.22

buy from amazon

 

This is another great book by Steve McConnell.

His empahsis is on large projects with thourough development processes; he gives many examples of rigorous studes that back up his advice.

If you follow all the advice in this book - you'll be able to make very accurate estimates with a clear idea of the risks involved.

Even if you don't need so much detail - the book provides many tips to greatly improve the accuracy of even rough calculations. 

Read more

Test-Driven Development By Example

cover of Test-Driven Development By Example Test Driven Development (The Addison-Wesley Signature Series)
Kent Beck
* * *
£20.04

buy from amazon

 

The premise of this book is to design organically (No grand plans).

Programming is reduced to the sequence

  • write a test
  • write code that passes the test
  • clean up that code (remove any duplication)

Much of the book is about getting into and keeping a good programming mindset - one nice tip is to always leave a failing test at the end of the day (this give you something concrete to start on the next day).

This book has changed the way I work (a bit).

Read more

Working Effectively with Legacy Code

cover of Working Effectively with Legacy Code Working Effectively with Legacy Code (Robert C Martin)
Michael Feathers
* * * *
£32.51

buy from amazon

 
While waiting for a long database import to run I've been browsing my Safari bookshelf and this book looks really good.

I haven't by any means read the whole thing - but it really seems to have answers to questions I have been asking.

The topic of legacy code is one I have worked with a lot - and it's always challenging.

This book deals well with the technical, business, emotional and social impacts of this work.
With chapter titles like

      Chapter 6. I Don't Have Much Time and I Have to Change It

Read more

Code Complete

cover of Code Complete Code Complete: A Practical Handbook of Software Construction
Steven C. McConnell
* * * * *
£29.95

buy from amazon

 

Don't buy this book!

Read more

Testing websites in IE - verions 6 to 8

When developing a website it's important to test it in as many different web browsers as possible.

If a client has a problem viewing the page there's little point saying "but it works on my machine"

I have found that the differences between different versions of firefox to be small enough that testing in one version is sufficient.

Internet Explorer is so different between versions that each target version must be tested seperately.

There is a package for multiple IEs.

Read more

Debugging Multiple Concurrent Sessions (AJAX/SOAP)

I've recently been working with AJAX and SOAP which both result in multiple sessions running concurrently.

For example if you have an AJAX progress bar for a large file upload one session is uploading the file while a series of shorter sessions check on progress and update the bar.

How to track both parts of this cleanly has had me scratching my head a bit - but the solution is fiendishly simple.

It turns out that there is a buried configuration setting in Eclipse (my IDE of choice) which allows you to debug multiple sessions.

Read more