It is highly recommended that you learn to use SVN while learning PHP!

Source: Internet
Author: User
I believe many beginners in the beginner PHP and I like the focus on the development of PHP programs, HTML code, database operations, related development tools, and so on, often ignored the use of Learning version control software. Why do you ask this question in the novice area today, the reason is that, want to let the majority of friends in the use of PHP as the beginning of the coder career can be formalized development and less to go some detours, I have passed, here to share my experience, I hope we have seen after some experience, less detours.

1. Why should we use version control

It can be said that in some small companies, or some not particularly dependent on technology companies, lack of technical management personnel, due to its own limitations, the developers in the development of the time is often also a great limitation. Coupled with human, cycle restrictions, many do not use version control, like my previous company, we are on a test server to do the development, debugging end in the server. What's wrong with that? First, it is very likely that several of us at the same time modify a page and do not know each other, so that the saved person is likely to overwrite the changes made by the former, if there is no backup, the result is terrible. To avoid, you have to wait for others to change, this is the development can not be parallel operation. Second, when you make a lot of changes, because of the change in demand, we are likely to change the code back to the previous look, assuming that there are only 20 lines of code, OK, you manually changed by memory, 2000 lines? Do you remember what you changed? Worse, I've seen it. After the development of a project results test server was mistakenly deleted data, 2 months of hard work in vain. Using version control, we can completely solve the above problem.

2. What is version control

In simple terms, version control is a time machine that can record every change you make to a file, so that even if your boss says no to you after a few months of decadent, or just as in the past, you're not going to freak out. Specific concepts, we still consult the relevant information.

3. Why Use SVN

Current version control software mainly has Ms VSS, open source CVs and Svn,zendide CVs, but CVS has many limitations, such as it only records the version of a single file, does not support file deletion, added version control, for CVS limitations, SVN came into being, At the same time SVN can be driven by Apache, directly through the HTTP protocol to update the warehouse files. For such a combination is very perfect. As for the VSS individual find it difficult to use, and inefficient, also does not cross platform. So I strongly recommend SVN. The SVN debugging environment is a client of each development member, and each member can obtain new files and changes directly from the other members through the update of the warehouse, and the same code can be used to make conflicting hints for many people, and it is easy to find out who changed the code when the problem occurs. Doing parallel development in this way is very efficient and can only be a good backup of your code.

Talk about the benefits of so many svn just hope that the novice can try to follow the standard process to do development, which for their own development is very good. Finally, I wish you all a happy study.




<

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.