What is the best SharePoint CM process?

cm_manager's picture
cm_manager asked on June 25, 2012 - 6:27pm | Replies (2).

I have years of experience in deploying custom web applications. I have developed a build process that is repeatable for building and deploying custom web applications to the development, test, and production environments. Lately, i have been involved in some of our SharePoint projects.

I realized very quickly that performing version control of source code for custom apps and SharePoint development are very very different. i don't have a clear understanding of what to version control on our SharePoint development projects. By the way, i call the projects SharePoint development because our developers create custom code for SharePoint.

Do i just version control the custom code written by the developers?
How do we make sure that changes made to the UI are consistent in all environments?
If the requirement says add a list, should that be scripted so it can be applied to development, test, and production environments or do we just add the list directly in SharePoint?

2 Answers

bglangston's picture

As a quick and dirty response off the top of my head, it would seem to me that there are two points of focus for two parts of your projects.

For the SharePoint (SP) structures the focus probably would be best on each structural design -- a sort of "This is what it is supposed to look like" approach. It will probably be difficult to go any deeper than that at the beginning. If someone sees a need to "control" at a deeper level of detail, you can concentrate on what it would take to control the more detailed item. Of course, the whole thing is driven by the business requirements of each individual SP site.

The UI consistency issue can be controlled by comparison of the designs. To use your example, if the requirement says add a list, then the proposed change document would be updated to indicate all affected SP product designs. During audit or review of the products, you can compare the affected SP designs for "sameness" and compare each product against its applicable design.

Regarding the Custom Code, may I assume that there is a set of one or more scripts for each SP project? If so, then each set will be a component of its respective SP project.

I hope that addresses the question and helps or gives you some ideas.

cm_manager's picture

Regarding the UI changes, if there are UI changes made directly in SharePoint, there will be no code file to check into our version control tool (StarTeam). I think we can track changes like these by submitting a CR. Then, the testers can check if the UI changes have been applied correctly. So, it looks like there will be changes where i will not have any code file to check in, specially if the changes were made using the SharePoint interface. These changes will be documented in the Release documentation to ensure they make it to every target environment.

Thanks for your feedback.

Arnold

CMCrossroads is a TechWell community.

Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.