Products for USB Sensing and Control
It is currently Sun May 19, 2013 5:50 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Javascript?
PostPosted: Sat May 14, 2011 11:14 pm 
Offline
Fresh meat

Joined: Sat May 14, 2011 11:06 pm
Posts: 1
Hello, i have recently bought the PhidgetInterfaceKit 8/8/8 and a FlexiForce Adapter in addition to the Force Sensor.
I am planning to build a webpage with a web service whereby i can extract the weight information through the sensor and the circuits. however, i'm only familiar with Javascript at the moment but you didn't include any javascript examples in your manual.

Do i really have to pay more couple of hundreds on Flash CS3/5 and study this kind of programming to work my project now? :shock:

Can you please include some Javascript examples? thanks you


Top
 Profile Send private message  
 
 Post subject: Re: Javascript?
PostPosted: Mon May 16, 2011 10:23 am 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2345
Location: Canada
There's no way to access a Phidget from javascript - javascript run sin a sandbox in the browser and has no way of accessing hardware - for obvious security reasons.

While Flash is definitely an option, there are other ways of building Phidgets into a webpage, and they are all free. Java, .NET, or Python would probably be your best bets.

-Patrick


Top
 Profile Send private message  
 
 Post subject: Re: Javascript?
PostPosted: Sun Sep 25, 2011 12:07 pm 
Offline
Fresh meat

Joined: Sun Sep 25, 2011 12:05 pm
Posts: 1
why can't JavaScript access the web service?


Top
 Profile Send private message  
 
 Post subject: Re: Javascript?
PostPosted: Mon Sep 26, 2011 12:44 pm 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2345
Location: Canada
It may be possible, but you would have to implement the client protocol in JavaScript first.

-Patrick


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group