Javascript?

Legacy support with Phidget21
jandal

Javascript?

Postby jandal » Sat May 14, 2011 11:14 pm

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

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Javascript?

Postby Patrick » Mon May 16, 2011 10:23 am

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

mrbmc

Re: Javascript?

Postby mrbmc » Sun Sep 25, 2011 12:07 pm

why can't JavaScript access the web service?

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Javascript?

Postby Patrick » Mon Sep 26, 2011 12:44 pm

It may be possible, but you would have to implement the client protocol in JavaScript first.

-Patrick


Return to “ActionScript 3.0 - Flash CS3 / Flex / AIR”

Who is online

Users browsing this forum: No registered users and 1 guest