Posted by Ranajee on July 21, 2006 at 10:32am
Is there possiblity to relate customized drupal module development in our requirment based UML diagrams and documentations.
I am building a project using drupal. Is there a way to document all of my project. Can make use cases, sequence diagram, class diagram, webflow diagram.
Drupal can support class diagram?
Comments
Eclipse
Most Drupal sites do not need that level of documentation because Drupal does what they want just with the selection of modules and a few options. A larger database module, such as e-commerce, might benefit. You might have to lead in this area.
Have a look through http://www.eclipse.org/ for a starting point. Eclipse has PHP plugins and interfaces to just about everything in the UML area. Dia, http://www.gnome.org/projects/dia/, does UML and has plug ins to create UML. Between the two there should be enough tools to create what you need.
The only problem with Eclipse is that some areas are dominated by commercial products including the Rational products.
When you know what you need to produce the reports you need, suggest them back here so we can look at the specifics. Drupal documentation is produced using Doxygen, http://www.stack.nl/~dimitri/doxygen/, and you might be able to link Doxygen with Eclipse or Dia to get what you want automatically.
If you can do a little bit of research and document your results, others might adopt your approach.
petermoulding.com/web_architect
petermoulding.com/web_architect
I enjoy eclipse
Although the first time I turned it on I couldn't understand just what sort of an application it was! It seemed to be trying to replace my desktop altogether.
After trying out just phpeclipse however, I use it constantly now. Real cool integrated editor, but I can't find the rules that will make the code beautifier fit with Drupal standards (anyone?)
A week or two back I went looking for a diagramming tool, within Eclipse, hoping to do some good documentation. I got lost, but believe that somewhere in those projects there is an integrated modeller.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
website structure
I would also love to find a nice module for outlining some UML, or even a simple tree structure of the nodes and pages of the website. It doesn't sound easy to interface with Eclipse? I think for now I will just use pencil and paper.
If anyone finds a nice quick solution I would love to hear about it. Thanks
Phil
Convert to XML
Dia draws diagrams. Dia might be easier than paper when you want to make revisions. Dia now uses XML based UML files. You might be able to convert a sitemap module to create XML UML for input to Dia. There is code floating around to build database diagrams from your database and the code might guide you in the sitemap to UML conversion.
If you start with a sitemap module and produce XML UML, you can have an administrator button to produce new diagrams when you change the site. The next step would be to find code to display UML in a Web page. Dia does export to various format files and there is an API for programmable communication with Dia but I do not know to what extent you can use Dia through the API. Certainly worth investigating.
petermoulding.com/web_architect
petermoulding.com/web_architect