473,395 Members | 1,454 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

UML Diagram

I just want to know whether UML Diagram is needed in Web Page?

Thank You.
Jul 16 '08 #1
4 1888
Nepomuk
3,112 Expert 2GB
UML diagrams are used to visualize the connections between objects. As long as you don't use any languages like Java or PHP that use Objects, you won't need UML diagrams. And even if you do use Java or PHP, you don't automatically have to use UML Diagrams, but they do help sometimes.

HTML, JavaScript and CSS do not have objects.

Greetings,
Nepomuk
Jul 17 '08 #2
gits
5,390 Expert Mod 4TB
... HTML, JavaScript and CSS do not have objects. ...
they have! objects ... the entire browser and even the documents have objects ... so you have the Browser-Object-Model (BOM) - the window-object, navigator object with attributes and methods - and the Document-Object-Model (DOM) - nodes with attributes and methods ... and for javascript: you could use it very Object-Oriented including inheritance, polymorphism, public, private data etc. ... so to use/need UML for web-based projects, even for the UI-related things ... you should know the requirements and the 'size' of the project. the only thing that you cannot really do is to generate code or skeletons for the script-languages ... but i guess that this will change in the future due to the massive use of AJAX-Frameworks for example. currently we have a codebase of over 400000 loc javascript-code at work and it would be very useful to have UML-diagrams for all that ... so we just started to create them now, to help us to reverse engineer, refactor or just formal describe things that are not well maintainable without documentation ...

kind regards
Jul 17 '08 #3
Nepomuk
3,112 Expert 2GB
they have! objects ... the entire browser and even the documents have objects ... so you have the Browser-Object-Model (BOM) - the window-object, navigator object with attributes and methods - and the Document-Object-Model (DOM) - nodes with attributes and methods ... and for javascript: you could use it very Object-Oriented including inheritance, polymorphism, public, private data etc. ... so to use/need UML for web-based projects, even for the UI-related things ... you should know the requirements and the 'size' of the project. the only thing that you cannot really do is to generate code or skeletons for the script-languages ... but i guess that this will change in the future due to the massive use of AJAX-Frameworks for example. currently we have a codebase of over 400000 loc javascript-code at work and it would be very useful to have UML-diagrams for all that ... so we just started to create them now, to help us to reverse engineer, refactor or just formal describe things that are not well maintainable without documentation ...

kind regards
OK, shouldn't have said so without further research... ^^

Greetings,
Nepomuk
Jul 17 '08 #4
gits
5,390 Expert Mod 4TB
no problem ... this is just a common sense of webdevelopment ... and it just changed very dynamically over the last 2 years with all that web2.0/ajax-stuff ... that lead from a 'web-site-scripting' to a more real 'web-site-programming' style ... even when i think that this words don't really describe what i mean ... basicly i think i would rather say that there is no real difference anymore when projects exceed a critical size ...

kind regards
Jul 17 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tim Smith | last post by:
Dear All, Silly question, but I am having trouble understanding the diagram on the inside back cover entitled "Design Pattern Relationships." It shows the relationships between all of the...
1
by: marane moll | last post by:
Hello My Access Diagram wizard is buggy and reinstallation of Access (2000) doesn't help. I guess it is buggy because of a not registered ActiveX Control. But I don't know which Control the...
1
by: Maria | last post by:
Heya, I am doing some background reading about the database and i am a little bit confused, i would appreciated any help.... Assume been asked to draw the ER diagram for the following...
4
by: PIEBALD | last post by:
I'm trying to find a general definition/specification for railroad diagrams. All I find online are explanations by authors who explain what _their_ particular format uses, but they leave me...
3
by: Terry | last post by:
I have added some tables to the MS Access relationship diagram window (2003) and added some relationships. But after a while when I reopen the diagram some of the tables are hidden above the top of...
2
by: sangu_rao | last post by:
Hi, I have to prepare an ER diagram for the objects in my SQL Server database. I have used the option "DIAGRAMS" in EnterPrise Manager of SQL Server 2000. It is creating the diagram for the...
70
by: Anson.Stuggart | last post by:
I'm designing a debounce filter using Finite State Machine. The FSM behavior is it follows the inital input bit and thinks that's real output until it receives 3 consecutive same bits and it...
1
by: Oskar Bennet | last post by:
Hi everybody, I am supposed to draw a simple UML diagram for a very small project that consists of less than a dozen classes. I have never been working with UML before, I have read some tutorials...
13
by: Doug | last post by:
Hi all, A workmate was recently bitching to me about an RFC. (Apologies - the RFC number eludes me at present (it's related to the DIAMETER protocol, that's all I can remember) but I will try...
0
by: viepia | last post by:
Hi, My project writes records to a new SQL Server 2005 database with currently 18 tables. When I change the Database Diagram for my database I save the copy the list of changed tables to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.