In a typical corporate scenario with internal development, you may have development, middleware, and production environments. You can use SVN to contain ongoing development work in the trunk, with patches stored in branches, and your released code goes into tags with the appropriate name. Migrating binary files from one environment to another can be as simple as copying them to mid-tier servers, GAC stuff that should be a GAC, etc. In coordination with new versions of binary files, databases are updated, usually adding stored procedures, views, and adding / configuring table schemas.
In a Sharepoint environment, you can use a similar versioning scheme. User code (assemblies) ends with functions that are installed manually or through various installation programs. However, some of what needs to be promoted from dev to the stage, and then to production, may be the contents of a database that supports custom code bits.
If you are managing Sharepoint's corporate environment, share your thoughts on how you manage code promotion and content changes between environments, while protecting your work and your users and keeping them right.
source share