Am 25.10.2006 um 13:02 schrieb Sergey:
> What follows is not a criticism in any way, so please don't think it
> is. Trac's architecture is solid, modular, maintainable, terse in  
> code,
> and scalable, so whatever you guys have in mind you have to continue
> doing it. But several JavaScript-related developments introduce mild
> discomfort in my personal feeling about Trac. First JQuery was used to
> generate header links, now macros are required to use client-side  
> JS to
> add stylesheets. Nothing wrong with that, but I'm used to a more
> conservative attitude towards JavaScript, such as that of Bugzilla
> project team for example. Their motto used to be (and I think still  
> is)
> that Bugzilla must be functional without JS. Not "fully" functional of
> course, but good enough to get work done.

We're following the exact same policy here. Generating heading links,  
highlighting search terms and adding stylesheets that macros need  
(which is pretty rare, and just serves to make them look prettier)  
does not break the functionality of the app IMO. It's mostly  
decorative or usability-enhancing stuff.

Also note that search term highlighting and heading links generation  
was implemented with JS ever since those features were added to Trac.  
And the ticket query screen makes extensive use of JS to improve  
usability, too, but falls back to doing everything server-side when  
JS isn't available. While the interface is basically usable in that  
mode, realistically it's rather a pain to use ... the focus of its  
design has been JS-enabled users.

> I believe that it's a good
> idea to achieve maximum functionality on the server side, as that's  
> the
> side Trac controls. JS may be off, buggy, slow, or not available in a
> browser.

Sure, but that's extremely (and increasingly) rare, especially for  
the kind of people who typically use Trac. If someone's using a text  
browser or a screen reader, I personally want Trac to work well for  
them. If someone's using a really outdated browser, or have  
intentionally disabled JS in a modern browser, well I'm sorry, but  
they deserve no better than getting a slightly degraded look&feel. :-)

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to