Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File names with version numbers...is it a good idea?

I have this custom-made CSS reset stylesheet that I keep updating and I always mention the date and version number inside so I can keep track of multiple copies.

Is it a good idea to name my stylesheets using veersion numbers?
For example:

  • example_v1.0.css
  • example_v1.0.1.css

If it is, is it also a good idea for HTML, JS, and PHP files?

like image 769
Mortis Avatar asked Nov 28 '22 18:11

Mortis


2 Answers

It IS a good idea to maintain multiple versions.

However it is not a good idea to maintain multiple versions manually. There are tools to do that, called source control/version control tools, and these tools provide features over and above just maintaining versions.

Some of them include Mercurial, Git, Subversion and CVS.

like image 170
Nivas Avatar answered Dec 01 '22 08:12

Nivas


No!.. Even for small projects use svn!

client: http://tortoisesvn.tigris.org/

server for Windows: http://www.visualsvn.com/server/

like image 29
StefanNch Avatar answered Dec 01 '22 07:12

StefanNch