views:

769

answers:

3

I am new to sharepoint development but have about 10 years of expirence in C++, VB6 and C#. It is my experience that a great way to learn a new language or coding style is to spend some time "dissecting" one of the open source projects available at CodePlex or Google code. In order to avoid picking up some bad habits without knowing it, I would like to hear which projects you can recommend.

TIA

+1  A: 

Generally speaking, SharePoint "code" will come in the form of web parts and pages that are written for specific SharePoint installations. However, that doesn't mean that there aren't any SharePoint utilities and libraries out there.

In fact, I'm a big fan of SmartPart, which is hosted on Codeplex. This is a very useful SharePoint tool with a lot of downloads and some bugs that need to be fixed, so it's a great project to serve as your reference point and submit some code to!

Robert S.
It should be noted that there are some considerations about using a generic wrapper for your webparts.http://www.sharepoint-tips.com/2008/03/thoughts-and-best-practices-around.html
webwires
+1  A: 

You can take a look at http://www.codeplex.com/CKS which is a project start by Microsoft employees.

Nico
+5  A: 

I would also recommend the CKS but I would also add that I have found that coding isn't the biggest issue when learning SharePoint but determining the best solution to acheive your goal. Should you use a workflow or an event handler? Should you use custom code or the BDC? Should you build a web part or a layout page? Should you use a list, a custom form or an InfoPath form?

So, in addition to learning coding practices you should spend a large amount of time finding approaches to solving problems. SharePoint offers a lot of benefits but unfortunately an easy learning curve is not one of them. I also have 10 years of development and it took me 6 months to start to fully comprehend best approaches on solving business requirements most effectively.

I recommend:

patterns & practices SharePoint Guidance

Best Practices Resource Center for SharePoint Server 2007

Microsoft Office SharePoint Server 2007 Best Practices (Paperback)

SharePoint 2007 and WSS 3.0 Dispose Patterns by Example

webwires