My little brother, my PHP Web system analysis Tool 01

Source: Internet
Author: User
My PHP Site System Analysis Tool 01

For post-job requirements, you need to quickly figure out how the entire PHP Web system works. With a sense of temptation, wrote this tool.

Temporarily call it "System Information Dynamic Analysis map", perhaps "System Information map" more convenient.

This time the dream-weaving system was taken as an experimental object.

This code, found a good SVG plug-in--svgjs (svgjs.com), it is very convenient to use the JS script control to draw some vector diagram.

This program has been conceived for a long time and it is only two days to achieve it.

This program runs on a local virtual machine, and the entire display process waits for the browser to look like half a minute.

Although there are many imperfect parts of the whole program, there is still room for improvement if there is a very high frequency of use later on.


An overview of the algorithm process:

Each element is a unique ID, and a block of space stores the ID value of the line target, which automatically reads the coordinate information of the target ID that it carries, creates the connection, this part is JS complete, the element ID is named and the ID is carried by the PHP part by the absolute address of the file hash formed.


Here is the Web page where the code automatically generates the effect.

The Cyan line represents the php file location in the php file (php files are currently only requireonce and other files are not added).

The Yellow Line is the connection formed by manually selecting a file.

The connection lines can all be erased.






  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.