Date: 02/03/00
- Next message: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Previous message: ssilk: "[PHPLIB-DEV] cvs commit"
- Next in thread: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Reply: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have some things that I don't understand in PHPLIB functioning. Could
you please explain?
1. Why of_* classes when validating forms via Javascript use numbers and
not element names? Numbers will work only if form fields are in the HTML
in the same order as get_element for them was called - which isn't always
the case (and there's no way for PHPLIB to know it it is) and is never
mentioned in the docs. Why not use element names, which are guaranteed to
be there and be known - since PHPLIB itself makes them, and allow to move
HTML code around and insert custom elements at will?
2. Why of_textarea has no validation hooks? In what respect is it worse
than of_text?
3. Why PHPLIB uses single quotes to delimit HTML attributes? I thought
double quotes are standard thing.
4. Why templates use slow array-version of preg_replace. which requires
one path on the template for *every* key? It is certainly possible to do
it in one pass, which should be definitely faster. With PHP 4, it's
possible even to have PHP to compile template once and then only execute
it, which should be yet more fast. Is somebody interested in
incorporating this in PHPLIB?
Thanks in advance,
-- Stanislav Malyshev stas <email protected> +972-3-6139665- PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in the body, not the subject, of your message.
- Next message: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Previous message: ssilk: "[PHPLIB-DEV] cvs commit"
- Next in thread: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Reply: Alexander Aulbach: "Re: [PHPLIB-DEV] Some questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

