koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Thoughts about Javascript in Koha 2.0


From: paul POULAIN
Subject: Re: [Koha-devel] Thoughts about Javascript in Koha 2.0
Date: Mon Dec 2 09:41:57 2002
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.1) Gecko/20020826

Ambrose Li a écrit:
Hi,

On Mon, Dec 02, 2002 at 03:54:16PM -0000, address@hidden wrote:
  
Note : yes, checks are performed only on client side.
I agree this is not very secure, but it's a rarely modified
value and koha 2.0
will need :
* IE5+ or Mozilla/Netscape 6+
* _javascript_ enabled.
    

Hmm, I don't know the rationale behind the change -- I suppose
it is for ease of programming --, but I will be one who will be
"voting against it" (if my vote counts).

It is better (from an accessibility point of view) to remove
the dependency on _javascript_ instead of to strengthen it. By
removing I don't mean all checks must be done on server side;
my ideal web app would use _javascript_ checks if _javascript_
is there, but fall back on a server-side check if there's no
_javascript_. We can code the checks in something other than perl
& _javascript_, and generate both the real _javascript_ and Perl
code at "install time".

IMHO, an open-source web app should take care to cater to
text-browser users (e.g., they might be blind).

I suppose it is fine to make the librarian module work only with
IE5+/Mozilla (though I still would not like to see that happen);
but I think the OPAC must not depend on _javascript_.
Of course, I was speaking of the librarian interface only, not of the opac.
The _javascript_ && ie5+/netscape6 is needed for improved ergonomy, to avoid server calls when possible.
You can see in marc acquisition.simple system why we need them :
* client side verif of mandatory values
* 10 tabs, hidden and shown through _javascript_ too. I Could not do this under nn4, even with _javascript_.

I agree about the necessity to re-check on server side the values sended in a form, but to be honest, without _javascript_, marc biblioadd won't work at all :-\, so I presumed it's on. I agree it's not a good thing/
-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIBGB libre http://fr.koha.org)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]