E-commerce website PHP source code Analysis and modification

Source: Internet
Author: User
Let me first introduce my current level of knowledge:
I have written thousands of lines of PHP code, PHP syntax base and object-oriented way, no contact with the framework, did not do oop PHP project.
More familiar with C + +, it will be a bit of software engineering knowledge.

Now to do a PHP e-commerce site, download the OpenCart and China's Ecmall source code, on the local Apache can run through. I want to ecmall in the code to get to meet my business needs of the e-commerce site, but see Ecmall has more than 1600 PHP files on the virtual, how to look at this.

Time is not urgent, I can learn while combing, and then modify its code.
My current train of thought is according to the method of software engineering to classify the code of Ecmall project according to the function of the design, draw the class diagram, finally the function, class, file correspondence together.

Writing PHP has been using notepad++, analysis of a multi-file project have any good tools? Ask the gods to give me a little bit of guidance.


Reply to discussion (solution)

Find out which MVC corresponds to the directory is OK, which block to use to change which block

You can use reflection to help analyze it.
Reference http://bbs.csdn.net/topics/390836735

How do you know??, MVC, what's the point? And then root?? The polygon URL to find the phase file? Line modification.
can also use the moderator's reflection tool?? Shown

  • 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.