Re: Package(s) proposal(s): HTML_Image and HTML_Link.
| From: | Leandro Lucarella | Date: | Sun, 03 Aug 2003 22:38:19 +0000 |
| Subject: | Re: Package(s) proposal(s): HTML_Image and HTML_Link. | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19215@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bertrand Mansion, el lunes 4 de agosto a las 00:25 me escribiste:
> <luca@lucarella.com.ar> wrote :
> > Stephan Schmidt, el domingo 3 de agosto a las 20:40 me escribiste:
> >>> Well. An Anchor is not a link, I think anchor should be a
> >>> different class or I'll change the name of the class to
> >>> HTML_Anchor, but I don't like that since an anchor and a link
> >>> are two different things (it has no sense on adding GET
> >>> variables to an anchor, AFAIK).
> >> Having two classes for this is overkill.
> >
> > Ok, let's put all in HTML_Common then. They are two different things (I
> > don't know why it uses the same (X)HTML tag).
> >
> > And I don't understand why it's overkill to have 2 small classes...
>
> Good idea, I am also going to add <br>, <hr> and <blink>...
>
> Seriously, HTML_Common purpose is not to add html tags to html documents,
> but to handle html attributes and html outputs. It's used by other classes
> and needs to be as fast as possible for these tasks. Please look at the
> code.
>
> If you really want to add img and link, they'll have to be extra packages.
> But I doubt the usefulness of such packages on a wider scale.
Ok, forget about the packages/classes/whatever. I just did it because I
use them. I thought they might be usefull for other people too, so I
proposed them here. It's taking me more time this discussion than it
take to code them. I'm not in a crussade to put them in PEAR.
The classes are there, if you like it, use it.
- --
LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation
- ------------------------------------------------------------------------
E-Mail / JID: luca@lugmen.org.ar
GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2
GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2
- ------------------------------------------------------------------------
Sapos cantando, buen tiempo barruntando.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/LY7aSwIP4LCLT7IRArSHAJ496gEJj3ROgbg41WZIk2PmY5YHQQCfatMI
nIqk4WYnE/NLBjmlcd+iRCg=
=6vjE
-----END PGP SIGNATURE-----