New framework for AJAX services
authorPianohacker <pianohacker@gmail.com>
Sun, 5 Apr 2009 22:40:13 +0000 (17:40 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 14 May 2009 12:29:18 +0000 (07:29 -0500)
commitb04f432857617c6a7b3333863e34420103321ea1
tree76fb30e6d7bbf1abe9740e0aa8103017de2bc7e7
parent715aee6b95a33cf153224c1311d5359b6c2d4068
New framework for AJAX services

This adds two new C4 modules, C4::Service and ::Output::JSONStream, and
makes important modifications to C4::Output. The first two are a basic
framework for JSON-based AJAX services and a simple JSON output wrapper,
respectively. C4::Output has been slightly refactored, with a new
function, output_with_http_headers, that supports different
content-types. output_html_with_http_headers still exists, and the three
pages affected by this change have been refactored to support it.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Output.pm
C4/Output/JSONStream.pm [new file with mode: 0644]
C4/Service.pm [new file with mode: 0644]
opac/opac-search.pl
opac/opac-tags.pl
tags/review.pl