Reverse Engineering PHP Source by Instant Reverse
VP’s products support reverse engineering different types of source or binary files into UML class models by Instant Reverse facility. Reverse Engineering PHP 5.0 source to class models is now supported.
Let us take the following PHP sources as an example.
Remark: There are php sources inside the smarty folder.
To reverse engineer the PHP source:
On the menu, select
Tools > Instant Reverse > PHP 5.0 Source....
The
Instant Reverse Options dialog box is displayed with
PHP 5.0 Source as the selected
Instant Type.
Note: When using SDE, select
Modeling > Instant Reverse... from the menu to activate the
Instant Reverse Options dialog box, and then select
PHP 5.0 Source from the drop-down menu of
Instant Type.
Select the desired classpath for the PHP source to be reverse engineered, and then click
OK.
Instant Reverse proceeds by showing the progress of reverse engineering.
Click
OK when reverse engineering is completed.
The reversed class models are shown on the
Model tree.
Click the
New Class Diagram icon to create a new class diagram.
Select and drag the class from the
Model tree to class diagram.
The reversed class models are added on the class diagram as shown below. You may further work on the class models by visual modeling.

Related Articles
Resources
-
-
-
Chapter 7 Instant Reverse - This chapter guides you through the process of reverse engineering different kinds of sources or binary files (Java source, Java classes, C++ Source, JDBC, .NET binaries, Hibernate mapping files, CORBA IDL, Ada 9x) into VP-UML.
-
-
-