[Kimchi-devel] RFC: If we want to import third-part widgets to enhance kimchi UI
Yu Xin Huo
huoyuxin at linux.vnet.ibm.com
Thu Dec 26 11:14:21 UTC 2013
Mei Na, your question is quite valuable.
Reuse is key to success. I strongly disagree to create everything from
scratch.
1. Check jquery-ui to see any widget there available to use.
2. Check 3rd party plugin to see anything there we can leverage if
jquery-ui does not contain it.
It is quite beneficial to follow jquery style to write UI code which is
to get any bit of our code to be a jquery plugin/widget.
1. This is inherent modularized which is easy to maintain.
2. The reuse will be maximized.
3. For new developer that knows jquery, easy for them to start up.
4. For any party that is interested in further extending kimchi
source, they will appreciate our jquery style of coding.
For 3rd party jquery plugin/widget, first, its feature, quality,
maintenance, license need to be evaluated.
As they are not created by google jquery team, we need to make sure
their backend supporting team is reliable for long-term commitment.
They have good maintenance, bug, enhancement request, upgrade are all
handled properly, or else, we will have big risk.
For any 3rd party plugin/widget, it will be a dependency of kimchi at
source code level as we need to ship their source.
My thinking below:
1. For small widgets like select/tooltip, we can not introduce them on a
plugin/widget basis, that will introduce too many dependencies to manage.
We should introduce a library of widgets which will cover a
relatively broad scope, like jquery-ui.
2. For functional widgets like chart/datagrid, each widget itself is big
and quite independent, easy to manage, we can select a 3rd party widget.
On 12/26/2013 11:33 AM, zhoumeina wrote:
> As we know that as the development of kimchi UI, more and more new
> feature merged. And we need more UI widgets to support our feature.
> Just like charts, tooltips, filter select
>
>
> and so on. and also will be more complex.
>
> And our way to solve this problem is trying to make a widget by css,
> do we want to continue this way?
> or trying to find some common jquery third-part widget?
>
> Appreciate anycomments.
>
> <http://fanyi.baidu.com/###>
>
> Appreciate anycomments
>
>
>
>
>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20131226/2e15ee85/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 9016 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20131226/2e15ee85/attachment.jpe>
More information about the Kimchi-devel
mailing list