Agile Modeling
The title is only partially accurate as the book covers a lot more than modeling. I know from experience that picking titles is tricky (you can't please everyone). You don't need to be a UML expert to get value of this book. Any software developer should be able to appreciate it. Modelers, software developers and Yes, managers will find this material useful. In fact you may want to buy a copy and put it on your manager's desk. This book is original and well thought out. It is also well written and very readable. I wish there were more examples of applying the different artifacts in different phases of the XP life-cycle, but there has to be room for the next edition. The depth is appropriate.
Many UP developers (and those working with other prescriptive processes) get bogged down in the tonnage of documents and artifacts that are required. They wonder if they are ever going to have time to actually write the code.
XP offers a methodology for building high quality software fast. However, many XP developers, and I've spoken to them about this very subject on many occasions, find that XP does include time to do models. This books shows how to integrate XP and modeling.
This book sets the record straight about design and Extreme Programming. Actually, Kent Beck set the record straight with the first book on XP when he said 'In the time it would take you to code one design, you can compare and contrast three designs with pictures.' Kent Beck's views were corrupted over the years for various reasons that Agile Modeling explains, as it clarifies once and for all the relationship between XP and modeling.
The book emphasizes that you should model to understand the problems and only apply the right artifacts, i.e., that not all modeling must lead to writing code.
Despite the title, he AM book transcends just being a book on modeling; the book covers many aspects of developing software. Agile Modeling endeavors to be real. By real I mean it talks about real issues and how things are handled in the real world, not the perfect world covered by most books. For example, the chapter on documentation is an excellent coverage of the subject, but not idealized beyond all usefulness.
Like the original XP book, the AM book lists values, core principles and practices. It also adds supplementary principles like 'Content Is More Important Than Representation.' A key lesson from the book is that models are important if they help you understand and solve problems. And, models do not have to be perfect -- in fact they can be thrown away when you are done with them. After all is said and done, 'Software is your Primary Goal.'
The author, Scott Ambler is the author of numerous books (and by numerous I mean a lot) for the Unified Process, and UML. He also contributed to the Mastering EJB Book, and the Java Elements of Style book. All his work in UP seems strange since AM seems to have closer ties to XP than UP, but that is probably my own warped misconceptions of the world. Bottom line, Scott has mastered the craft of writing and I really enjoyed his writing style. The first few chapters seemed a little slow, probably because their content has been covered before in other books. The chapters on AM and XP, though, were informative and useful (as was the chapter on agile documentation mentioned earlier).
If you are doing software development of any kind, you should read this book. It is an informative and enjoyable read.
What's covered? Here are the chapter headings:
- Table of Contents:
- PART I: INTRODUCTION TO AGILE MODELING.
- Introduction.
- Agile Modeling Values.
- Core Principles.
- Supplementary Principles.
- Core Practices.
- Supplementary Practices.
- Order from Chaos: How the AM Practices Fit Together.
- PART II: AGILE MODELING IN PRACTICE.
- Communication.
- Nurturing an Agile Culture.
- Using the Simplest Tools Possible?
- Agile Work Areas.
- Agile Modeling Teams.
- Agile Modeling Sessions.
- Agile Documentation.
- The UML and Beyond.
- PART III: AGILE MODELING AND eXTREME PROGRAMMING (XP)
- Setting the Record Straight.
- Agile Modeling and eXtreme Programming.
- Agile Modeling Throughout the XP Lifecycle.
- Modeling During the XP Exploration Phase.
- Modeling During an XP Iteration: Searching for Items.
- Modeling During an XP Iteration: Totaling an Order.
- PART IV: AGILE MODELING AND THE UNIFIED PROCESS.
- Agile Modeling and the Unified Process.
- Agile Modeling Throughout the Unified Process Lifecycle.
- Agile Business Modeling.
- Agile Requirements.
- Agile Analysis and Design.
- Agile Infrastructure Management.
- Adopting AM on an UP Project.
- PART V: LOOKING AHEAD.
- Adopting Agile Modeling or Overcoming Adversity.
- Conclusion: Choose to Succeed.
- Glossary of Definitions and Abbreviations.
- References and Suggested Reading.
- Appendix A: Modeling Techniques.
Sites of interest
- The Agile Modeling site
- The XP programming site
- The Agile Alliance site
- Scott Amblers Website
- Applying XP to J2EE
You can purchase Agile Modeling from bn.com. Want to see your own review here? Just read the book review guidelines, then use Slashdot's handy submission form.
it should be done in Linux1
My problem is that I'm working as an independant contractor. And many other people work on solo projects. Most of these systems (SCRUM, Extreme, etc.) are geared towards a group of developers. It's much harder when there's only one of you.
What about techniques/systems for the 1 man show?
-... ---
Look at the fucking BN link, including a sourceid.. someone is getting commission.. what is the point in reading a review when the reviewer (or Slashdot) is getting paid for each book that is sold after reading the review? Grrrr.
What is up with the headlines today? First it's "Affective Computing," followed by "Agile Modeling." Can we expect "Attentive Debugging" next?
Karma: Good (despite my invention of the Karma: sig)
Well, hey. That's what you get when you rely no mnemonics instead of semantics. but let's go to the agile modeling web site for the definition in 25 words or less. In other words, concise. Nope. Not there. Damn, another modeling career ended tragically early.
I find that plastic models are easier, quicker and look more realistic, but wood and paper models are more satisfying to work on and give you a better sense of accomplishment.
OK, I guess I'm mostly speaking for myself and those programmers I work with, but I think many programmers have, over the years, evolved a personal set of design and modeling techniques that closely resemble what's described here. Using the unified process from the start just doesn't work for me, because it's not the way I think. I do a combination of "loose" modeling with UML, rapid prototyping to work out thorny problems, and then a complete design review to fix up the problem areas. Then repeat. Eventually, what emerges is reasonable for the time spent.
For me, XP techniques come in handy for rapid prototyping, especially the flow of ideas that come with working closely with another programmer. And the UP is good for bringing elegance to the overall design.
Finally, let's not forget the ultimate design tool for every programmer: the whiteboard. Ah, the smell of erasable marker in the morning...
Everyone knows Amazon is better. Compare:
Price at bn.com: $27.99 (%20 off)
Price at amazon.com: $24.49 (%30 off)
Buy from amazon.com
http://www.kylefreeman.com
The title is only partially accurate as the book covers a lot more than modeling.
I know from experience that picking titles is tricky (you can't please everyone). You don't need to be a UML expert to get value of this book. Any software developer should be able to appreciate it. Modelers, software developers and Yes, managers will find this material useful. In fact you may want to buy a copy and put it on your manager's desk. This book is original and well thought out. It is also well written and very readable. I wish there were more examples of applying the different artifacts in different phases of the XP life-cycle, but there has to be room for the next edition. The depth is appropriate.
Its very fascinating that this review should come out now. The entire technical competency at my new job has invested alot into Agile as one of many methodologies practiced. Yesterday some of us were having a discussion about usecases, and how they fit into the agile world, both as a consumable from the developer's view of the world, as well as from the view of User Experience and Project Management. In practice here, it seems that usecases are a very large part of the agile management style, in some cases, depending on the completeness, making it all the way to the client as a deliverable.
I shall give this a read to see what insights Scott Ambler provides.
It's that idiot who set all the mail box bombs...
we use the CLH model ... (code like hell!)
love is just extroverted narcissism
Everybody knows that the only place to find book prices is bestwebbuys.com.
Compare:
Bookpool $21.50
Vs.
Amazon $24.49
Most of the prominent SD methodologies/philosophies are "geared toward teams" because it's axiomatic that the great problem of the successful organization of software projects is related to the challenge of effecively communicating compex requirements and designs between individuals.
Now, if you're the only programmer, presumably you don't need to communicate design at all -- aside from the spectre of the future mainetance programmer.
However, there are still other project stakeholders with whom you need to communicate; managers, users, etc. So, you can pick the bits of the other methodologies that deal with effective communication between developers and the other project stakeholders. For instance, use cases and working prototypes, or XP's "planning game" may be very useful tools to help you nail down the requirements or schedule deliverables.
The most important thing though (and as an adherent of the Agile philosophy, I'd say this goes for groups of developers of all sizes as well) is to pick the bits that work best for you. What works best w/ one customer may not work at all with another. Your best bet is to develop a toolset of techniques that have been successful for you before, and to keep an open mind about what the "best way" to do things is.
My modeling endevor is to be on the cover of vouge. I'll even take my shirt off to do it.
I use IntelliJ IDEA which has insane refactoring. (I'm using the Early access preview which is even better that 2.5.2).
As some book I read put it, "refactor ruthlessly". I do. I think that's my one saving grace.
My biggest problem is that I over-engineer. Quite often I end up with a bunch of interfaces, abstract classes and implementations, where, in hindsight, something really simple would have worked just as well.
Or I end up "bending over backwards" to create more re-usable objects that are never re-used.
Object Oriented Overkill is my problem.
-... ---
or you could go to http://www.bookpool.com/.x/riiycqqu4m/sm/047120282 7 and get it for 21.50
I read this, and am still wondering what is modeling. Anybody?
My poetry site welcomes the unusual.
when there an Agile SuperModel book. Perferable with a fold out.
The Kruger Dunning explains most post on
I've visited the links on Agile Modeling, and they use the term "Modeling" over and over and over. But no place do they say what Modelling means.
Caffeinee p
Quake
Code
Caffeine
Quake
Code
Sle
Buy it from my Account instead!!!
Cheers,
Mike
www.jmagar.com
-
Patrick Stewert was not a skinhead
That's actually quite a hard one to argue, given any picture or news footage of him. Or will you put a toupe on his head for the funeral?
Henry Clay was not a fascist
There are those who believe all men should be judged equally in the eyes of the law ("justice"). These people wrote the constitution of the French Republic, the USA, etc. Then there are those who believe in removing laws which prohibit discrimination, so not all men are equal in the eyes of the law. This is one of the primary characteristics of a fascist.
You are small and fat, and we will write nothing of your death, your simple existance for which noone bothered to recognize.
The death of myself will never reach the media.
Look! You breath now, and no one cares. What difference, then, comes from your death? Perhaps just another parking space at the local supermarket.
Hm, you sound a lot like a great literary figure, how appropriate that you supported Telly Savalas.
Your post, though a troll, is a joke, as is your life.
My troll was successful. You even admit to being trolled, but you're so full of clever ideas-fuelled inspiration that you just had to reply, didn't you? Hehe.
Long live Samual Jackson, he will be missed.
His booty, like his body, will be bustin', and he will only be missed by everyone such as yourself.
Elsewhere a different subject came up. While discussing the Linux Kernel FAQ, Richard Gooch (FAQ maintainer) promised to add a link to a Free Software Foundation page describing free software. But Linus said:
Please don't.
I don't want a kernel howto quoting the FSF.
Richard replied, "It already has, for years. Like it or not, certain questions/issues *do* get raised. If the FAQ can capture at least some of these, it saves bandwidth on the list." Someone else speculated that Linus "didn't want to endorse the FSF stance that software must be ethically correct." To which Linus replied, "Right. Besides, as the whole notion of "free software" has very little to do with the kernel, please just link to some open source site. One of the more neutral ones is "http://www.debian.org/social_contract.html", for example."
HAHAHAHA! You g0t 0wned, trollax0r!
Editors... they`re coming to get you, and then you`ll get your balls to the wall, man!
. . .A rich, overtly homosexual skinhead
A homosexual skinhead? Where the fuck are you from, Mars? Next time I meet a roving band of "rich, overtly gay skinheads" (I can't stop laughing) I'll be sure to mention your name.
Great, not only is titonutz getting modded up, but he's earning money off his link too...
I'm not earning anything. I just copy-and-pasted a link from my browser to my post--no reference to myself included.
http://www.kylefreeman.com
YBHT, in a post which virtually admits to being a troll. Congrats!
I figured it was because of amazon's silly one-click patent nonsense. And www.fatbrain.com goes to bn now...
*shrug*
-beme
1971
Bookpool is even cheaper at $21.50 although the book is currently out of stock.
Don't buy it from Amazon. Hey, the boycott is still on. I'm honoring it. There's good news in the fight but it's not over yet.
Judging by the overwhleming lack of response, no one cares about agile modelling.
Thanks! Here's the rest of your comment:
XP than UP, but that is probably my own warped misconceptions of the world. Bottom line, Scott has mastered the craft of writing and I really enjoyed his writing style. The first few chapters seemed a little slow, probably because their content has been covered before in other books. The chapters on AM and XP, though, were informative and useful (as was the chapter on agile documentation mentioned earlier).
If you are doing software development of any kind, you should read this book. It is an informative and enjoyable read.
What's covered? Here are the chapter headings:
Table of Contents:
PART I: INTRODUCTION TO AGILE MODELING.
Introduction.
Agile Modeling Values.
Core Principles.
Supplementary Principles.
Core Practices.
Supplementary Practices.
Order from Chaos: How the AM Practices Fit Together.
PART II: AGILE MODELING IN PRACTICE.
Communication.
Nurturing an Agile Culture.
Using the Simplest Tools Possible?
Agile Work Areas.
Agile Modeling Teams.
Agile Modeling Sessions.
Agile Documentation.
The UML and Beyond.
PART III: AGILE MODELING AND eXTREME PROGRAMMING (XP)
Setting the Record Straight.
Agile Modeling and eXtreme Programming.
Agile Modeling Throughout the XP Lifecycle.
Modeling During the XP Exploration Phase.
Modeling During an XP Iteration: Searching for Items.
Modeling During an XP Iteration: Totaling an Order.
PART IV: AGILE MODELING AND THE UNIFIED PROCESS.
Agile Modeling and the Unified Process.
Agile Modeling Throughout the Unified Process Lifecycle.
Agile Business Modeling.
Agile Requirements.
Agile Analysis and Design.
Agile Infrastructure Management.
Adopting AM on an UP Project.
PART V: LOOKING AHEAD.
Adopting Agile Modeling or Overcoming Adversity.
Conclusion: Choose to Succeed.
Glossary of Definitions and Abbreviations.
References and Suggested Reading.
Appendix A: Modeling Techniques.
Sites of interest
The Agile Modeling site
The XP programming site
The Agile Alliance site
Scott Amblers Website
Applying XP to J2EE
You can purchase Agile Modeling from bn.com. Want to see your own review here? Just read the book review guidelines, then use Slashdot's handy submission form.
Buy them, read them, repeat them (and eat them).
This is just a rehash of the old 'good enough' and 'detailed enough' pseudo-methodologia. Software development will never attain engineering status at this rate. Just another notch in the 'mainstream' setback, a la Rational/UML/RUP.
I just wonder what Ambler means by the term 'modeling'...
If real engineers modeled like this, bridges would collapse on a daily basis, planes would fall from the sky, and the hardware that we use on a daily basis would crash and fail routinely (even if not developed by M$). We probably could not even get our cars started...
Btw, 'methodology' is the study of methods, and not a method. Next time, consult a dictionary!
Everyone knows Bookpool is the cheapest place in town.
it's not going to stop until you wise up, no it's not going to stop. so just give up.
Another methodology with a catchy name that is supposed to fix all the problems with software development but never quite does. Just what the world needs.
Yup. But you could buy it from me with this link.
1 9/ ref=pd_gw_qpt_1/104-0173505-5464702
OT:
In an Amazon URL:
http://www.amazon.com/exec/obidos/ASIN/02017109
the element right after the ASIN is the "product id", everything after that is session tracking info.
it's not going to stop until you wise up, no it's not going to stop. so just give up.
even cheaper 20.99
= 04 71202827
http://www.bookvariety.com/BookDescrip.asp?ISBN
love is just extroverted narcissism
I wish I could work with Mr. Phallen! He speaks the gospel truth.
Unfortunately, for myself and others in similar predicaments, I work with managers who could really care less about the Zen of effective programming.
Yes, I work for Corporate America.
Where innovation is another word for "troublemaker".
Where its not the quality of your work that matters but the size of your manager's budget and feifdom.
Where great ideas are met with yawns and patronizing paltry interest.
Where its not the technology that drives the boat, but the political connections and process.
Where you have serious questions whether or not you work for Damien himself.
Etc..
mje0w!!!1!
Good, finally a book that will cover how to make the transition from the runway, to the porn industry. Or did I miss something?
I know more than you drink.
you've got some good ideas, but let me point out that refactoring time is often lost to time pressure. Many times, code that is "okay" or "not so great" is sufficient (depends on environment, mind you - an Internet startup looking to get a product out versus a contract software house doing MilSpec stuff) and it is more important to get on to other things than it is to optimize and clean up. Of course, in the end, it bites you on the ass and then you have to do more painful refactoring.... but if you did it up front, you might not get to the later as your company runs out of VC....
I've also worked on complex enough systems that in order to get working even _basically_ you had to do a lot of work. Sometimes (and with some problems) there IS no convenient way to parcel it into smaller pieces and so you just have to bite the bullet, spend the time, and write the code that needs written to give you the smallest useful chunk. That can still be a fair size.
Examples I've run across that come to mind are some network related things that just don't do _anything_ till you get them right and that requires a certain minimum infrastructure.
Also, in some situations, the required effort to test jig a piece of code or to subdivide the task effectively doubles the amount of work required (or more) and thus isn't economically viable. For certain applications, the key tests are integration test results, NOT unit tests. Yes, you do leave yourself open to getting bit in the ass later... but it work a fair percentage of the time.
But, having raised those "real world" comments, I think the discipline proposed is an awesome idea!
-- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
If we're going down that path, Bookpool has it for 21.50.
I have a fantastic manager, who equates "minimal change" with "minimal risk".
So we never refactor anything, and if we're working in an area of code to add some new feature, it's forbidden to fix any old and long-standing bugs while we're there, even if doing so requires negligible effort and all of the relevant code is going to be completely retested as a result of the other work anyway. Never rework a sound design into another sound design when a smaller hack to the original will do.
Sadly, I kid you not.
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
Well I don't understand why people confuse the term "Agile" with speed. Agile development is not about speed but about change (look in any dictonary). Agile development was a kind of revolt against the heavier methodologies since they were too picky and wouldn't let you change down the road, as easily as some of the Agile methods like XP.
Now the practices proposed in Agile methods like XP might lead to a faster development but will never ever guarantee on time developement and never says snything about speed. It is all about adapting to change in requirements, situation etc.
Sorry, gotta disagree with that. In my experience, maintaining a good design always pays for itself and more, whenever you do it. I've spent months refactoring/rewriting a whole spaghetti design to clear it up. I've also walked in to help a junior colleague who'd spent a week having trouble working with someone else's serial comms code and getting nowhere tweaking it. The first thing I did was spend a couple of hours completely refactoring it into sensible layers. In the process we fixed a couple of serious bugs, and the whole development was complete two hours after that. Are you really telling me it would have paid off to leave him tweaking for another week instead, if you had limited VC funding? :-/
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
I'm only halfway through the book, but to me the book is about learning how to recoginize what modeling techniques would be most appropriate to the situation you are in - by evalutating the people and environment around you and doing what works.
Sure most of us have a set of design and modeling techiques we rely on, but this book can help judge which ones really will work with the project you're on. Even in the same company, there can be dramatic difference in what will work best on a project.
Also, I think people tie this book too closely to XP - though it does advocate some XP techniques it does not mandate all XP techniques be used on all projects. I was at a JavaOne talk on Agile Modeling, and I really wish I had read the book before I attended the session as much of the session was wasted on XP questions instead of asking more interesting question at the higher level this book covers.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
You can buy this book at Wiley (the publisher's site), and it's likely that the author will get more royalties. (in theory my contract gives me a higher percentage for direct sales, although it's unlikely my XML books would ever sell enough to get me royalties)
Liam Quin
Live barefoot!
free engravings/woodcuts
...Amazon is evil. (Except maybe you.)
They did bring it to your attention, after all. That's generally the role of sales, and in this case, an affiliate payment is certainly fair enough.
Not like it costs you any more, anyway.
What we call folk wisdom is often no more than a kind of expedient stupidity.-Edward Abbey
errant Pronunciation Key (rnt)
adj.
1.Roving, especially in search of adventure: knights errant.
2.Straying from the proper course or standards: errant youngsters.
3.
a.Wandering outside the established limits: errant lambs.
b.Aimless or irregular in motion: an errant afternoon breeze.
Perhaps you meant 'erroneously'?
erroneous Pronunciation Key (-rn-s)
adj.
Containing or derived from error; mistaken: erroneous conclusions.
I'm always amazed that computer geeks who can memorize tons of protocols and languages that basically do the same thing, can't tell two words that mean different things apart...
He was wealthy, he was gay, he was bald as an infant's ass, and he didn't like immigrants. How was he not a "rich, overtly gay skinhead"? Incidentally, the fact that such a character could be a serious politician proves how much more interesting politics can be when it isn't completely 0wned by corporations.
How many ways can you rephrase it? At least UML provided some sort of vocabulary to the design phase...so the Rational folks can at least say they forwarded the state of the art.
I started reading PSP a few years ago and found it just completely ridiculous. You're supposed to track how long it takes yourself to write common programming structures, like for() loops, and then eventually you will have a cookbook of all the common programming structures. You use this cookbook to estimate how long a project will take you (Ah, to implement this, I will have to write 3 for() loops and a switch() statement! That's a total of four hours!). After several months of gathering and analysing the data, you'll be able to estimate project time to the minute and also track your improvement.
If you are designing your code down to this level of detail, then you are finished before you start typing it. The process seems to think that programmer time is taken up by mechanical, predictable tasks. This may have been true in the days of punch cards. In modern times, all the time-consuming work is mental, and you won't know how long that takes until you've done it. Sure you can still roughly estimate how long things will take, but tracking how long it takes to write a for() loop is no help at all.
Moderators, I realize your brain says "-1 Troll", but the rapid movement of your collective right hands suggests a "+5 Informative", perhaps. ;)
Some people have asked what this modeling thing is all about; as a public service, here's the PinglePongle version.
/. thread...), and it's not uncommon to have projects with many times more paper than code.
Some academics regard the process of building software as a descent from the abstract to the concrete. Typically, it starts of with "hey, we need a thingumajig - it must streamline our widget creation process". This is usually followed up by a requirements spec which says what the thingumajig should do, but doesn't go into how should be constructed.
The next phase typically involves the developers working out how to build a thingumajig which meets the requirements spec.
Once the developers have worked out how to build the thingumajig, they start to code it; if you're lucky it gets tested and eventually it's released.
All these phases do occur, but the way in which they're executed varies enormously. Frequently, they overlap; frequently people move back and forth between the phases several times; frequently it's hard to tell which phase you're in.
Modelling general concerns mainly the "how do we build a thingumajig" design stage. A model can be anything that helps to convey the intention of the design without being actual code - a crayon drawing, a piece of prose, an email, a memo, a flowchart, a wall-sized database diagram, a haiku. There are a bunch of methodologies which adress the modeling phase, most famously the Unified Modeling Language (UML) which defines a standard vocabulary for object oriented design using around a dozen different diagram styles.
The problem with models is that they can become very cumbersome and end up leading a life of their own (here's a previous
As it goes, I believe that anyone who takes programming seriously should be at least passingly familiar with the most common modelling practices - UML use cases and class diagrams, database E/R diagrams, flowcharts; in my projects I ask the developers to model the tricky parts of the project, but only with the explicit purpose of understanding the problem better before starting to write code. You can change a model around easily and quickly - changing a class diagram to put a method in a different class takes seconds - but if you realize halfway through coding there's a better way to do it, you almost never have time to fix it.
I've ordered the book (no, I'm not going to tell you where from) - and if it's as good as Cockburn's other work, it'll be money well spent, even from bn.com !
It's all very well in practice, but it will never work in theory.