diff options
author | edwin <edwin@FreeBSD.org> | 2004-09-02 19:55:22 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-09-02 19:55:22 +0800 |
commit | c2bb7a4dd0fa2c61079a990ea40d5fdb39e1f96a (patch) | |
tree | f6f8b3cf532ada169ef4aba4d418878800ca8d8e | |
parent | 2360c17eb98023a5114138c22a01d4071b30b3b5 (diff) | |
download | freebsd-ports-gnome-c2bb7a4dd0fa2c61079a990ea40d5fdb39e1f96a.tar.gz freebsd-ports-gnome-c2bb7a4dd0fa2c61079a990ea40d5fdb39e1f96a.tar.zst freebsd-ports-gnome-c2bb7a4dd0fa2c61079a990ea40d5fdb39e1f96a.zip |
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 <dmitry@karasik.eu.org>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/pear-HTML_QuickForm_Controller/Makefile | 26 | ||||
-rw-r--r-- | devel/pear-HTML_QuickForm_Controller/distinfo | 2 | ||||
-rw-r--r-- | devel/pear-HTML_QuickForm_Controller/pkg-descr | 12 |
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index dc74e78cc7e6..92eff0caccc4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1041,6 +1041,7 @@ SUBDIR += pear-HTML_BBCodeParser SUBDIR += pear-HTML_Common SUBDIR += pear-HTML_QuickForm + SUBDIR += pear-HTML_QuickForm_Controller SUBDIR += pear-HTML_Select SUBDIR += pear-HTML_Select_Common SUBDIR += pear-HTML_Table 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 (<dk@catpipe.net>) +# +# $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 <bsd.port.pre.mk> +.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common" +.include <bsd.port.post.mk> 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). |