Book a Demo

Author Topic: How can I generate UML map of PHP forum script ?  (Read 13225 times)

scanreg

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
How can I generate UML map of PHP forum script ?
« on: March 21, 2012, 01:42:41 am »
Testing out EA Trial version

I'm trying to generate a comprehensive UML map (?) of the classes and other stuff for a forum script that we'd like to use.

As I understand it, EA can do this but I'm having a hard time getting started.

I read somewhere that you can import the php script and then auto-generate the UML, but I've looked around in the EA tools and stuff and so far haven't found a way to this.

I saw the UML tutorial here:

http://www.sparxsystems.com/resources/tutorial/logical_model.html

and I think this is what I'm after.

Do I have to "create a project" first, or can I just import the full script and let EA work?

How do I go about this?

Thanks  :)
« Last Edit: March 21, 2012, 03:00:47 am by scanreg »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How can I generate UML map of PHP forum script
« Reply #1 on: March 21, 2012, 04:00:31 am »
Create an empty project
Add a view (context menu of the root package)
In the focus of the new view in the context menu
-Code Engineering/Import Source Directory

q.

scanreg

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How can I generate UML map of PHP forum script
« Reply #2 on: March 21, 2012, 06:24:39 am »
wow, nice!

does it matter what kind of 'view' is used? (simple, class, etc)

thanks  :)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How can I generate UML map of PHP forum script
« Reply #3 on: March 21, 2012, 08:09:03 am »
No. The type just sets the icon. The view is an ordinary package except it is on level 2 (when the root is defined as 1). It's a bit of a heritage.

q.