Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using JavaScript to access Remote Application

Status
Not open for further replies.

DaveyRichards

Programmer
Nov 8, 2006
14
GB
Hey all!

I have developed an application on my website that I would like other users to have access to and be able to manage and manipulate for use on their own websites through a control panel on my website.

I have been told that this is possible using JavaScript, by generating code specifically for a user to add to their own website. Could anybody please push me in the right direction as to how I could achieve this?

Thanks
 
Since no one else has responded to this and this is a busy forum, I think I speak for us all when I say ... "huh?"!

Can you point us to your site and this application of your's? What does it do and what do you need to customise in order for others to use it? (not too long otherwise no one will read!) What language is your app in?

Cheers

Nick
 
It is basically a voting application whereby users to my site will submit a response to a question. It is only a small application, before voting the user is presented with the question and a list of responses and after voting the current results are displayed instead.

What I basically want to do is allow users to make up their own questions/responses within my application (which is manageable from a special control panel on my website) and be able to use it on their own websites, albeit the data will still be stored in my database.

My application is written in PHP.

Hope that explains things
 
Yeah, your question is too vague to answer as is. If you would post a little more information, like nickdel said above, I'm sure we can answer your question.



[monkey][snake] <.
 
Javascript isn't the way to go then because it does not have any interface to a database because it's purely client-side script.

Also in order to provide this to other people for use on their site you would be devulging your database details which is a major security risk.

I'm an .net programmer and for such a task I would use a web service, maybe PHP has something similar? This basically would allow a user to reference a class of your's which is hosted on your server and therefore no critical information is released.

Sorry, could be of more help!

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top