HTTP server class that allows you to easily implement HTTP servers by supplying

callbacks. The base class will parse the request, call the appropriate callback
and build a repsonse based on an array that the callbacks have to return.

WWW: http://pear.php.net/package/HTTP_Server/

PR:		ports/105737
Submitted by:	Simun Mikecin <numisemis at yahoo.com>
This commit is contained in:
Martin Wilke 2006-11-23 12:28:11 +00:00
parent e93255bf4b
commit def3c63d74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177891
4 changed files with 85 additions and 0 deletions

View File

@ -849,6 +849,7 @@
SUBDIR += p5-webservice-validator-css-w3c
SUBDIR += p5-webservice-validator-html-w3c
SUBDIR += peacock
SUBDIR += pear-HTML_AJAX
SUBDIR += pear-HTTP
SUBDIR += pear-HTTP_Client
SUBDIR += pear-HTTP_Download

View File

@ -0,0 +1,76 @@
# Ports collection makefile for: pear-HTML_AJAX
# Date created: 20 October 2006
# Whom: Simun Mikecin <numisemis at yahoo.com>
#
# $FreeBSD$
#
PORTNAME= HTML_AJAX
PORTVERSION= 0.5.0
CATEGORIES= www devel pear
MAINTAINER= numisemis@yahoo.com
COMMENT= PHP and JavaScript AJAX library
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= HTML
FILES= AJAX.php AJAX/Action.php AJAX/Debug.php AJAX/Helper.php \
AJAX/JSON.php AJAX/Response.php AJAX/Server.php \
AJAX/Serializer/JSON.php AJAX/Serializer/Null.php \
AJAX/Serializer/PHP.php AJAX/Serializer/Urlencoded.php \
AJAX/Serializer/Error.php
EXAMPLES= guestbook/auto_server.php \
guestbook/guestbook.class.php \
guestbook/index.php \
login/php/auto_server.php \
login/php/class.login.php \
login/index.php \
login/login.css \
review/auto_server.php \
review/index.php \
review/review.class.php \
support/customLib.js \
support/livesearch.class.php \
support/post_tester.php \
support/test.class.php \
support/test2.class.php \
support/testHaa.class.php \
support/xml.class.php \
tests/behaviorSpeed.php \
tests/duplicateJSLib.php \
tests/js_utils_getElements.php \
tests/js_utils_vardump.php \
tests/serialize.php.examples.php \
tests/serialize.url.examples.php \
tests/setInnerHTML.js \
tests/setInnerHTML.php \
tests/test_behavior.html \
tests/test_priority.php \
tests/test_speed.php \
action_usage.php \
auto_server.php \
error_usage.php \
form.php \
grab.php \
haa_usage.php \
helper_usage.php \
index.php \
php_callback.php \
proxyless_usage.php \
proxy_usage_inline_javascript.php \
proxy_usage_server.php \
queue_usage.php \
README \
server.php \
shoutbox.php \
slow_livesearch.php \
slow_server.php \
xmlserver.php \
xml_usage.php
_EXAMPLESDIR= examples
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (PEAR/HTML_AJAX-0.5.0.tgz) = fc41fcb19a0ee67af07ee99654310627
SHA256 (PEAR/HTML_AJAX-0.5.0.tgz) = b6efede688b112ad66d8e69ec75567b4fe2c492bc918d922b1fc267c309da68b
SIZE (PEAR/HTML_AJAX-0.5.0.tgz) = 133921

View File

@ -0,0 +1,5 @@
HTTP server class that allows you to easily implement HTTP servers by supplying
callbacks. The base class will parse the request, call the appropriate callback
and build a repsonse based on an array that the callbacks have to return.
WWW: http://pear.php.net/package/HTTP_Server/