10 tips on how to prevent business value risk
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
How would you like to view the presentation?
Getting Started with Stratos - an Open Source Cloud Platform
In today’s hyper-competitive world, later may be too late to adopt Agile development and this Roadmap for Success will help you get started. Download "Agile Development: A Manager's Roadmap for Success" now!
An excellent talk of some of the real life problems that most software shops face (even ones that claim to be on the latest and greatest). However I have second thoughts about whether a factory class should have a disposal method inside it, the analogy itself does not match. An Accord gets manufactured in its factory and then goes to a junkyard 6 years (Wait... Its a Honda, not a Dodge)... 15 years later. The factory and the junkyard have two different roles, two different responsibilities. The same analogy might not apply aptly to software, but think of it, we always fetch freshly created objects from a factory, use them deep down in the business layer and then clean them up at the place where it was last used, by invoking a clean() or dispose() or destroy() method on the created object itself. Can you let me know what are the pragmatics that you had in mind, while sending it back to the factory apart from the obvious fancy api design that it has?
It's correct to note that factories and junkyards are not the same. We are, however, slightly stuck with the factory terminology and all that the metaphor entails. The problem here is that a strict reading of the metaphor is not necessarily a good guide to where you actually want to put the roles. The consideration in question was that of symmetry and the notion that collocating creation and disposal roles in the same unit is often a simpler solution in terms of both comprehension and code. This applies to standalone factories as well as objects that adopt factory roles, such as aggregates or resource pools.
There is a subtle shift in metaphor from ownership (manufacture, own and discard) to one of borrowing (borrow, use and return), a more resource-centred view of object lifecycles, both low-level resources and domain objects that have structured lifecycles with well-defined retirement/completion events.
When it comes to addressing where the disposal role should go, there are of course two existing locations that could serve: the product and the producer. The one discussed in the talk is that of the producer, i.e., a factory disposal method. The alternative that you mention, i.e., self-disposal method, is not discussed in the talk, but is an equally valid consideration (just not the one explored in the talk). My VikingPLoP 2003 paper, "Factory and Disposal Methods" (is.gd/5gKf0) discusses both variants.
Returning to the real world we may also consider that the responsibility for disposing of the Accord should lie with the original manufacturer. Just because it doesn't at the moment, does not mean that the status quo represents the most appropriate solution!
I hope that answers your question.
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.
John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.
Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.
Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.
Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?
Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.
2 comments
Watch Thread Reply