Feeds

The 'f' in framework

Now we know what it stands for ...

Combat fraud and increase customer satisfaction

Comment There are but 10 types of people in the world. Those who understand the binary numbering system and those who don't. Sadly, I think that's probably the funniest programmer joke I've ever heard. Underlying it, however, is something that has important ramifications in the world of software development - the tendency for human beings to divide everything in the world into categories.

This tendency toward classification is not a bad thing and is, indeed, necessary. It is the very basis of inference. We need to have labels for groups of things so that we can make decisions more easily and make use of the inference engine we carry around in our skulls, the brain. If we classify foodstuffs into edible and poisonous categories it becomes much easier to say, "don't eat anything poisonous" than to list each individual poison in our warning. Similarly, we can define geographic locations as safe to visit or dangerous; fertile or barren; etc, etc.

It's not difficult to see the benefit of this ability and it’s part of our evolutionary make up, which is probably why we are always so keen to practice it even when its use is inappropriate.

You'll all be familiar with the situation at the beginning of a project, when the customer has outlined his requirements and we're discussing how to carve them into stories. It's just about then that someone opines, "The objects in this system all belong to the same category and must, therefore, form a class hierarchy". Then the dreaded 'F' word appears; "we need to build a framework!" is the cry, and from then on the discussion turns to what other objects will be required to interact with our class hierarchy. The next thing you know, we've moved onto design patterns and object models.

Interspersed with the talk of relationships and attributes are the promises of economies of scale gained by having all objects seen as equal by the framework allowing the same code to handle all cases and situations. The 'F' in framework stands for faster development, I've been told.

Promises of extensibility also abound, simply plug your new subclass in and the framework will manage it in just the same way it manages all the other classes in the hierarchy, because they are all related there are no modifications required. Future-proof and flexibility are what the 'F' stands for now.

Six months down the line though, we're wondering why our three-month project isn't finished yet. Each new piece of functionality takes forever, amendments cause so much pain and the whole team is demoralised, wondering how we got to here from our much-lauded framework. So now the 'F' stands for failure! Where did we go wrong?

High performance access to file storage

Next page: Related link

More from The Register

next story
Android engineer: We DIDN'T copy Apple OR follow Samsung's orders
Veep testifies for Samsung during Apple patent trial
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Microsoft lobs pre-release Windows Phone 8.1 at devs who dare
App makers can load it before anyone else, but if they do they're stuck with it
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
Windows XP still has 27 per cent market share on its deathbed
Windows 7 making some gains on XP Death Day
Internet-of-stuff startup dumps NoSQL for ... SQL?
NoSQL taste great at first but lacks proper nutrients, says startup cloud whiz
Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
Pre-Update versions of new Windows version will no longer support patches
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.