AJAX/Web2.0 form embedded into someone elses website?

1 view
Skip to first unread message

RoLaAus

unread,
Nov 4, 2009, 3:54:53 AM11/4/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi all, I'm wondering if there is a way to embed an AJAX form onto
someone elses website, Web 2.0 like and all. What I'm invisioning is
something like the "Facebook connect" feature on some websites that
allow you to log-in/create a new user, much like Digg.com allows it's
users to do. The only problem that I have seen with most other sites
is that is refreshes the entire page once you log-in. I'm actually
kind of wondering if there is a way to make an "application" like
package, sort of what Facebook does with allowing other users to
create applications and these 3rd party applications show up on their
website. The difference between what I want and facebook is that I am
writing the application, and I want it to show up on other peoples
website, and have it be functioning no matter if they have Linux or
Windows hosting. I've seen some "include" type scripts that pull
dynamic content from other websites that webmasters can place onto
their sites - sort of like rotating ads.

I know I'm asking a lot, but I"m merely asking to be pointed in the
right direction here, especially if there's a framework out there, or
some existing Open Source project, or at the very least some book, if
someone can point me to a title, or just subject matter to study up on.

ThanderMaX

unread,
Nov 6, 2009, 10:20:35 AM11/6/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Have you played FarmVille in facebook ?? May be that approach would
work in your scenario..

Anywayz , I'm also curious about other aproach..

Lars Warholm

unread,
Nov 8, 2009, 8:54:40 AM11/8/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi Robert,

From your description these solutions spring to mind:

1. Run your application in an iframe inside the "consumer's" web page,
and let the consumer communicate with your app using Javascript and a
web service hosted by you. This is the tried and tested solution IMHO.

2. Create a javascript library (because it is platform independent)
which the consumer can use to pull markup and javascript from your
website. The pulled markup and javascript is then injected into the
DOM of the consumer's web page (e.g. into a div). I have never worked
on a commercial (nor other) project which has done this, so I can't
vouch for it.


Facebook connect exposes all it's functionality through a Javascript
library supplied by them, and it might be worth a study (
http://developers.facebook.com/connect.php )

Unfortunately I'm not familiar with any platform independent
frameworks which enable modular web apps like you describe.


On Nov 4, 9:54 am, RoLaAus <robertlaus...@gmail.com> wrote:
> Hi all, I'm wondering if there is a way to embed an AJAX form onto
> someone elses website, Web 2.0 like and all.
> (...)
Reply all
Reply to author
Forward
0 new messages