Interesting answer, TY Laurent.

Le 12/03/2012 11:25, Destailleur Laurent a écrit :
> The interest is not to provide an interface for non javascript users.
> The interest is to guarantee that architecture is kept good and that
there is still an isolation between part to show content and part to
process business. Javascript is a browser part and php is server part.
Without keeping the "nojavascript" we make a lot of error in writing
code that mix both part. I found and fixed a lo of code when i changed
new features by adding a "nojavascript" support.
> And it's because we have a good isolation that we can make architecture
changes at low cost.
>
> I don't think we have to double code. What we must provide with the
"nojavascript" support is not that all features works the same way, but
that software can also works without, even it it is a degraded mode. So
all we have to do is that the software works ALSO without javascript but
not works LIKE. If there is less feature and if interactivity with user
is less developed, but software don't hang, it's enough. No need to
develop twice. Only to develop clean. In most cases, it should be only a
"if (javascript)" to add.
> Also this is a good trip to make re-engineering of software. It's
easier to understand code when we see "this part is a browser needed
only part".
>
>
> ---------- Forwarded message ----------
> From: *Régis Houssin* <[email protected]
<mailto:[email protected]>>
> Date: 2012/3/12
> Subject: [Dolibarr-dev] Clickless !!!
> To: Discussions sur le developpement de Dolibarr
<[email protected] <mailto:[email protected]>>
>
>
> hi,
>
> What is the interest of keeping compatibility "without javascript"
> nowadays, except to give us more work, because you have to double, more
> and more codes?
>
>
> Cordialement,
> --
> Régis Houssin
> ---------------------------------------------------------
> Cap-Networks
> Cidex 1130
> 34, route de Gigny
> 71240 MARNAY
> FRANCE
> VoIP: +33 1 83 62 40 03 <tel:%2B33%201%2083%2062%2040%2003>
> GSM: +33 6 33 02 07 97 <tel:%2B33%206%2033%2002%2007%2097>
> Web: http://www.cap-networks.com/
> Email: [email protected]
<mailto:[email protected]>
>
> Dolibarr developer: [email protected] <mailto:[email protected]>
> Web Portal: http://www.dolibarr.fr/
> SaaS offers: http://www.dolibox.fr/
> Shop: http://www.dolistore.com/
> Development platform: https://doliforge.org/
> ---------------------------------------------------------
>
> _______________________________________________
> Dolibarr-dev mailing list
> [email protected] <mailto:[email protected]>
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à