[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#468831: ITP: libdata-javascript-perl -- Dump perl data structures into JavaScript code



Jaldhar H. Vyas dijo [Sat, Mar 01, 2008 at 12:56:56PM -0600]:
> Package: wnpp
> Severity: wishlist
> Owner: "Jaldhar H. Vyas" <jaldhar@debian.org>
> 
> * Package name    : libdata-javascript-perl
>   Version         : 1.11
>   Upstream Author : Jerrad Pierce <jpierce@cpan.org>
> * URL             : http://search.cpan.org/dist/Data-JavaScript/
> * License         : GPL + Artistic  (Note: copyright info is actually 
>                     missing.  Will get clarification from author 
>                     before uploading.)
>   Programming Lang: Perl
>   Description     : Dump perl data structures into JavaScript code
> 
> This module is mainly inteded for CGI programming, when a perl script
> generates a page with client side JavaScript code that needs access to
> structures created on the server.
> 
> It works by creating one line of JavaScript code per datum. Therefore,
> structures cannot be created anonymously and need to be assigned to
> variables. However, this format enables dumping large structures.
> 
> I am packaging this as a dependency of a future version of 
> libcgi-application-plugins-perl)

How does this compare with the various JSON-related modules in Perl? 

libconfig-json-perl - A parser for JSON-based configuration files
libjson-any-perl - wrapper class for the various JSON classes
libjson-perl - Perl module to parse and convert to JSON (JavaScript Object Notation).
libjson-xs-perl - Perl module for JSON serialising/deserialising

Of course, if this is a prerequisite for
libcgi-application-plugins-perl, I don't have much to say :)

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF



Reply to: