Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7626853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:22:55+00:00 2026-05-31T05:22:55+00:00

My colleague and me are both working in a MVC system on the same

  • 0

My colleague and me are both working in a MVC system on the same controller. Problem is that we can’t edit the same file at the same time because we’re overwriting each others changes.

Is there a way to include methods into a class using the include() function?

Basically I want three files, controller.php his_file.php and my_file.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:22:56+00:00Added an answer on May 31, 2026 at 5:22 am

    U need a Versioning System like SVN to handle this conflicts and code loss or need a centralised system where you and ur colleague must place code after taking the latest code from each other, thats what versioning system do generally… you dont have to add any extra code load to acheive what you need this which would be again a bad practice.

    As a single user the main advantages are

    1. Automatic backups: If you accidentally delete some file (or part of
      a file) you can undelete it. If you change something and want to
      undo it, the VCS can do so.
    2. Sharing on multiple computers: VCSes are designed to help multiple people collaboratively edit text files. This makes sharing between multiple computers (say your desktop and laptop) particularly easy. You do not need to bother if you always copied the newest version; the VCS will do that for you. Even if you are offline and change files on both computers, the VCS will merge the changes intelligently once you are online.
    3. Version control and branching: Say you published some class notes as
      a pdf and want to fix some typos in them while simultaneously
      working on the notes for next year. No problem. And you only need to
      fix the typos once, the VCS will merge them to the other versions.
    4. Tagging.
    5. Working with collaborators even if they don’t have the
      VCS themselves. I can make a branch copy for my collaborator on my
      own system and simply copy in their corrections to that each time,
      then merge them into the main branch as if they’d been using the VCS
      all along. Keeps the advantages of using version control but without
      requiring all collaborators to use it.
    6. Maintaining different versions.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

a colleague and I are trying pair programming for the first time. We both
I am working on a project that is both memory and computationally intensive. A
A colleague and I are working on the same area of code using Visual
I have a problem that has just come up with a colleague of mine
A colleague came to me with a problem that I managed to answer but
Yesterday a colleague showed me the following postgres query. We were both surprised that
There is a Git repository on a server that my colleague and I both
A colleague of mine has written a DLL file for me to use called
A colleague tells me that there is no way to bulk insert UTF-8 encoded
I'm working on a site that will go on my company's intranet. I developed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.