Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Think about your design even if you don't use full UML

Even if you don't feel that your project is big enough to get involved with formal design methods, many of the lessons of UML and some informal design diagrams can help you get a clear view of what you're going to be doing be for you start, and can help you come up a good, thought out and reliable plan before you waste a lot of time writing experimental code up a blind alley. No need to use posh symbols on your diagrams - just a few boxes will do! Try:

1. A use case diagram, showing the major data elements, and which of your user communities supplies, updates and reads which elements

2. Object diagrams, showing the various components of each of your data types and what it does

3. Class diagrams, showing how your various classes inherit from each other and at what level each of the methods should be written

4. A Deployment diagram, showing where the various component are kept - not only the live components, but the backups, source code and the whole system including the older versions and version control

5. Sequence diagram showing how transactions go through the system with each element picking up and passing data to and from the others

6. State diagram, showing the state of object types (including, in web use the state of each uses' session object). I can't believe I left this one so late to mention!

7. Procedural diagrams - a.k.a. flow charts - showing how the logic goes together.

Even if you don't draw these out on paper for each project, it's no bad thing to think through each of the 7 aspects as you work out what you're going to do - a few minutes of consideration of the big picture reaps huge efficiency rewards as you put together your application or suite.

You can download a .pdf file from our open training notes site that shows you examples of each of these diagrams - just follow the "links under _Object Orientation - design techniques.
(written 2006-03-24 07:06:15)

 
Associated topics are indexed under
Q907 - Object Orientation and General technical topics - Object Orientation: Design Techniques
Y116 - Python - Best Programming Practice
Y112 - Python - Objects - Intermediate
H108 - Objects in PHP
T245 - Tcl/Tk - [incr-Tcl]
P218 - Perl - More Objects
R108 - Ruby - More Classes and Objects
J710 - Java - Extending Classes and More

Back to
Can some food be TOO different?
Previous and next
or
Horse's mouth home
Forward to
The ternary operator in Python
Some other Articles
Stopping and restarting Apache httpd cleanly
Web Application Components
Keeping the visitors happy and browsing
The ternary operator in Python
Think about your design even if you don't use full UML
Can some food be TOO different?
Making use of disabled facilities
Easy feed!
Morning Post
Please Register with Opentalk - but just once!
1816 posts, page by page
Link to page ... 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 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho