Message from discussion
New PHP 5 component library
Received: by 10.68.74.201 with SMTP id w9mr438149pbv.0.1334271800074;
Thu, 12 Apr 2012 16:03:20 -0700 (PDT)
X-BeenThere: nzphpug@googlegroups.com
Received: by 10.68.125.132 with SMTP id mq4ls8935631pbb.8.gmail; Thu, 12 Apr
2012 16:03:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.201.164 with SMTP id kb4mr99651pbc.12.1334271798831; Thu,
12 Apr 2012 16:03:18 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
chtomble...@gmail.com designates internal as permitted sender)
smtp.mail=chtomble...@gmail.com; dkim=pass
header...@gmail.com
Received: by t7g2000pbp.googlegroups.com with HTTP; Thu, 12 Apr 2012 16:03:18
-0700 (PDT)
Date: Thu, 12 Apr 2012 16:03:18 -0700 (PDT)
In-Reply-To: <CAJezvQUnXiM-FD1-HAb=uD==kh5ejP3xJnJpMoTFUNfuesraBQ@mail.gmail.com>
References: <d13bde5e-7eb1-49a4-b85c-3db6e848ba5f@w6g2000pbp.googlegroups.com> <CAJezvQUnXiM-FD1-HAb=uD==kh5ejP3xJnJpMoTFUNfuesraBQ@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0)
Gecko/20100101 Firefox/11.0,gzip(gfe)
Message-ID: <77cc6c3e-4a38-4fb2-8030-dedd21d3020b@t7g2000pbp.googlegroups.com>
Subject: Re: New PHP 5 component library
From: chtombleson <chtomble...@gmail.com>
To: NZ PHP Users Group <nzphpug@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thanks for your opinion David.
I know there is still a lot of work to be done on it.
One of the things I want is that it's easy to use and understand.
Why should I make things harder for people to get there heads around?
Your notes about the form class, I can't disagree with them. I know
there is a lot more I can do
to bring it up to standard and I will being so.
Cheers
Christopher Tombleson
On Apr 13, 10:30=A0am, David Neilsen <da...@panmedia.co.nz> wrote:
> Hi,
>
> I have a brief look at the examples, and some source, and (not trying to
> offend) it didn't look like something I would want to use.
> A few points that stick out for me where:
>
> =A0 =A0- The HTML filter class is just a wrapper for preg_* functions.
> =A0 =A0- The form class, two things stuck out, the addElement class takes=
9
> =A0 =A0parameters, and is just a big switch statement.
> =A0 =A0- And the sanitize uses custom regex, which Im not even sure would=
pass
> =A0 =A0the standard smoke test
> =A0 =A0http://htmlpurifier.org/live/smoketests/xssAttacks.php
> =A0 =A0- No PSR0 autoloading.
> =A0 =A0- And in general it looks like that components are overly simple, =
and
> =A0 =A0would only fit a very small use case.
>
> David Neilsen | 07 834 3366 | PANmedia =AE
>
>
>
>
>
>
>
> On Fri, Apr 13, 2012 at 9:59 AM, chtombleson <chtomble...@gmail.com> wrot=
e:
> > Hi all,
>
> > I have recently released the first stable stable version of my PHP 5
> > component library Cribz Lib.
>
> > Website:http://cribzlib.cribznetwork.com/
> > Github:https://github.com/chtombleson/cribzlib/
> > Wiki:https://github.com/chtombleson/cribzlib/wiki/
>
> > Any thoughts, suggestions or if I missed a component just let me know.
>
> > Cheers
> > Christopher Tombleson
>
> > --
> > NZ PHP Users Group:http://groups.google.com/group/nzphpug
> > To post, send email to nzphpug@googlegroups.com
> > To unsubscribe, send email to