Pennimus
02-02-2007, 02:27 PM
As part of a new site I'm planning to launch I aim to create a little tool that I can syndicate to other webmasters in order to get a leg up on marketing for the site.
The site is about skateboarding and in an attempt to satiate the average skaters desire to understand what all the different skate tricks involve I want to make a tool that will basically act like a mini search engine, for skate tricks only. The aim is to allow any other webmaster to install this tool by copy/pasting a small chunk of code into their site.
However I'm not sure of the direction, coding wise, that I need to be looking.
What I know: the data is stored in an SQL database on my server; clearly the code I supply is going to need to be javascript; I typically code in PHP; it needs to be secure as hell so my data can't be tampered with.
What I have no idea about: how you string together a javascript on a 3rd party site with a database query at my end, and then send the information back to the 3rd party site and display it.
Can anyone recommend some resources on doing this type of thing, or any ideas? I'm basically at the stage where I don't even know what I should be typing in to Google :)
EDIT: Note, I'd rather not use an iFrame solution for this if at all possible.
The site is about skateboarding and in an attempt to satiate the average skaters desire to understand what all the different skate tricks involve I want to make a tool that will basically act like a mini search engine, for skate tricks only. The aim is to allow any other webmaster to install this tool by copy/pasting a small chunk of code into their site.
However I'm not sure of the direction, coding wise, that I need to be looking.
What I know: the data is stored in an SQL database on my server; clearly the code I supply is going to need to be javascript; I typically code in PHP; it needs to be secure as hell so my data can't be tampered with.
What I have no idea about: how you string together a javascript on a 3rd party site with a database query at my end, and then send the information back to the 3rd party site and display it.
Can anyone recommend some resources on doing this type of thing, or any ideas? I'm basically at the stage where I don't even know what I should be typing in to Google :)
EDIT: Note, I'd rather not use an iFrame solution for this if at all possible.