- Very limited in customizing both the query and the presentation of the results
- No wild card search out of the box
- Not very interactive/attractive: no type-as-you-go, no ajax, slow response, etc.
Server-side Processing | Client-side Processing | |
---|---|---|
Pros |
|
|
Cons |
|
|
The traditional server-side SharePoint 2007 web part development is actually easy, if you are using the WSPBuilder with Visual Studio 2010. There are quite a few good articles about how to do that, eg. Developing SharePoint WebParts using User Controls and Web Applications by ggalipeau. Some of the contents are a little outdated, but the steps are still applicable. The new layout in Visual Studio now looks like this:
Be careful there are a few catches though, especially the WSPBuilder 1.0.6 generated codes contain some defects. Eg. in xxxReceiver.cs, you have to comment out all contents in FeatureActivated() as SPFeatureReceiver doesn't have FeatureActivated() method. The first line of FeatureDeactivating()
this.FeatureDeactivating(properties);
must also be removed as this recursive calls will bring you a stack overflow.Other than those small bugs, WSPBuilder really helps you a lot in focusing on your business logic, and takes off the pain of generating .wsp web part, packaging and deployment, etc. However, as indicated in the above comparison table, the ASP.NET user control was not born with Ajax functionality and the prerequisite of a local SharePoint instance for integration with the development tools is too heavy and dulls the web part development and testing. Well, if you were a Java developer, probably this would remind you of those similar/painful EJB 2.1 days :-)
1 comment:
Very useful information on this post.Your post has good content and important tips.Keep up the good work.
http://peoplesearchmarket.blogspot.com
Post a Comment