[X3D-Public] ECMAScript / JavaScript Book

Johannes Behr johannes.behr at igd.fraunhofer.de
Wed Feb 17 10:28:33 PST 2010


My $0.02:

The only thing that would really help are automated union-tests for the Javascript/SAI interface.
The tests should be developed and available through a web3d svn/git

The results could and should published online.

regards
johannes


On 16 Feb 2010, at 04:37, Dave A wrote:

> This page (thanks Damon) is a good start. But too general:
> 
> http://www.web3d.org/x3d/wiki/index.php/Player_support_for_X3D_components
> 
> Ex: the 'switch' statement appears unsupported in Contact's ecmascript. The string
> support there is also quite minimal. Such things are supported by other browsers.
> So if you want to write something that runs in more than one browser, you have
> to take a lowest-common-denominator approach and/or special case for each browser,
> and do they all identify themselves to the script? We need to determine what
> the common denominator is, and a have browsers identify themselves (if they don't
> already).
> 
> Dave A.
> 
> Tom Sparks wrote:
>> --- On Tue, 16/2/10, Dave A <dave at realmofconcepts.com>
>>  wrote:
>>   
>> 
>>> Received: Tuesday, 16 February, 2010, 6:49 AM
>>>     
>>> 
>> 
>>   
>> 
>>> What would really be helpful is a
>>> page, perhaps a Wiki? where different 
>>> x3d implementors
>>> can post (perhaps in a tabular form) which parts of that
>>> spec they 
>>> support, and what
>>> extensions if any they have provided. Scripts in Vivaty
>>> won't run in 
>>> Contact and vice versa,
>>> for example, due to such differences.
>>> 
>>>     
>>> 
>> 
>> I second that
>> 
>>   
>> 
>>> Dave Arendash
>>> 
>>> Don Brutzman wrote:
>>>     
>>> 
>>>> Tom Sparks wrote:
>>>>       
>>>> 
>>>>> Are there any Emcascript / Javascript books that
>>>>>         
>>>>> 
>>> you can recommend?
>>>     
>>> 
>>>> not a book, but the Ecmascript spec is freely
>>>>       
>>>> 
>>> available (and bundled
>>>     
>>> 
>>>> in X3D-Edit, along with editing support).  this
>>>>       
>>>> 
>>> document is handy for
>>>     
>>> 
>>>> looking up function calls and such, plus it is
>>>>       
>>>> 
>>> authoritative (rather
>>>     
>>> 
>>>> than the many nonstandard variants that have evolved
>>>>       
>>>> 
>>> in html browsers).
>>>     
>>> 
>>>> online at
>>>> 
>>>> 
>>>> http://www.web3d.org/specifications/Ecma-262.pdf
>>>> 
>>>>       
>>>> 
>> 
>> I have paged/scrolled through that, but it too dry of a read
>> Where is the source code examples?
>> 
>> while with X3D there is a book that show you the basics
>> and how to read X3D's specs
>> 
>> tom sparks  
>>   
>> 
>>>> all the best, Don
>>>>       
>>>> 
>> 
>> 
>>       
>> 
>>   
>> 
> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

--
Dr. Johannes Behr
Leiter Projektbereich VR

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstr. 5  |  64283 Darmstadt  |  Germany
Tel +49 6151 155-510  |  Fax +49 6151 155-196
johannes.behr at igd.fraunhofer.de  |  www.igd.fraunhofer.de




More information about the X3D-Public mailing list