Book a Demo

Author Topic: Full, real-life example?  (Read 14123 times)

prisz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Full, real-life example?
« on: February 23, 2005, 05:53:11 pm »
I wonder if there's a full modell (+associated code)available somewhere, resulting from a [glb]real-life project[/glb], no matter how small or big it is, no matter what application it is.
My point is that the model should be worked out to the last details and code (in any supported language!) should be produced from the module in a round-trip way.  I think I could learn better from such a thing than the half-worked EAExample.   ::)

Thanks a lot in advance if you have such a thing or you can point me to the right URL...  :-*

Best regards,
 Miklós

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Full, real-life example?
« Reply #1 on: February 24, 2005, 01:46:46 am »
You're right - I think a real "EAExample" would be a useful addition.

Although EAExample is an good example of some of EA's features, it is not a good fully-worked-out UML model, and that is what would benefit many newcomers to EA - and UML, for that matter.

One difficulty of course is the degree of flexibility in people's interpretations of UML. Some (Agile ;-) people tend to a minimalist approach. Others from a more methodological background like to have everything nailed down.

prisz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Full, real-life example?
« Reply #2 on: February 24, 2005, 10:41:27 am »
Well, I meant the "maximalist" approach instead of the "agile" (=lazy  :P) one...

I hope very much someone will be kind enough to share a fully worked-out model of any complexity and/or size.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Full, real-life example?
« Reply #3 on: February 24, 2005, 12:54:52 pm »
UML is not a process just a toolset.  You need to apply it to your environment.  Therefore, there really is no way to provide a real-life example.   It would be like telling everyone how to write a Word document using only one example.

prisz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Full, real-life example?
« Reply #4 on: February 24, 2005, 01:18:48 pm »
Yes, I understand UML is a language and EA is the typewriter you write your short story with in that language.  ::)

So show me a well-written, complete (metaphoric) short story, as opposed to an excerpt only, written with this particular word processor.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Full, real-life example?
« Reply #5 on: February 24, 2005, 02:16:18 pm »
I have yet to see a real life beginning to end software development project that has been done 100% and exclusively in one tool - no matter how good it is. EA included.

I doubt whether you would "learn better" from such a model anyway.  As you say, UML is a  language.  The use of UML is to communicate unambiguously the matters of a particular project in a particular environment.  As such, the nuances of a "complete" model will only be understandable by someone in that environment.

Consider, for example, a project in a strict environment with plenty of architectural and development rules.  The "Log In" use case in projects done in this environment will consist of one sentence - "Use the corporate standard log in".  I know this is a banal example - but on every project you will find at least one similar example of a reference to a "well-known"  factor of that environment.

Further, economic and other considerations and weights placed on projects often preclude completion of a model -  whether or not "agile" techniques or full UP is applied. The models are used to solve problems and resolve communication discons - not to document the obvious.

Finally, the structure of the model or models used in a project are particular to the specific culture of the environment and for one uninitiated in that culture such a structure would be IMO a hinderance rather than a help in understanding the principals of UML usage.

Anyway , I wish you luck in your search.
Bruce

... or in other words, showing you a complete cadaver of an 80 year old is unlikely to help you understand their psychology.

... here's another thought.  As an exercise, model the login use case of your choice completely.  See how the requirements fit to it, follow it through to code generation and then, only then,  search these forums for "Log In" and "airline".  I reckon you'll get a better learning experience that way that trying to decipher other projects.
« Last Edit: February 24, 2005, 02:28:39 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Full, real-life example?
« Reply #6 on: February 24, 2005, 02:28:26 pm »
There are some books out that try and explain this problem from the authors point of view.  I like Craig Larman's "Applying UML and Patterns".  He does have examples at every step of a typical development process.  But, there is no way a single EA example could possible communicate the same information that is in the book.  There are just too many interpretive concepts and opinions discussed.

prisz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Full, real-life example?
« Reply #7 on: February 24, 2005, 03:35:30 pm »
Well, I think I comprehend what both of you are saying.
Nevertheless I still think that a more complete version of EAExample or a copy of an .eap file
resulting from a successful "begin-to-end" UML-based software project would be instructive.

And when it comes to books, I'd say I used to make the big mistake of buying Grady Booch's classic book (from my point of view ;) )
Fortunately I undid this by buying  "UML" by Benett et. al. from the Schaum's Outlines series. :)
I wish either of the fully worked-out examples from this book were implemented by someone with EA.
Maybe I'll get down to doing this...but until then "Anybody out there with a complete real-life EA model they are willing to share?"  :P

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Full, real-life example?
« Reply #8 on: February 24, 2005, 04:18:45 pm »
I'm not sure if your mythical real-life example will ever surface, because commercial software companies (ourselves included) aren't going to give away such trade secrets, and hobbyists (who can afford to be far more generous with the fruits of their labours) are typically less rigourous in applying strict methodologies.

However, if anyone does have such an example that they want to show off to the World, we would be more than happy to post it up somewhere on our website. Just get in touch!

Neil


(PS I think I have at home a full worked example from a training course several years ago that I might have a go at typing into EA one day, if I can find it. No promises, but.)
The Sparx Team
[email protected]

prisz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Full, real-life example?
« Reply #9 on: February 24, 2005, 04:55:39 pm »
Yes, Neil,  actually I  guessed this is what the "real answer" is...  8)

I understand you make no promises since this could be a tedious thing indeed ... but anyway, thanks a million in advance.  :)
I do think that EAExample just doesn't do justice to the best CASE tool I've encountered so far, including the much-touted Rational Rose.

Best,
  Miklós

ronnie

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: Full, real-life example?
« Reply #10 on: February 12, 2006, 10:28:16 am »
Quote
I do think that EAExample just doesn't do justice to the best CASE tool I've encountered so far


Agreed - the UML is something that has varying interpretations and features within EA have Sparx's spin on them - there are times when I yearn fro something that helps to show EA's perspective in a particular instance - a guide for common process patterns within the tool.

Things that spring to mind are:

  • The concepts behind the relationship matrix and other features designed to help one traverse the dependancies of a model.

  • How the testing entries all fit together

  • Good model structure - goodf practices for packages and sub-diagrams and sub-objects.


I'm sure there are plenty - but each time there is going to be a UML task around which the explanations / examples will hang so you would get the best of both worlds.

Ronnie
Ronnie

derek73

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Full, real-life example?
« Reply #11 on: February 13, 2006, 02:53:21 am »
What I wouldn't mind is a simple overview of several possible angles of attack to drafting a software project.  I'm by no means new at development, but I usually write out what I want to do in text and go from there. This has been sufficient until this year, when I worked myself into designing and deploying a framework.  I've read GOF design patterns and memorized the ones I need, written down way too much design theory, and haven't slept very much in over a month getting this thing hammered out.

I started with a class diagram which actually demonstrated several flaws in my design to myself, which allowed me to rethink it.  But I found recently that begining with a Sequence diagram might be the way to go, to show interaction between objects and also provide a nice outline of flow.

Then again, I could start with the use cases, but a framework is bloody abstract, and diagraming the variety of possible inputs gets dicey; that leaves me with taking it up to a 10,000 foot view.  Eventually, however, those use cases come back down to the same detailed class diagrams.

So you see, my predicament is really figuring out the best method to approach piecing together the framework (I don't even need every attribute plotted, I just need the layout to promote extensibility).  It's a "where do experienced CASE/OOP designers typically start, and what do they do second, and what's the last thing they do?"

I can see the value in creating your classes first within the model view if you already know the major ones, and then dragging them into a diagram later.


Mitch

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Full, real-life example?
« Reply #12 on: February 13, 2006, 07:26:41 am »
Quote
What I wouldn't mind is a simple overview of several possible angles of attack to drafting a software project.  I'm by no means new at development, but I usually write out what I want to do in text and go from there.

I'm in a similar situation and have similar feelings about how to get started. I've given up finding a real life example provides an approach for my particular development environment (15 devs, C#, enterpise or workgroup type app that is somewhat customized for each client).

So I'm reading what's available (about UML), and sending sparxsupport frequent questions (about EA). As someone else said, it's like learning a language, and the best way to learn is to move to a country that speaks that language. Unfortunately, clients have delivery deadlines which means time to REALLY learn the language is time I can't spend on one project.

Assuming I become fluent in UML, what benefit does it even have? Save time? Fewer bugs? Happier users?

Doesn't seem like any of the college kids come out of school fluent in UML either - which also makes me wonder...

Mitch

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Full, real-life example?
« Reply #13 on: February 13, 2006, 07:34:11 am »
Derek;

It may be too soon for you to be using UML.  I'd suggest you continue working on writing a textual document that defines your domain, the underlying theory of how it operates and the policy decisions you and your management are making to remove alternative ways of approaching the domain.  Writing such a document will get you thinking deeply (and abstractly) about your domain issues and what you want to do about them in the framework.  You might find advantage if you think of the framework as being the implementation of integrated and unified domain policys, and not just a collection of useful objects and methods.
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: Full, real-life example?
« Reply #14 on: February 13, 2006, 12:30:46 pm »
Quote
...

A bit like the proverb: "Computers help us solve problems we wouldn't have without computers"

I'm not able to tell whether UML brings a real advantage to me. However, it is a language and you can communicate with people that also speak that language - better at least than using hands and feat. Still you have the same problem as with natural languages: your own abstraction must not be the same in someone else's mind. I just guess that communication is better than using prose :-/

What I can tell for real is, when using EA you have the advantage of not loosing valuable information throughout the SW development process. You can trace each and every requirement to the last component. All in one tool and in a Unified language.

Others might have different opinions.