tags:

views:

78

answers:

3

We've been asked to create a web application. One part of the specification is that in future, it can be integrated into Sharepoint. The last version of this app was written in PHP and "integrated" by means of an iframe embedded into Sharepoint; not ideal.

I'm looking to understand the use of Sharepoint in this context. I believe that you can write Sharepoint Applications which are more "native" to Sharepoint than the rough-and-ready iframe approach I discussed before. How easy is it to take a standard ASP.NET MVC application and fully integrate it into Sharepoint?

Does anyone have any thoughts, experiences, or resources on this matter?

A: 

In Sharepoint there is a Page Viewer webpart using which you can load a different url. This way you can easily "integrate" your application to sharepoint site ;-)

But if you are really looking at Re Engineering the application in SharePoint then its a different story. You have to study the current application and then develop it in SharePoint.

Shoban
When you say "develop it in Sharepoint" - what exactly do you mean, and what would be the benefits? Also the Page Viewer webpart is just an iframe, as far as I can see.
colinramsay
I meant .. re develop the application ;-)
Shoban
We're gonna do that - the PHP version will be shut down.
colinramsay
A: 

This fellow has an approach to writing PHP for SharePoint. A key statement:

There are two big tricks – getting the XML right and using NTLM authentication.

DOK
This is definitely interesting, talking to the Sharepoint webservices. I guess I need to find out exactly what sort of integration they want but I suspect it's going to be *visual* rather than *data*.
colinramsay
+1  A: 

I think the first question is what kind of integration with SharePoint are you trying to accomplish? The simplest is to use the Page Viewer webpart (i.e. iframe) method. You can also write custom webparts that show data from your custom application. That's a form of integration. The ultimate form of integration, of course, is to make your application run inside of SharePoint. That leads to my next point.

SharePoint (as of version 2007) is essentially a giant ASP.NET framework. So you can theoretically use it to host any ASP.NET web application. I have actually done it before and it works. However, that was a plain old ASP.NET webforms application (not MVC). If this is what you are trying to do, you definitely would need to rewrite your php application in ASP.NET.

Tundey
I agree that this is underspecified, but I think the second part of your answer is what I'd like more information on. I should have been clearer - we're definitely rewriting from the PHP version. Personally I want to do it in Rails but if there's a proper advantage to doing it in ASP.NET we'd go that way.
colinramsay
Well if you are rewriting and you want tight integration with SharePoint (i.e. want your app to run on SharePoint, exchange data with SharePoint, get user/group information from SharePoint etc), you'll be better served rewriting it in ASP.NET.For my project, what I did was create a lot of ASCX controls that I then placed in SharePoint pages. And of course, I made some changes to the web.config.
Tundey