Re: [PHP4BETA] cvs: /php4 TODO
| From: | Thies C. Arntzen | Date: | Mon, 03 Jan 2000 15:46:20 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 TODO | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8843@lists.php.net to get a copy of this message | ||
On Mon, 3 Jan 2000, Andrei Zmievski wrote:
> 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?
it's actually pretty good if you need pass some data to use in
DHTML. to_javascript should do all the needed urlencoding etc.
i'd really like to see it;-)
tc
>
> -Andrei
>
> "In My Egotistical Opinion, most people's C programs should be indented
> six feet downward and covered with dirt." -- Blair P. Houghton
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany