I have bought an open source (huge) php script, and I am still of the old (pre OOP) Turbo Pascal generation.

Now in order to apply some changes to the OS PHP script I have in hands I'd need some tools that help me understand the structure. I am reading since two weeks php tutorials and the source code, and I believe it's time to get more aggressive:

e.g.: A software that's converting my scrip into charts/tables showing:
- which php script includes/requires which other
- which MySQL table entry is written to / read from which php script
- which class is called upon by which script and vice versa...
in short a tool/tools that allow me to get a better grip on this monstrum.

I'd be extremely happy for any suggestions, even better when they are free.

Thx a lot
Phillip

    2 months later

    I don't know of any tools like this, but a few days creating grep and/or nawk scripts could help out a lot.

    For me, I've always found that the best way to go is to follow the instrctions and get the thing up and running. Then try to make a small change - maybe just change some text. Then start building up to more and more complex changes. I find that helps me get to grips with the system. If it's built in a half decent fashion, you should find that the whole thing is built up in a fairly standard way, using the same objects, classes and methods, so that when you understand one area of the program well, you can pick up other areas much more quickly.

      You might also want to take a look at phpdoc. even though its not a complete solution to your problem, it can still help quite a bit.

        Write a Reply...