When you guys are working on code for some time whether it be a website, some jquery, php etc.. And you keep improving on your code how do you version your code (personal methods).
I actually start my Software Development and Life Cycles class tonight but this is something im curious about and being the main target audience on css-tricks is web developers, i value any and all input.
I had changed the OP but as far as using a repository goes I have never really investigated it. I have a jQuery snippets folder on my desktop with over a few hundred js files lol. So i can understand the getting out of control.
I would assume many web developer / programmers use these types of repositories to save and/or share code?
I will have to check out this repository thing. I hear about it all the time but never made the plunge.
I like IDE’s for programming but if im working on a website (html, css, js) than a good ol light weight text editor is all i want. I know sublime has a folder system which is pretty convenient. I guess im just looking for some sort of structural advice on how people set up there project files for websites. And how to maintain the project folders.
I have heard of using a SVN i believe, aka tortoise which allows the developer to work on something, update in real time and be able to go back to older versions since starting the project.
And in regards to my original post ( wondering about how to create different versions for your code ), i found this about how to determine versions.
0 for alpha (status)
1 for beta (status)
2 for release candidate
3 for (final) release
Aaahhhh I generally don’t keep an alpha version of a project around.
Generally I’ll commit a beta through Git (we use GitHub to manage everything) which we start with a version of 0.0.1. We go through iterations of the beta until final release. When the final release is committed it gets v1.0.0.
I’m not sure I’d be doing any of that without a proper versioning system in place. The thought of maintaining multiple folders is unbelievably daunting.
If you’re thinking of getting into version control check out Chris’s video. It seriously revolutionised how I code, control versions and develop. Even if you don’t want to use it for development, having a Git manager helps make life super easy.
Thanks for the reference. Im getting closer and closer to our graduation project and a system to start storing and retrieving work will be super awesome. Along with a git i was looking at having a SVN.