Re: [PHP4BETA] cvs: /php4 TODO
| From: | Andrei Zmievski | Date: | Mon, 03 Jan 2000 15:42:06 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 TODO | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8841@lists.php.net to get a copy of this message | ||
On Sun, 02 Jan 2000, Thies C . Arntzen wrote:
> just checked the perl wddx (0.171) thing:
>
> - they claim their packets are <wddxPacket version='1.0'>
> - bools would be <boolean value='false'/> / <boolean
> value='true'/>
> - IS_UNSET would be <null/> *not* empty!!
I couldn't find version 1.0 DTD. wddx.org only has 0.9, but I'll
implement booleans now.
> BTW: i'd like a as_javascript thingie as well:
> from the WDDX.pm:
>
> Example:
>
> $options[0] = $wddx->string( "First Choice" );
> $options[1] = $wddx->string( "Second Choice" );
> $options[2] = $wddx->string( "Third Choice" );
> $w_array = $wddx->array( \@options );
> print $w_array->as_javascript( "myArray" );
>
> This prints the text (new lines added for readability):
>
> myArray=new Array();
> myArray[0]="First Choice";
> myArray[1]="Second Choice";
> myArray[2]="Third Choice";
>
> nice, eh?
And this is purely to help with JavaScript creation?
-Andrei
"In My Egotistical Opinion, most people's C programs should be indented
six feet downward and covered with dirt." -- Blair P. Houghton