felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1959) Move towards unified L&F and extended branding support
Date Tue, 22 Dec 2009 10:52:29 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793585#action_12793585

Carsten Ziegeler commented on FELIX-1959:

Looks really cool!

I completly agree that having a common look at and feel across all plugins is desirable.
The current implementation of some plugins when it comes to rendering is too complex. We generate
partial html, have javascript that adds missing html etc. Very confusing and error prone.
One idee I discussed briefly with Felix M., was to go one step back and make the plugins deliver
all html - without styling, without javascript etc. and then add the dynamic stuff via jquery.

I haven't done anything with jQuery UI (but will do in the next days). If it helps in making
the development of plugins easier and more consistent, I'm all for it!

Could you show some sample code of how this would look like from the development perspective?

> Move towards unified L&F and extended branding support
> ------------------------------------------------------
>                 Key: FELIX-1959
>                 URL: https://issues.apache.org/jira/browse/FELIX-1959
>             Project: Felix
>          Issue Type: New Feature
>          Components: Web Console
>            Reporter: Valentin Valchev
>            Priority: Minor
>         Attachments: jqueryui-vs-default-lnf.png
> Currently the Web Console uses heavily on the JQuery framework. Using a unified JavaScript
framework simplifies development of all plugins and unifies the used approach.
> However, when talking about visual styling, there are number of differences because each
plugin developer uses own styles.
> My suggestion is to adopt the JQuery UI . The benefits of using it as unified widget/css
framework are:
> - no time to spend on writing widgets already in the library
> - clean CSS visual styling
> - easy way to change the L&F by changing the theme (extended branding support!)
> - improved cross-browser support (JQuery UI takes care of CSS differences)
> Using the JQuery UI framework the developer shouldn't care about color but only for layout
- components position; and for data being displayed.
> To illustrate the benefits I've saved the "Log Service" page, modified it to use JQuery
UI, took screen-shot, modified the theme CSS only, and again took screen-shot, and finally
added the original L&F for reference, so you can easily compare the result.
> The attached image contains the combined screen-shots.
> "

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message