[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers] submission of asserts class for php - savannah.no
From: |
Rudy Gevaert |
Subject: |
Re: [Savannah-hackers] submission of asserts class for php - savannah.nongnu.org |
Date: |
Tue, 4 Nov 2003 07:32:24 -0500 |
User-agent: |
Mutt/1.3.28i |
On Mon, Nov 03, 2003 at 03:55:04AM -0500, address@hidden wrote:
>
> A package was submitted to savannah.nongnu.org
> This mail was sent to address@hidden, address@hidden
>
>
> Edgar Luna <address@hidden> described the package as follows:
> License: lgpl
Before releasing your project under the LGPL, please place
copyright notices and permission to copy statements at the beginning
of every file of source code. In addition, please copy a copy of the
plain text version of the LGPL, available from
http://www.gnu.org/licenses/gpl.txt into a file named "COPYING".
For further instructions, go to
http://www.gnu.org/licenses/lgpl.html#SEC4
Please register your project once more with the changes
mentioned above.
We cannot track projects that have been answered but not approved, so
we must ask you to register the project whenever you change the
registration. Make sure to apply all changes so you need to reregister
only once.
The re-registration URL found in our acknowledgement of your earlier
registration will direct you to the proper location.
Regards,
Rudy
> Other License:
> Package: asserts class for php
> System name: phpasserts
> Type: non-GNU
>
> Description:
> This is a message and debugging class for php. Inspired on the Warnings and
> assertions part of Glib library for C
> http://developer.gnome.org/doc/API/2.0/glib/glib-Warnings-and-Assertions.html
>
> Is usefull for making more robust code, being verbose and halting when is
> necessary when assertions fails.
>
> making:
>
> asserts::isarray($arg)
>
> Is the same than write:
>
>
>
> if(is_array($arg))
>
> {
>
> print("error here $arg __LINE__, __FILE__, __FUNCTION__, __CLASS__");
>
> exit(1);
>
> }
>
>
>
> but very much cleaner and without rewriting this every time we need to check
> a variable or flow status because code is centralized.
>
> Won't be a big project and complex algorithm never, is just simple.
>
> the url when you could find it is:
>
> http://linuxuanl.org/~eald/accerts.phps
>
> (phps to see the source code)
>
> and a test in:
>
> http://linuxuanl.org/~eald/test-accert.php
>
> and (http://linuxuanl.org/~eald/test-accert.phps to see the code of this)
>
> Other Software Required:
> PHP > 4.1
>
>
>
> Other Comments:
>
>
>
> _______________________________________________
> Message sent via/by Savannah
> http://savannah.gnu.org/
>
>
>
> _______________________________________________
> Savannah-hackers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/savannah-hackers
--
Rudy Gevaert address@hidden
Web page http://www.webworm.org
GNU/Linux for schools http://www.nongnu.org/glms
Savannah hacker http://savannah.gnu.org