Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
GIT or SVN : Which is better suited for MY style of work?
Old 12-18-2011, 10:06 PM GIT or SVN : Which is better suited for MY style of work?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
I have never used a full blown version control system before.
However, everybody around me keeps waxing about the benefits
and I can see the point too.

The thing is, the way I work is that I tend to just "go commando" in
the sense of starting a project on a web server (in a hidden or
unpublished directory) and work on things there.
I've never really build a project on my local desktop or laptop
with XAMP or MAMP.
Maybe I'm crazy. I dunno. I just don't like the idea of
second guessing if something is gonna break when I
migrate it from my desk to a server.

To cut a long explanation short, I like building things directly on a web server but I want to start using PHP file versioning systems.

Based on that criteria, which is better suited for me:
GIT or SVN

(I believe CVS is a dead end now, at least for Drupal, so
I am not interested in that option).


Thank you.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-19-2011, 02:12 AM Re: GIT or SVN : Which is better suited for MY style of work?
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
I don't use version control unless I have to or I'm working with other people. If all you are doing is managing your site you may be better off setting up a testing server on your local machine and pushing updates to the production server when needed. The real advantage of using a version control system is it allows multiple people to work on the same code without stepping on each other's toes (as much).

When I do use version control it's always SVN, more out of necessity than choice.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is offline
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 12-19-2011, 04:58 AM Re: GIT or SVN : Which is better suited for MY style of work?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,190
Trades: 0
Quote:
Originally Posted by NullPointer View Post
If all you are doing is managing your site you may be better off setting up a testing server on your local machine and pushing updates to the production server when needed.
Thats kind of what I do now. Although I use a dedicated development space on a shared hosting account.

So Nullpointer, would SVN still suit that kind of work flow?
I guess from a "sole developer" point of view, I am looking at
versioning as way of creating "roll back" points if something goes
wrong with code changes.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
Reply With Quote
View Public Profile
 
Old 12-19-2011, 05:56 AM Re: GIT or SVN : Which is better suited for MY style of work?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I've never used version control either. Tried it a few times but always got hacked off very quickly when I have to make yet another copy because I spotted a spelling error and corrected it.

I can see where it would have benefits for a group project, but when flying solo it just gets in the way.

I simply have myself organised to make a copy of the module or file I am working on, or when working with functions or classes I copy and paste the code block I am working and add a date & time to the function name so it no longer operates, should what I change fail to behave as expected, ... nothing lost but a small amount of time.

As, for a long time, I have never written code in monolithic "page sized" blocks as is the way that many webdevelopers seem to work where they have a page for a form, then another page to collect the data which I always found that a very stilted way to look at things, this approach suits the way that I work.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 12-19-2011 at 05:58 AM..
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-22-2011, 01:33 PM Re: GIT or SVN : Which is better suited for MY style of work?
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
For my day job I work in a team of 4 developers so versioning is a much. Not just for the rollback but the merging of files that maybe two or three of us are working on at the same time. This happens often on an agile team. The size of a project doesn't matter. We do it for small sites and big ones. Except for big ones there's much more than just the versioning control.

We use git here and I love git. It was not hard to pickup the basic stuff and it gets really powerful.

I manage a couple large personal sites and all I do is work local and FTP up. It is a lot easier. The rollback is that I backup sites regularly and if I mess up a file I just redownload it from the server. I don't push it out until it works locally.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 12-22-2011, 01:34 PM Re: GIT or SVN : Which is better suited for MY style of work?
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
Oh another reason you may want to use versioning if you're working by yourself is if you're like me, working from multiple machines. I like to work on a desktop at home but I have a choice of laptops when I go out.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to GIT or SVN : Which is better suited for MY style of work?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.95837 seconds with 12 queries