Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 16-07-2008, 09:24 AM
New kid on the block
 
Join Date: Apr 2008
Location: Penang
Posts: 8
Rep Power: 0
Jet89 is on a distinguished road
UML Diagram

I hope that I wasn't bump into wrong section in asking this type question..if so..please forgive me.As I mention above, maybe someone can explain to me and give some example about UML diagram.What it is, how to use it, and much more.And i believe that UML Diagram is part of Web Programming (since alot my senior told me that). Thanks in advance ya guys!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 17-07-2008, 09:55 AM
tm89lee's Avatar
Inspired Webmaster
 
Join Date: Mar 2006
Location: Kuantan
Posts: 182
Rep Power: 34
tm89lee is on a distinguished road
Send a message via MSN to tm89lee Send a message via Yahoo to tm89lee
It is used to plan the initial design of your program..
Well the only UML diagram ive done so far are object oriented based...
A box for a class, within it there are list of methods and variables.. stating if they are private or public, etc...
and how those classes are linked with each other, using arrows to indicate inheritance or etc...
__________________
Quote:
DonT ShoW to ShOw pls ppl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 17-07-2008, 02:18 PM
New kid on the block
 
Join Date: Jul 2008
Location: Malaysia
Posts: 2
Rep Power: 0
puristdeveloper is on a distinguished road
UML basically allows you to have a higher level of abstraction of a system than to just write it in a programming language, because it is a "modeling" language. So, its just to create an abstract model of a system and not the actual system itself.

Basically like tm89lee said, its used to define and illustrate associations, inheritance, etc. Basically there are various diagrams that you use for a UML model - state diagrams, activity diagrams, Use-Case diagrams, composite structure diagrams, sequence diagrams, etc. depending on what you intend to model or depict. Its just a modeling language for you to define the behaviour, associations, etc. of components, etc. within a system.

You'd also need to be rather knowledgeable in UML before you start using it, or you model would not depict the actual system correctly. This can happen, and it does happen rather frequently. Sometimes, changes in codes due to errors is not reflected in the model (because you created the model first) if you do not concurrently update the model and the codebase, so your system documentation could end up being completely useless. And not to mention using UML takes up time, a lot of time because you need to draw it (even with UML tools).

As far as I can see, using UML for web programming (assuming you're just developing a web site and not some interactive web-based application). UML is used almost exclusively I'd say in the real world for software engineering to model systems using OOP, and not for general web development/programming - at least, I've not heard of anyone using UML for web works prior to this.

Then there is xtUML which is Executable UML - where you can use a compiler to execute your models. It allows an even higher level of abstraction, and its very useful when it comes to RAD programming works. Did some UML for systems analysis and design; and exclusively xtUML for software analysis and design back in uni if I can recall correctly.

So, if you are just doing web programming, skip UML unless you intend to foray into the world of "real" OOP and application development. Just my opinion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 09:12 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59