Quote:
Originally Posted by nepomuk
... 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