From 4186a585f99833818b1fe398e772784bc013a4d6 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 2 Sep 2004 11:55:22 +0000 Subject: New port: devel/pear-HTML_QuickForm_Controller The package is essentially an implementation of a PageController pattern. Architecture: * Controller class that examines HTTP requests and manages form values persistence across requests. * Page class (subclass of QuickForm) representing a single page of the form. * Business logic is contained in subclasses of Action class. Cool features: * Includes several default Actions that allow easy building of multipage forms. * Includes usage examples for common usage cases (single-page form, wizard tabbed form). PR: ports/71281 Submitted by: Dmitry Karasik --- devel/pear-HTML_QuickForm_Controller/Makefile | 26 ++++++++++++++++++++++++++ devel/pear-HTML_QuickForm_Controller/distinfo | 2 ++ devel/pear-HTML_QuickForm_Controller/pkg-descr | 12 ++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 devel/pear-HTML_QuickForm_Controller/Makefile create mode 100644 devel/pear-HTML_QuickForm_Controller/distinfo create mode 100644 devel/pear-HTML_QuickForm_Controller/pkg-descr (limited to 'devel/pear-HTML_QuickForm_Controller') diff --git a/devel/pear-HTML_QuickForm_Controller/Makefile b/devel/pear-HTML_QuickForm_Controller/Makefile new file mode 100644 index 000000000000..6dfc9e30658e --- /dev/null +++ b/devel/pear-HTML_QuickForm_Controller/Makefile @@ -0,0 +1,26 @@ +# Ports collection makefile for: pear-HTML_QuickForm_Controller +# Date created: 2 September 2004 +# Whom: Dmitry Karasik () +# +# $FreeBSD$ +# + +PORTNAME= HTML_QuickForm_Controller +PORTVERSION= 1.0.2 +CATEGORIES= devel www pear + +MAINTAINER= dk@catpipe.net +COMMENT= The add-on to HTML_QuickForm that allows building of multipage forms + +BUILD_DEPENDS= ${PEARDIR}/HTML/QuickForm.php:${PORTSDIR}/devel/pear-HTML_QuickForm +RUN_DEPENDS= ${BUILD_DEPENDS} + +CATEGORY= HTML/QuickForm +FILES= Controller.php \ + Action.php Page.php \ + Action/Back.php Action/Direct.php Action/Display.php \ + Action/Jump.php Action/Next.php Action/Submit.php + +.include +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include diff --git a/devel/pear-HTML_QuickForm_Controller/distinfo b/devel/pear-HTML_QuickForm_Controller/distinfo new file mode 100644 index 000000000000..00de089ba317 --- /dev/null +++ b/devel/pear-HTML_QuickForm_Controller/distinfo @@ -0,0 +1,2 @@ +MD5 (PEAR/HTML_QuickForm_Controller-1.0.2.tgz) = 80eb2c4cfc70565a6e6a8f240d767e36 +SIZE (PEAR/HTML_QuickForm_Controller-1.0.2.tgz) = 14363 diff --git a/devel/pear-HTML_QuickForm_Controller/pkg-descr b/devel/pear-HTML_QuickForm_Controller/pkg-descr new file mode 100644 index 000000000000..ea9511cbb6f8 --- /dev/null +++ b/devel/pear-HTML_QuickForm_Controller/pkg-descr @@ -0,0 +1,12 @@ +The package is essentially an implementation of a PageController pattern. + +Architecture: +* Controller class that examines HTTP requests and manages form values + persistence across requests. +* Page class (subclass of QuickForm) representing a single page of the form. +* Business logic is contained in subclasses of Action class. + +Cool features: +* Includes several default Actions that allow easy building of multipage forms. +* Includes usage examples for common usage cases (single-page form, wizard, + tabbed form). -- cgit v1.2.3