Name : perl-Data-URIEncode
| |
Version : 0.11
| Vendor : obs://build_opensuse_org/home:aginies
|
Release : 1.1
| Date : 2015-04-13 17:25:13
|
Group : Development/Libraries/Perl
| Source RPM : perl-Data-URIEncode-0.11-1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Allow complex data structures to be encoded using flat URIs.
|
Description :
The world of the web works off of URI\'s. The Query string portion of URIs already support encoding of key/value paired data - they just don\'t natively allow for for complex data structures.
There are modules or encodings that do support arbitrarily complex data structures. JSON, YAML and Data::Dumper all have their own way of encoding complex structures. But then to pass them across the web, you usually still have to URL encode them and pass them via a form parameter.
Data::URIEncode allows for encoding and decoding complex (multi level datastructures) using native Query String manipulators (such as CGI.pm). It takes complex data and turns it into a flat hashref which can then be turned into a URI query string using URL encoding. It also takes a flat hashref of data passed in and translates it back to a complex structure.
One benefit of using Data::URIEncode is that a standard submission from a standard html form can automatically be translated into complex data even though it arrived in a \"flat\" form. This somewhat mimics the abilities of XForms without introducing the complexity of XForms.
Another benefit is that sparse data can be represented in a more compact form than JSON or YAML are able to provide. However, complex data with long key names will be more verbose as the full data hierarchy must be repeated for each value.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/aginies/SLE_12/noarch |