Thank you :) This and my OOD tutorial were my favorite tutorials to make. I'm glad you liked it
You're a walking encyclopedia, man!
You're videos are a great way to get us introduced to new topics or brush up on long seen stuff. Great job!
I'm very happy that I was able to help you :) Thanks for taking the time to say such nice things!
You're very welcome :) It makes me very happy that you find them so useful!
You're very welcome :) The UML Communication Diagram tutorial will be up in about an hour
Right now I'm working on a tutorial that will show the whole process of using UML to build excellent OO designs. You'll get it. It will just take a few extra examples. The goal is to make the programming process easy by working out all of the hard stuff in UML
If there's one thing you do well, it's summarizing these concepts in a beginner friendly way. Love your channel.
You're very welcome :) I'm glad you found it helpful
Sequence diagram is one of the best tools to understand how the system works. Really nice tutorial. Thank you.
Thank you :) Im glad I could help. Good luck on your exam
too complicated for me to understand! You could've started with an easy example and then shown this example which has everything crammed into it.
+Amodh Naik Yes, it's a good example if you already know what this diagram is about, but if you have never seen one it can get confusing
Amodh Naik . There are simpler examples at www.zenuml.com . You can even interact there. Use a desktop computer to get the best experience. Mobile also works though.
It is best to see all of the UML tools and pick which ever works best for you. I cover all of them. It is a tool you get good with over time. Once you get very used to it and OO design you'll create everything in UML and the coding will be very easy. More is in the works right now :) Look for my tutorial called Object Oriented Design
what a masterpiece you were the only one who explained that very clear, full, aproaching every item than others, thanks
Thank you :) Ill see if I can dig it up. I'll post it on the uml tutorial page when I find it. I should have it up today. I'm using the current version of UmLet
Awesome!! There is so much valuable information with precise content and clear explanation. Thanks so much for making this videos available for everyone.
You're very welcome :) I'm glad I could help
Ah, good to have confirmation from someone who knows so very much about this business. Keep up the amazing video series and I'll not only continue to lead everyone else to your superior tutorials, but I'll also keep posting with this and other wacky avatars ^.^
You Sir, are a genius. Thanks for your hard work and high quality stuff! Gonna pass this exam after all!
Thank you :) Don't worry about it. I'll leave your comment up
I'm glad you liked it :)
Thank you! Had a lecture on this today and only got half of it. I have checked out your tutorials on use case diagrams too and they have been very helpful as well. Keep up the good work!
Thanks, this is helping me put together the lectures and examples for those people who are taking the exams later on. :)
Thanks for the tutorial. I was in need of some help with UML.
Thank you, I think this is the most complete tutorial on Sequence Diagram, I could find here.
Loved your work.. Helped alot..
But have a question
1) At 8:30 par stands for parallel execution
so if there is a line in between the two interactions first checkfunds execute before savefunds
isnt that a irony for defining parallel execution?
Thanks in advance
I LOVE YOU!! I HAVE AN EXAM COMING UP and omy you made me just feel like wiz kid!
Oh no, another fight is brewing in my comments.
It is so nice to be the only guy on CZcams that doesn't sell anything. If anyone ever catches me trying to sell something feel free to hunt me down. I'm sure you guys are smart enough to find me :)
Hello Derek, thanks for all the videos! Really helping me get through uni.
I was wondering what software you are using to make your diagrams?
You're welcome :) I'm glad I could help. I'm using UMLet here. I provide a link to all the UMLet files in the description.
Thank you for excellent lessons, I have exam next tomorrow there were some confusion but luckily I found this and two previous videos. Pure and simple. Many thanks for your effort.
-best sequence diagram video on youtube .... u coverd all the aspects as well, the sequence fragments too .. !!!
- thanks : keep the good work up
Respected Derek I took some of your lectures your work is really good I appreciate and all lectures are great!
But this specific lecture is very difficult to understand, You should've started with simple diagram.
Thanks!
Thank you :) Sorry if the example didn't help. I cover sequence diagrams once again in this tutorial czcams.com/video/fJW65Wo7IHI/video.html
You're very welcome :) Thank you
I'm very happy to help :)
Its very useful. I love the way of explaining. Thank you very much.
After I finish UML 2.0 and Refactoring. It looks like Android, Games, C, etc. has won for now. I need to figure out how I will structure the tutorial. By the time refactoring is done, I'll have everything ready to go
I might have missed it but what do the boxes along the life lines mean? So in which cases exactly do you draw them there and in which cases does a life line alone suffice?
You're very welcome :)
Amazing instructional video, thanks for taking the time to do this.
I have a question, if I may. The diagrammatic blocks, linked vertically by the lifeline, that send and receive messages are different sizes. Some are little squares that only send one message and others are vertically much longer. What determines the size of those please?
Thanks.
Thank you very much :) I basically draw everything based off of what the experts say is the right way. I do my best in these tutorials to present the buy the book way of drawing sequence diagrams. i hope that makes sense.
Derek Thanks for this tutorial.I like it.Please do not be discourage about any bad comments please keep going.It is not easy to teach but i think you are doing great.
Rist Eva You're very welcome :) I'm actually pretty lucky that a receive very few negative posts. If anyone gets to angry I just delete them :D
If this tutorial is too complicated for you, then start watch the Object Oriented Design Tutorial. There Derek explains the sequence diagram by building it step-by-step. Just as a hint. =)
Of course, without any knowledge of sequence diagrams, you can hardly understand this video.
But thanks again Derek, for making my exam preparations much easier and more interesting.
Greetings from Switzerland!
hi Derek!
parallel from the name we understand that the actions accrue parallely together, not end one to start another .
So I did not under stand what did you mean.
Could you explain please or give a reference ?
Your videos are great and awesome, To be honest I get much more out of your video than the lectures at my university. I won't name it but it's top 10 here in Australia. I would make my way to class if my lecturer sounds like you xD
+ZastinHuynh93 Thank you for the nice compliment :) I'm here for free when ever you need me
Thank you . very helpful
Things I understood from this video:
- sending a signal message through a filled arrow will wait for a response
- sending a signal message through a normal arrow will not wait
- this messages can be also nested
Sequence fragments:
- are boxes that surround interactions
- they got fragment operators in the top-left corner
- optional - will run only if it fulfills a condition
- negative - will not be used
- reference - will reference to a sequence diagram and call it
- a reference sequence diagram is like a method that we can call whenever we want. But instead of "method" it is called "reference".
- loop is just a loop that will run as long as a condition is fulfilled
- loop (5) - will loop 5 times
- loop (x, y) - will loop from x to y
- par (parallel) - the interactions from it can run in the same time
- alt (alternative) - if - else statements where "if" is called "alt"
- assert - if the interactions from this fragment will not fulfill the conditions we will throw an error. Similar to Java's try-catch blocks, or throws.
- break - will break from a loop if a certain condition is fulfilled
- critical - I didn't quite get this.
- I think it is like a reverse loop (don't do this until that happens)
Time Constraints:
- the arrows are diagonal
- we will specify a waiting time for signals while calling or replying
- sending signal line will be a normal line
- respond signal line will be a dash line
Lost Message: -----------> *black hole*
Found Message: *black hole* -------------->
I found this lesson very hard for a beginner like me.
But writing these down totally helped with the grasping process.
A little advice for viewers: If you want to make these "fancy" diagrams like Derek, look at Obeo UML Designer plugin for Eclipse. BTW, Great video!
Thank you so much for these videos. Love the short, quick, get-to-the-point videos. Question on UML2 Class Diagrams (Part3). In the diagram between Dog and Animal classes, you show in one place Dog pointing to Animal and in another Animal pointing to Dog. Which is it? Does it matter? Can it be either way? Thanks again.
It is not a problem :) I don't mind if people post comments about stuff they have made, or that they like. I was just joking
That is the normal way. Understand though that even though there are many UML rules they aren't often followed in the real world. From watching this tutorial it would seem that all UML diagrams are done using software. In the real world I almost never do this stuff using software. By myself I use pencil and paper and in a team I always used a whiteboard
Thank you very much :)
Excellent videos! Ive learnt more in 12 minutes than I did all semester! Do you know of any other good resources for learning UML? Most of the textbooks I've read don't have enough examples / case studies.
Ideally I'd like one where a case study is presented, I'm given the opportunity to attempt a solution, and then possible solutions are provided.
TyrannosaurusBatman Thank you :) I'm happy I could help explain a very important topic. Nothing really stands out book wise. I learn much of this stuff and object oriented design on the job.
Thank you :)
Are the messages in the participants neccesarily static methods (if not preceded by a )?
For example, in order for Customer to call something in CardReader, it must have a CardReader object living inside it, correct?
Can you post the corresponding code to this example?
Hello Derek, When you say participant("theCustomer:Customer") invokes method "atmCardInserted(card:ATMCard)", Are you saying that, this method is part of "class CardReader"?
Thank you ! It was really helpful. Now I understand :) I'm not a native speaker, sorry if my english isn't good. Greetings from Argentina.
Nếu tất cả chúng ta sẽ lắng nghe những người khôn ngoan của cuộc sống trong quá khứ sẽ là tốt hơn cho tất cả chúng ta.Một giáo viên chỉ là tốt như các sinh viên của mình
Hi Sir, how do you abort the rest of the sequence if card pin is wrong? I see the opt guard but then the rest of flow continues, thanks
you have given a great example. But you didn't go with a flow. You forgot the sequence that makes the sequence diagram more complicated.
Hello sir, I have a question :) In STARUML Sequence diagram there is a CALL message and SEND message. Is there any differences between those two? Last question sir.. Is every message in sequence diagram need to be implemented (coded) into the application? Thanks :D
OMG another great tutorial :-)
Could you please post the link of the UMLet file source?
Or just tell me which version you use 'cause I can't find your UML élément in
mine ;-)
Thanks in advance
Hi Derek,
I believe a theory: If some one is make tutorial about something that he really is not using for a long time / for a living, he is misleading.
Since you are talking about a really a wide range of computer Languages / cookings. I thought you sucks. But you don't!
I've checked out this tutorial some years before. But didn't thought this useful / understandable. Till now, after I have tried myself declaring my guts using my "own UML" I figured out how powerfull UML is, how useful this tutorial is!
Man, you'd have to be a more grown up developer before you really can understand the beauty & power of UML, and then you can understand what Derek said here is not really that bullshit. :)
When I was first starting I also thought UML was pointless. Now I'm convinced every big project should start with UML.
amazing presentation....your voice makes me inter a flow state .....mr.derek can you please do a javaEE video or series of videos ? that would be extremely helpful
+jawhar jarrar Thank you for the compliment :) Yes after I cover JS stuff I'll make a JEE tutorial
so when do the new tutorials start? the ones from the vote.
Very much awesome tutorials.
+Derek Banas; i understand well ur concept, but it is been tough 2 me, how to represent the diagram into maybe Java code?
Question: on the "[Object Name]:[Object Type]", is that always the case with UML or is it common to reverse them (ie "[Type]:[Name])? It seems more natural to write it as Type first since I write much more in C# (which is the reverse of most of the .Net languages' syntaxes), but then again I don't want to build a nasty habit that breaks everyone else's conventions, and I don't want to go through OMG's very intimidating pdf on UML 2.0...
Awesome explanation . . . . :)
Fantastic - thank you!
Mr. Banas - I was looking for the application. One I found is v10.2? Looked for the v12.x and thats where I failed. Thanks for the link to the diagrams.
we can use Sequence Diagrams without actors and lifelines???
Derek your lessons are very good, I think it would be better if while you are speaking you would be building at the same time, I have to be honest but once you showed a blueprint like this right off the bat I got scared. Difficult for those who are just beginners. But thanks anyway, good job.
FRANCISCO BRUNO Thank you for the input :) I'm constantly doing my best to improve.
Derek Banas I actually really liked the blueprint style of the video, it cut out the time wasted in building the diagram and left more time for explanation. thank you so much for spending your valuable time to make these tutorials.
Derek, are these sequence diagrams made previous to programming? I mean, it looks pretty dificult to build a functionality in detail without having the code before. I'd imagine it more as a way of documenting the code but not building it.
Maybe it's just because I'm not used to it.
Cesar Augusto Zapata Baldassarri Yes they were. It is something you have to practice. Start with a use case description and then move on to the sequence diagram. As you bounce between those 2 diagrams and the class diagrams changes will come up. Keep at it. I think it is the #1 most important skill a programmer can develop.
Derek Banas Nice. I'll definitely work on that skill. Thanks for your quick feedback.
Btw, Thank you so much for creating all these videos for us. I always go to your website first when I need to quickly learn something... no jibber jabber.
hi everyone
tnx Derek for good tutorials
could you please tell me the best UML tool for free to install and work with???
Thank you very much :) I'm using UMLet here. It is perfectly fine if you are looking for free software
+Derek Banas; i understand well ur concept, but it is been tough 2 me, how to represent the diagram into maybe Java code?
In this tutorial series I show how to convert UML to Java code czcams.com/video/fJW65Wo7IHI/video.html
Great !!! you definitely rock
Here s the Eclipse UMLet plugin marketplace. eclipse. org/content/umlet-uml-tool-fast-uml-diagrams#.UdKzacu9KSM
can i not use a activity diagram with swim lanes instead of sequence diagram (if i am not worried about the timing). where will i fail in using the same ?
Anand Sunku You can do whatever works best for you and your team. These are the by the book ways of designing these diagrams, but from what I've seen everyone hones them towards their own specific tastes. I for example make very large and detailed sequence diagrams and use little else.
Hello Derek,
Nice videos( but i wish the speed was bit less for beginners). I recently subscribed to your channel..Awesome videos on your channel. I love the editing too.could you teach me how you edit these videos ..
amarendar b Thank you :) This is how I make CZcams videos czcams.com/video/7Szqx2oLO9g/video.html
Two concepts you didn't cover sufficiently I thought: Activation regions (including nested activation regions) and return messages. Also I thought it would have been good to split the content into things that people will use all the time and concepts that get used in specialised circumstances.
Honestly by the time I spent writing all of this out I could have already wrote the program and implemented 90% of the functionality
Metin Erman Only a little % of developers is so smart and intelligent that they can programm out of their head. The problem is that 95% think they belong to that minority.
I don't see where to download a copy of the diagram that was created. Is there a link to it somewhere? Thanks.
On this page after the video I have a link to every file www.newthinktank.com/videos/uml-video-tutorial/
Sorry I couldn't post a direct link to the files for some reason?
But what should you put in the lifeline, when its about software (example C#). Classes or ....... ?
+XboxOneFTW I show the whole process in this tutorial czcams.com/video/fJW65Wo7IHI/video.html
I still don't quite understand what the boxes along the life lines actually mean. Do we use them just where messages are sent and/or received?
+Wuzzysbrand06 They represent the lifetime that the object is alive. Where you see breaks in the box, it's just showing that the object is still alive in memory, but that the message is being passed somewhere else. The further down the life line, the further along you are in the sequence. Does that make any more sense or no?
+Dan Fletcher So basically when there's a break in the box, it means the object is still there in memory but it's not being used at the moment (no methods are called on it and no parameters are being changed)?
Yeah, kind of. It's more just so that when you have other lines passing through it - which aren't messages for that object - it doesn't look messy. If Derek didn't have so many notes on this diagram, you'd see less breaks in the boxes.
Thanks.
Hi derek ...!!can you explain how to draw a sequence diagram for tracking the air flights .....thank you in advance
beeram santosh Sorry, but I don't understand the question. I approach building a system by writing out a use case description and then I make the sequence diagram from that. I show how I do it in the first 2 videos in my object oriented design tutorial. I hope it helps :)
Derek Banas sequence diagram for flight tracking the in and out bounds of the flights
I was starting to panic, Last semester I had linear algebra, you saved me. This semester I have a software engineering module with use cases and sequence diagrams, you saved me. You have the most useful channel on youtube, Thank you for helping me get furter into my degree.
I'm very happy to hear I was able to help :)